There it was, at the top of the window: .
Modern MacBook Pros (Touch Bar models and Apple Silicon models) do not print the serial number on the bottom case. If the computer won't turn on, there are only two places to look: how to check serial number macbook pro
The Terminal offers a direct, script-friendly way to extract the serial number without clicking through menus. There it was, at the top of the window: