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.8.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
Apr. 30, 2018
Apr. 30, 2017
Revenue Initial Application Period Cumulative Effect Transition [Line Items]    
Revenues $ 14,935  
Cost of revenues 6,029 $ 6,790
Operating expenses 14,022 15,345
Loss from operations (5,116) (5,468)
Loss before income taxes (5,965) (5,102)
Income tax (benefit) provision (494) 269
Net loss $ (5,471) $ (5,371)
Net loss per share:    
Basic $ (0.15) $ (0.15)
Diluted $ (0.15) $ (0.15)
Under ASC 605 [Member] | ASU 2014-09 [Member]    
Revenue Initial Application Period Cumulative Effect Transition [Line Items]    
Revenues $ 12,084  
Cost of revenues 5,571  
Operating expenses 14,022  
Loss from operations (7,509)  
Loss before income taxes (8,358)  
Income tax (benefit) provision (494)  
Net loss $ (7,864)  
Net loss per share:    
Basic $ (0.22)  
Diluted $ (0.22)  
Adjustment [Member] | ASU 2014-09 [Member]    
Revenue Initial Application Period Cumulative Effect Transition [Line Items]    
Revenues $ 2,851  
Cost of revenues 458  
Loss from operations 2,393  
Loss before income taxes 2,393  
Net loss $ 2,393  
Net loss per share:    
Basic $ 0.07  
Diluted $ 0.07