Maybe not Russia, but sanctions can hit them pretty hard. They might not be able to transfer money to Russian and western companies might not be comfortable using what is basically just Russian software with "Czech" sticker on it.
Russia can shut down its operations in St Petersbourg.
I would imagine after this they will shut down all Russian operations. Putin is on war footing and he's not about to allow dissent for much longer.
There are thousands of employees in JetBrains offices in Russia. Looking at Belarusian events around PandaDoc, it takes several months to relocate employees, some resign for personal reasons, others land in jail.
Now that PandaDoc relocated mostly to Kyiv... they have the problem of relocating further on.
them being a foreign company actually puts them at more risk, because they can legally be declared a foreign agent