With these 'big tech' corporate lay offs, I encourage those who're unexpectedly back in the job market to consider the power dynamics & lacking ethics of the previous employers they chose to work for and look out for (and avoid) new role in similar circumstances (that's likely to have the same ultimate outcome).
The options with more principled, ethical management (perhaps even non-profits & foundations) might not pay as well, but the peace of mind might easily be worth the difference.