Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Summary of Effects of Adopting Topic 606 on Consolidated Statements of Operations and Comprehensive Loss (Detail)

v3.19.1
Summary of Significant Accounting Policies - Summary of Effects of Adopting Topic 606 on Consolidated Statements of Operations and Comprehensive Loss (Detail) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Revenue Initial Application Period Cumulative Effect Transition [Line Items]    
Revenue $ 62,402 $ 80,267
Cost of revenue 25,072 26,323
Operating expenses 73,133 59,354
Loss from operations (35,803) (5,410)
Loss before income taxes (40,020) 1,226
Income tax (benefit) provision (2,018) (12,272)
Net income (loss) $ (38,002) $ 13,498
Net loss per share:    
Basic $ (1.06) $ 0.38
Diluted $ (1.06) $ 0.38
Adjustment [Member] | ASU 2014-09 [Member]    
Revenue Initial Application Period Cumulative Effect Transition [Line Items]    
Revenue $ (3,115)  
Cost of revenue (653)  
Operating expenses 383  
Loss from operations (2,845)  
Loss before income taxes (2,845)  
Net income (loss) $ (2,845)  
Net loss per share:    
Basic $ (0.08)  
Diluted $ (0.08)  
Balance Without Adoption of ASC 606 [Member] | ASU 2014-09 [Member]    
Revenue Initial Application Period Cumulative Effect Transition [Line Items]    
Revenue $ 59,287  
Cost of revenue 24,419  
Operating expenses 73,516  
Loss from operations (38,648)  
Loss before income taxes (42,865)  
Income tax (benefit) provision (2,018)  
Net income (loss) $ (40,847)  
Net loss per share:    
Basic $ (1.14)  
Diluted $ (1.14)