‘Anti-Racist/Anti-Oppression lens’ used for layoffs at tech firm – but is that legal?

Many tech firms have pursued diversity, equity, and inclusion, or DEI, initiatives in their workforces. But were the Twilio layoffs legal?