High gross margins feed into costs going into future sales and future development. Zero profit because you are reinvesting. Very tax efficient too!
Also see if there are research tax breaks in your country.
It means being lean and scrappy the whole time (no fluff or big rewrite it in Rust type activity). OTOH the successful companies were not cheap with salaries but not extravagant either. But they aim to get the top 10% cream working for them.
Hate to say it but you need to be strategic and good. Maybe see if you can pay for advice too from someone who has done it in your space.
I haven’t given you an answer! But the main thing I see is a sales system that gets tuned. Sales is done like cattle not pets. And you arrange that or hire someone who can (and as always scrutinise them, learn their job so you can question them).
Good luck!