Multi state filling

I was a Virginia resident in the year 2021 and in early 2022, I moved to Colorado for Job (Job start date - Jan 3rd 2022). I temporarily stayed and worked remotely from VA for 34 days last year during my relocation.
Do I need to add both the states in my tax return or just Colorado is fine?