Something I think people need to understand is that “inflation surged because corporate profits increased” and “inflation surged because of excess demand” aren’t alternative theories.
The way you know the demand was excessive was that it outpaced the country’s productive capacity, meaning it manifested as higher prices and fatter margins rather than increased output.