Consolidated Statements of Operations - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Revenue:      
Subscription $ 70,350 $ 41,602 $ 11,655
Professional services 4,965 4,003 1,318
Total revenue 75,315 45,605 12,973
Cost of revenue:      
Cost of subscription [1] 12,417 10,472 6,246
Cost of professional services [1] 21,351 17,300 11,058
Total cost of revenue 33,768 27,772 17,304
Gross profit (loss) 41,547 17,833 (4,331)
Operating expenses:      
Sales and marketing [1] 67,414 62,065 33,742
Research and development [1] 30,077 22,917 15,219
General and administrative [1] 24,274 19,009 9,047
Total operating expenses 121,765 103,991 58,008
Operating loss (80,218) (86,158) (62,339)
Other income, net 298 218 157
Net loss $ (79,920) $ (85,940) $ (62,182)
Net loss per share, basic and diluted $ (0.85) $ (1.16) $ (6.28)
Weighted-average shares used to compute basic and diluted net loss per share 93,753 74,381 9,895
[1] Includes stock-based compensation expense as follows: Cost of subscription $283, $180, $5. Cost of professional services $2,175, $1,220, $120 Sales and marketing $7,705 , $5,933, $919. Research and development $3,498, $2,556 , $603. General and administrative $4,169, $4,312 , $780.