Typically, you IPO when your private funding is drying up and/or some of your early lenders want to cash out.