The mad rush and overhiring didn't stop immediately after Covid. I know of cases where experienced software engineers were getting picked up by big tech with huge increments as late as end of 2023.
My impression is that the current trend for layoffs only really began around early 2025. For reference, the layoffs during the dotcom bubble I was told took around 2 years to plateau