This happened to me but it was because I've been playing half-life and portal which have a different mouse sensitivity than my tf2. Could just be an off day. #getgoodlmao(this is a joke)
If this is your first time logging in after the migration (Feb 8, 2022), you must reset your password to log in. Follow this guide if you're having trouble