Costs and benefits of flexible workspaces