CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Revenue:    
Total revenue $ 89,388 $ 50,139
Cost of revenue:    
Total cost of revenue 28,172 13,749
Gross profit 61,216 36,390
Operating expenses:    
Sales and marketing 46,120 33,197
Research and development 30,868 18,645
General and administrative 14,805 11,227
Total operating expenses 91,793 63,069
Loss from operations (30,577) (26,679)
Other income (expense):    
Interest income 2,303 959
Interest expense (4,689) 0
Other expense, net (415) (368)
Loss before provision for income taxes (33,378) (26,088)
Provision (benefit) for income taxes (138) 467
Net loss $ (33,240) $ (26,555)
Net loss per share, basic and diluted (in dollars per share) $ (0.61) $ (0.53)
Weighted-average shares used to compute net loss per share, basic and diluted (in shares) 54,710,746 50,350,052
Subscription    
Revenue:    
Total revenue $ 83,994 $ 46,069
Cost of revenue:    
Total cost of revenue 22,595 10,070
Services    
Revenue:    
Total revenue 5,394 4,070
Cost of revenue:    
Total cost of revenue $ 5,577 $ 3,679