Read Leo Polovets' startup de-risking guide and start de-risking your startup.
https://www.codingvc.com/how-to-de-risk-a-startup
Also, talk to a lawyer immediately and make sure you have clear ownership given your employment elsewhere in the same industry.
What worked for me: build a savings account so I could take a year off work and a significantly reduced salary for years afterwards. Accept the required lifestyle compromises.
Also, you should be super clear about who your buyer is, pricing, and if you do sales or not. None of these have a wrong answer, but they all lead to different companies.