If they maintain the current trend of lowering costs, keeping headcount growth in line with revenue, and continuing to achieve economies of scale in sales and marketing then they will show a profit in the next couple of years. They don't promise any of this in the S-1 because they need to be extremely conservative in their statements to the public.
To be honest I'm not super familiar with the comps to know how good or bad their numbers are relative to others. But just from their own reporting they look like they are on track. That's not by accident. It's very likely that constructing this trend has been a major focus for the company in the last few years.