Hostels have become a common fallback option for workers who can’t find long-term housing.