 The San Francisco-based company, which is unprofitable and has one-fifth as many users as Facebook, is benefiting from investors' thirst for companies that will grow quickly in expanding markets like mobile advertising