I'm old and this is the third time around for these sorts of layoffs in tech. (Was around for dot-com bust of 2000-ish and financial meltdown post-2008.) One thing you want to keep in mind is that decent severance packages are usually only a thing for the FIRST round of layoffs. There will be more, and the payouts will be a LOT worse. Just, FYI.
Watch out for emails that talk about "tough decisions" and "respect for our people". I actually took a company email, printed it and highlighted key statements and told everyone lay offs were coming. About 6 months later they were formally announced.