It’s also healthy to get backlash from the public and investors for layoffs. Personally I don’t think it’s ever right to layoff employees for leaderships mistakes. It should be used as a last resort only when the entire company is at risk of going under. Based on their post it doesn’t sound like that’s the case, they even bragged about a “positive earnings report”.