For midsized firms, hiring outside of an existing office was taboo—until the pandemic hit.