Inflation soared 7% in 2021, driven by gas and used-car prices