Condensed Consolidated Statements of Operations and Comprehensive Loss - USD ($)
shares in Thousands, $ in Thousands
3 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Income Statement And Statement Of Comprehensive Income [Abstract]    
Revenue $ 37,314 $ 25,020
Cost of revenue 5,486 3,885
Gross profit 31,828 21,135
Operating expenses:    
Research and development 10,906 7,719
Sales and marketing 21,167 13,294
General and administrative 12,484 7,116
Total operating expenses 44,557 28,129
Loss from operations (12,729) (6,994)
Interest income 889 130
Other income, net 21 389
Loss before provision for income taxes (11,819) (6,475)
Provision for income taxes (245) (104)
Net loss (12,064) (6,579)
Comprehensive loss $ (12,064) $ (6,579)
Net loss per share, basic and diluted (in dollars per share) $ (0.37) $ (0.32)
Weighted-average shares used in calculating net loss per share, basic and diluted (in shares) 32,510 20,878