MacBook Pro boots to question mark after login
After installing the latest software update (10.15.7) on my 2017 MacBook Pro, it restarted showing a flashing question mark folder icon. After restarting again it gets to the login screen, then after login goes back to the question mark.
I re-booted in recovery mode, but the SSD isn't showing up in disk utility or OSX reinstall, or in terminal.
But when I start up to Startup Manager, I see two drives: 'macOS Installer' and 'Macintosh HD'
Also something strange happens when I shut down the computer (with either the menu items or power button). When I close the lid and open it again, without touching the power button, it shows the login screen, as if it never shut down.
I'm very confused. If the drive was busted, surly it shouldn't boot up at all? But if it was OSX that's corrupted, the drive should be available in recovery mode to reinstall the OS.
Can anyone help?
Is there anything else I can try?
Thanks.
—J.
MacBook Pro 15″, macOS 10.15