The postpandemic push to bring workers back to the office has left many nostalgic for more flexible arrangements, such as hybrid or remote work.