US consumer confidence records highest monthly gain since March 2021