A lack of inventory — combined with high demand — is making it harder for people to find a place to live.