As tech layoffs loom, here's how to protect your mental health | Fortune