XML 59 R47.htm IDEA: XBRL DOCUMENT v3.20.2
Debt (Details) - USD ($)
Mar. 11, 2020
Jul. 31, 2020
Jan. 31, 2020
Jul. 31, 2019
Mar. 16, 2016
Line of Credit Facility [Line Items]          
Restricted cash deposits   $ 0 $ 12,100,000 $ 12,100,000  
Line of Credit | Letter of Credit          
Line of Credit Facility [Line Items]          
Borrowing capacity $ 30,000,000.0        
Debt instrument, collateral amount   19,600,000      
Line of Credit | Bridge Loan          
Line of Credit Facility [Line Items]          
Borrowing capacity 10,000,000.0        
Line of Credit | Silicon Valley Bank | Revolving Credit Line          
Line of Credit Facility [Line Items]          
Borrowing capacity         $ 15,000,000.0
Line of Credit | Silicon Valley Bank | Letter of Credit          
Line of Credit Facility [Line Items]          
Borrowing capacity         $ 7,000,000.0
Secured Debt | Revolving Credit Line          
Line of Credit Facility [Line Items]          
Borrowing capacity $ 50,000,000.0 50,000,000.0      
Debt Instrument, Term 3 years        
Incremental borrowing available under certain conditions $ 50,000,000.0        
Capital stock of foreign subsidiary, percent 66.00%        
Covenant terms, minimum adjusted quick ratio 0.015%        
Line of credit facility, available borrowing capacity   $ 30,400,000      
Secured Debt | Letter of Credit          
Line of Credit Facility [Line Items]          
Borrowing capacity     12,100,000    
Restricted cash deposits     $ 12,100,000    
Secured Debt | London Interbank Offered Rate (LIBOR) | Revolving Credit Line | Minimum          
Line of Credit Facility [Line Items]          
Basis spread on variable rate 2.50%        
Secured Debt | London Interbank Offered Rate (LIBOR) | Revolving Credit Line | Maximum          
Line of Credit Facility [Line Items]          
Basis spread on variable rate 3.00%        
Secured Debt | Base Rate | Revolving Credit Line | Minimum          
Line of Credit Facility [Line Items]          
Basis spread on variable rate 0.50%        
Secured Debt | Base Rate | Revolving Credit Line | Maximum          
Line of Credit Facility [Line Items]          
Basis spread on variable rate 0.00%