CONSOLIDATED STATEMENTS OF OPERATIONS - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Revenues      
Subscription and support $ 117,524 $ 80,080 $ 49,029
Professional services 5,599 3,527 2,648
Total revenues 123,123 83,607 51,677
Cost of revenues      
Subscription and support 25,900 19,773 14,380
Professional services 4,311 2,956 2,218
Total cost of revenues 30,211 22,729 16,598
Gross profit 92,912 60,878 35,079
Operating expenses      
Sales and marketing 77,810 56,546 31,837
Research and development 21,125 18,216 9,705
General and administrative 27,911 20,928 11,716
Total operating expenses 126,846 95,690 53,258
Loss from operations (33,934) (34,812) (18,179)
Other expense      
Interest expense, net (5,932) (3,215) (3,047)
Change in fair value of the common stock warrant liability (5,880) (420) (3,700)
Other expense, net (11,812) (3,635) (6,747)
Loss before income taxes (45,746) (38,447) (24,926)
Benefit from income taxes (6,587) (13,713) (8,174)
Net loss $ (39,159) $ (24,734) $ (16,752)
Net loss per share, basic and diluted $ (0.92) $ (0.61) $ (0.42)
Weighted average common shares outstanding, basic and diluted 42,497 40,579 40,089