The housing market has cooled off since the pandemic drove demand for homes to levels far beyond what inventory could meet.