XML 65 R50.htm IDEA: XBRL DOCUMENT v3.20.2
Commitments and Contingencies - Additional Information (Details) - USD ($)
3 Months Ended 6 Months Ended 12 Months Ended
Sep. 04, 2020
Jul. 31, 2020
Jul. 31, 2019
Jul. 31, 2020
Jul. 31, 2019
Jan. 31, 2020
Loss Contingencies [Line Items]            
Proceeds from revolving line of credit       $ 43,000,000 $ 0  
Operating lease renewal term option   5 years   5 years    
Rent expense   $ 4,500,000 $ 3,800,000 $ 9,500,000 $ 7,200,000  
Lease exit costs           $ (4,000,000.0)
General and administrative expense | San Mateo and Pleasanton, California            
Loss Contingencies [Line Items]            
Lease exit costs   7,600,000   7,600,000    
Revolving Credit Facility            
Loss Contingencies [Line Items]            
Maximum borrowing capacity   50,000,000.0   50,000,000.0   50,000,000.0
Current borrowing capacity   2,300,000   2,300,000   46,500,000
Revolving Credit Facility | Subsequent Event            
Loss Contingencies [Line Items]            
Maximum borrowing capacity $ 50,000,000.0          
Amount of right to add revolving commitments $ 50,000,000.0          
Commitment fee percentage 0.25%          
Revolving Credit Facility | Debt Convertible At Company Option            
Loss Contingencies [Line Items]            
Maximum borrowing capacity   15,000,000.0   $ 15,000,000.0    
Maturity period of debt instrument       48 months    
Revolving Credit Facility | LIBOR | Subsequent Event            
Loss Contingencies [Line Items]            
Variable interest rate 1.75%          
Revolving Credit Facility | Base Rate | Subsequent Event            
Loss Contingencies [Line Items]            
Variable interest rate 0.75%          
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   $ 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   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   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   $ 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 | Subsequent Event            
Loss Contingencies [Line Items]            
Maximum borrowing capacity $ 40,000,000.0          
Standby Letters of Credit | Office Lease Facilities            
Loss Contingencies [Line Items]            
Standby letters of credit   $ 4,700,000   $ 4,700,000   $ 3,500,000
Standby Letters of Credit | Office Lease Facilities | Subsequent Event            
Loss Contingencies [Line Items]            
Standby letters of credit $ 4,700,000