v3.22.2.2
Debt - Narrative (Details)
$ / shares in Units, shares in Millions, converted_share in Millions
1 Months Ended 3 Months Ended 9 Months Ended
Mar. 24, 2022
USD ($)
freestanding_instrument
converted_share
$ / shares
shares
Jun. 30, 2017
USD ($)
Jul. 31, 2022
USD ($)
Oct. 31, 2022
USD ($)
shares
Jan. 31, 2023
USD ($)
Debt Instrument [Line Items]          
Debt issuance costs       $ 8,100,000  
Silicon Valley Bank Debt Agreement | WSJ Prime Rate          
Debt Instrument [Line Items]          
Basis spread on variable interest rate, minus (percent)       1.00%  
Silicon Valley Bank Debt Agreement | Revolving Loan          
Debt Instrument [Line Items]          
Credit facility maximum borrowing capacity       $ 30,000,000  
Amount drawn under credit facility       $ 0  
Silver Lake Warrants          
Debt Instrument [Line Items]          
Number of securities called by warrants (in shares) | shares 7.5     7.5  
Warrants term 7 years        
Silver Lake Warrants | Warrants, tranche one          
Debt Instrument [Line Items]          
Number of securities called by warrants (in shares) | shares 2.5        
Exercise price of warrants (in dollars per share) | $ / shares $ 20.00        
Silver Lake Warrants | Warrants, tranche two          
Debt Instrument [Line Items]          
Number of securities called by warrants (in shares) | shares 2.5        
Exercise price of warrants (in dollars per share) | $ / shares $ 22.00        
Silver Lake Warrants | Warrants, tranche three          
Debt Instrument [Line Items]          
Number of securities called by warrants (in shares) | shares 2.5        
Exercise price of warrants (in dollars per share) | $ / shares $ 24.00        
Equity-classified warrants          
Debt Instrument [Line Items]          
Debt issuance costs       $ 700,000  
Liability-classified warrants          
Debt Instrument [Line Items]          
Debt issuance costs       300,000  
Term loan | Silicon Valley Bank Debt Agreement          
Debt Instrument [Line Items]          
Proceeds from term loan   $ 15,000,000      
Balance on term loan     $ 400,000    
Prepayment or termination fee (percent)     1.50%    
Amount due per agreement upon prepayment or termination of facility     $ 225,000    
Term loan | Silicon Valley Bank Debt Agreement | Forecast          
Debt Instrument [Line Items]          
Balance on term loan         $ 1,500,000
2029 Notes | Convertible senior notes          
Debt Instrument [Line Items]          
Conversion percentage of par value 98.00%        
Interest rate (percent) 3.95%        
Optional in kind interest (percent) 5.50%        
Period for conversion restrictions 18 months        
Number of freestanding instruments | freestanding_instrument 3        
Debt issuance costs       7,100,000  
Debt discount amortization period 5 years        
Effective interest rate (percent) 8.50%        
Initial Notes | Convertible senior notes          
Debt Instrument [Line Items]          
Aggregate principal amount $ 250,000,000        
Initial conversion rate 50.0        
Principal amount for conversion $ 1,000        
Price per share conversion (in dollars per share) | $ / shares $ 20.00        
Number of equity instruments upon conversion (in shares) | converted_share 12.5        
Balance on term loan       $ 208,393,000  
Additional Notes | Convertible senior notes          
Debt Instrument [Line Items]          
Aggregate principal amount $ 150,000,000        
Period for issuance of additional notes 18 months