Sex helped build Snapchat, and then sullied its corporate image