I'm sorry to hear that the company burned all the money. Is there any chance of still being successful? How is the traction? Can you see a path forward?
I had a similar story. I was hired as the first engineer after a mobile agency had built native (iOS/Android) mobile apps.
I built a React web app to support scaling, rewrote the mobile app in React Native to ship faster, and built a ton of features.
We went from 0 revenue to 100k+ ARR, and I got 5% of the company on paper. Then, I hired a small team, and the company scaled to 10M ARR.
I left the company because I had a disagreement with the founder. Today, it is probably doing 20M in ARR, and my 5% (which I still have on paper) has never turned a dollar for me.