XML 59 R52.htm IDEA: XBRL DOCUMENT v3.20.1
Commitments and Contingencies - Additional Information (Details) - USD ($)
3 Months Ended
Apr. 30, 2020
Apr. 30, 2019
Feb. 29, 2020
Jan. 31, 2020
Loss Contingencies [Line Items]        
Proceeds from revolving line of credit $ 43,000,000 $ 0    
Operating lease renewal term option 5 years      
Rent expense $ 5,000,000.0 $ 3,400,000    
San Francisco, California        
Loss Contingencies [Line Items]        
Amount of lease contract     $ 11,800,000  
San Mateo, California        
Loss Contingencies [Line Items]        
Amount of lease contract     $ 13,800,000  
Revolving Credit Facility        
Loss Contingencies [Line Items]        
Maximum borrowing capacity 50,000,000.0     $ 50,000,000.0
Current borrowing capacity 2,600,000     46,500,000
Revolving Credit Facility | Debt Convertible At Company Option        
Loss Contingencies [Line Items]        
Maximum borrowing capacity $ 15,000,000.0      
Maturity period of debt instrument 48 months      
Revolving Line Of Credit And Term Out Loan | Debt Instrument, Redemption, Period One | Maximum        
Loss Contingencies [Line Items]        
Amount of borrowings that effect the interest rate $ 5,000,000.0      
Revolving Line Of Credit And Term Out Loan | Debt Instrument, Redemption, Period Two | Maximum        
Loss Contingencies [Line Items]        
Amount of borrowings that effect the interest rate 10,000,000.0      
Revolving Line Of Credit And Term Out Loan | Debt Instrument, Redemption, Period Two | Minimum        
Loss Contingencies [Line Items]        
Amount of borrowings that effect the interest rate 5,000,000.0      
Revolving Line Of Credit And Term Out Loan | Debt Instrument, Redemption, Period Three | Minimum        
Loss Contingencies [Line Items]        
Amount of borrowings that effect the interest rate $ 10,000,000.0      
Revolving Line Of Credit And Term Out Loan | Prime Rate | Debt Instrument, Redemption, Period One        
Loss Contingencies [Line Items]        
Variable interest rate 0.50%      
Revolving Line Of Credit And Term Out Loan | Prime Rate | Debt Instrument, Redemption, Period Three        
Loss Contingencies [Line Items]        
Variable interest rate 0.50%      
Standby Letters of Credit | Office Lease Facilities        
Loss Contingencies [Line Items]        
Standby letters of credit $ 4,400,000     $ 3,500,000