Hybrid Work Travel Expenses

I am a hybrid worker and every other month I needed to drive with my personal vehicle to a different state (about 300 miles each way). I would stay for a month in the new state and work there in the main office, then return to my home state and work at home for the next month. Would the 300-mile trip from one state to the other count as a business-related travel expense, or as a commute? Thanks!