They didn't fire most of their staff. They closed the Russian offices and offered relocation to everyone in Russia (and many took it).
I mean they were practically forced to close their Russian offices with the current political situation and war going on.
The relocation process is very expensive as well as opening new offices in Europe and rehiring there as CoL and salaries in Europe are much higher.