It's your CPU almost certainly, but you can confirm by running a game and checking your CPU metrics on a resource monitor while in casual or something. One thing to test is adding the "-threads [threads_number]" for how many cores you have and see if that helps.
Also check ProtonDB for user performance tricks.
The big reason for CS2 getting laggy from CPU being weak is from the number of threads the game runs to keep the inputs from all the players as live as possible. Increasing the power or number of threads improves the perceived lag you're seeing.

