The most common cause of this is corrupt files in the user directory or missing prerequisite files.
If your perks have appeared to reset to 0 completely, it is likely that your game client is having trouble reaching the Steam backend where your stats are saved.
Be sure to link your existing accounts!
Known issues players may encounter on Steam Deck