The rate at which workers quit their jobs has declined to pre-pandemic levels as the labor market has gradually cooled.