XML 53 R43.htm IDEA: XBRL DOCUMENT v3.8.0.1
Revenue Recognition - Impacts of Adopting New Revenue Standard on Condensed Consolidated Statements of Operations (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended
Apr. 30, 2018
Apr. 30, 2017
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]    
Revenue $ 56,938 $ 64,135
Cost of revenue 22,046 23,172
Gross profit 34,892 40,963
Loss from operations (9,950) 2,617
Loss before income taxes (9,158) 2,770
Provision for income taxes 848 206
Net loss $ (10,006) $ 2,564
Net loss per share:    
Basic $ (0.30) $ 0.08
Diluted $ (0.30) $ 0.07
Topic 606 [Member] | Impact of Adoption [Member]    
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]    
Revenue $ (4,915)  
Cost of revenue (1,600)  
Gross profit (3,315)  
Loss from operations (3,315)  
Loss before income taxes (3,315)  
Provision for income taxes 197  
Net loss $ (3,512)  
Net loss per share:    
Basic $ (0.11)  
Diluted $ (0.11)  
Topic 606 [Member] | Amounts under ASC 605 [Member]    
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]    
Revenue $ 52,023  
Cost of revenue 20,446  
Gross profit 31,577  
Loss from operations (13,265)  
Loss before income taxes (12,473)  
Provision for income taxes 1,045  
Net loss $ (13,518)  
Net loss per share:    
Basic $ (0.41)  
Diluted $ (0.41)