The company behind Snapchat, a teen-oriented social network famous for its quickly disappearing messages, has filed for what could be one of the largest tech IPOs in years.

Snap Inc. said Thursday that it’s seeking up to $3 billion in an initial public offering, a figure that could shift based on investor demand. That demand will help determine the price per share sought…