Quarterly report pursuant to Section 13 or 15(d)

Revenue from Contracts with Customers - Schedule of Impact of Consolidated Statements of Operations and Comprehensive Loss of Adopting ASC 606 (Detail)

v3.10.0.1
Revenue from Contracts with Customers - Schedule of Impact of Consolidated Statements of Operations and Comprehensive Loss of Adopting ASC 606 (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Oct. 31, 2018
Oct. 31, 2017
Oct. 31, 2018
Oct. 31, 2017
Revenue Initial Application Period Cumulative Effect Transition [Line Items]        
Revenues $ 18,611 $ 23,430 $ 45,447 $ 57,322
Cost of revenues 7,323 7,066 18,967 19,665
Operating expenses 13,803 15,444 42,381 44,288
Loss from operations (2,515) 920 (15,901) (6,631)
Loss before income taxes (4,602) 934 (20,799) (5,662)
Income tax (benefit) provision (775) 1,154 (2,421) 1,458
Net loss $ (3,827) $ (220) $ (18,378) $ (7,120)
Net loss per share:        
Basic $ (0.11) $ 0.00 $ (0.52) $ (0.20)
Diluted $ (0.11) $ 0.00 $ (0.52) $ (0.20)
ASU 2014-09 [Member]        
Revenue Initial Application Period Cumulative Effect Transition [Line Items]        
Revenues $ 18,611   $ 45,447  
Cost of revenues 7,323   18,967  
Operating expenses 13,803   42,381  
Loss from operations (2,516)   (15,901)  
Loss before income taxes (4,545)   (20,741)  
Income tax (benefit) provision (775)   (2,421)  
Net loss $ (3,827)   $ (18,378)  
Net loss per share:        
Basic $ (0.11)   $ (0.52)  
Diluted $ (0.11)   $ (0.52)  
Under ASC 605 [Member] | ASU 2014-09 [Member]        
Revenue Initial Application Period Cumulative Effect Transition [Line Items]        
Revenues $ 18,352   $ 41,216  
Cost of revenues 7,163   18,509  
Operating expenses 13,695   42,381  
Loss from operations (2,506)   (19,675)  
Loss before income taxes (4,535)   (24,515)  
Income tax (benefit) provision (775)   (2,421)  
Net loss $ (3,818)   $ (22,152)  
Net loss per share:        
Basic $ (0.11)   $ (0.63)  
Diluted $ (0.11)   $ (0.63)  
Adjustment [Member] | ASU 2014-09 [Member]        
Revenue Initial Application Period Cumulative Effect Transition [Line Items]        
Revenues $ 260   $ 4,231  
Cost of revenues 160   458  
Operating expenses 110      
Loss from operations (10)   3,774  
Loss before income taxes (10)   3,774  
Net loss $ (9)   $ 3,774  
Net loss per share:        
Basic     $ 0.11  
Diluted     $ 0.11