State tax filing

Hi--I'm not sure if this will send a notification but I'm dealing with a nearly identical situation for my 2021 taxes. 

I moved out of my home in Maryland at the end of February 2021, then lived in a temporary vacation place for a month, and officially moved to VA in March 2021 but my withholding was never updated. 

Another wrinkle I worked from home for the full year, and the company I work for is officially based in Virginia, though everyone works from home so there is no physical office at all. 

Does this sound like I should file a non-resident return for MD or do I need the part year return?