Six years after COVID-19 transformed the way Americans work, the pendulum is swinging back toward the office.

The pandemic forced companies to send employees home almost overnight, transforming remote work from a perk enjoyed by a handful of workers into a necessity for much of the white-collar workforce.