From overhiring to optionality: what we can learn from layoffs