Key inflation gauge rose 5.8% in 2021, most in 39 years