XML 58 R49.htm IDEA: XBRL DOCUMENT v3.22.2
DEBT (Details)
1 Months Ended 6 Months Ended
Sep. 28, 2021
USD ($)
$ / shares
shares
Jun. 30, 2021
May 31, 2021
USD ($)
$ / shares
shares
Feb. 28, 2021
USD ($)
Jun. 30, 2022
USD ($)
Jun. 30, 2021
USD ($)
Dec. 31, 2021
USD ($)
Nov. 30, 2021
USD ($)
Jul. 31, 2021
USD ($)
Debt Instrument [Line Items]                  
Loss on extinguishment of debt         $ 0 $ 1,998,000      
Conversion of convertible notes     $ 297,800,000            
IPO                  
Debt Instrument [Line Items]                  
Sale of stock, price per share (in dollars per share) | $ / shares $ 16.00   $ 16.00            
Convertible Debt                  
Debt Instrument [Line Items]                  
Debt instrument, face amount $ 235,500,000                
Accrued interest $ 2,800,000                
Debt instrument, convertible, number of equity instruments (in shares) | shares 18,611,914                
May 2021 Convertible Notes | Convertible Debt                  
Debt Instrument [Line Items]                  
Debt instrument, face amount     $ 235,500,000            
Fair value adjustment loss on debt         23,300,000        
Accrued interest     $ 2,800,000            
Debt instrument, convertible, number of equity instruments (in shares) | shares     18,611,914            
Debt instrument, convertible, conversion discount period one     20.00%            
Long-term debt             $ 0    
Revolving Credit Facility | Line of Credit                  
Debt Instrument [Line Items]                  
Line of credit facility, maximum borrowing capacity         $ 0        
Debt covenant, percent of eligible accounts receivable less sales tax liability         80.00%        
Revolving Credit Facility | Line of Credit | Maximum                  
Debt Instrument [Line Items]                  
Asset coverage ratio         1.20        
Revolving Credit Facility | Line of Credit | Minimum                  
Debt Instrument [Line Items]                  
Asset coverage ratio         1.00        
Revolving Credit Facility | 2015 Credit Agreement | Comerica Bank | Line of Credit                  
Debt Instrument [Line Items]                  
Extinguishment of debt, amount       $ 5,400,000          
Revolving Credit Facility | Revolving Credit Agreement | Line of Credit                  
Debt Instrument [Line Items]                  
Debt instrument, interest rate, stated percentage         3.50%        
Prepayment fee         1.00%        
Interest rate, increase (decrease)         2.00%        
Revolving Credit Facility | Revolving Credit Agreement | Line of Credit | Maximum                  
Debt Instrument [Line Items]                  
Current ratio         1.20        
Revolving Credit Facility | Revolving Credit Agreement | Line of Credit | Minimum                  
Debt Instrument [Line Items]                  
Current ratio         1.00        
Revolving Credit Facility | Revolving Credit Agreement | Comerica Bank | Line of Credit                  
Debt Instrument [Line Items]                  
Line of credit facility, maximum borrowing capacity         $ 500,000        
Revolving Credit Facility | Revolving Credit Agreement | East West Bank | Line of Credit                  
Debt Instrument [Line Items]                  
Line of credit facility, maximum borrowing capacity     $ 6,000,000 130,000,000     $ 130,000,000   $ 12,000,000.0
Repayments of lines of credit     63,200,000            
Debt extinguishment, fee, percentage of outstanding commitment   1.00%              
Write off of deferred debt issuance cost           700,000      
Loss on extinguishment of debt           $ 2,000,000      
Revolving Credit Facility | Secured Revolving Facility Agreement | East West Bank | Line of Credit                  
Debt Instrument [Line Items]                  
Line of credit facility, maximum borrowing capacity         100,000,000        
Letter of Credit | 2015 Credit Agreement | Comerica Bank | Line of Credit                  
Debt Instrument [Line Items]                  
Credit extension limit (up to)       4,000,000          
Letter of Credit | Revolving Credit Agreement                  
Debt Instrument [Line Items]                  
Letters of credit outstanding     $ 12,000,000   12,500,000        
Letter of Credit | Revolving Credit Agreement | East West Bank                  
Debt Instrument [Line Items]                  
Additional letter of credit, issued               $ 500,000  
Letter of Credit | Revolving Credit Agreement | East West Bank | Line of Credit                  
Debt Instrument [Line Items]                  
Line of credit facility, maximum borrowing capacity       20,000,000          
Letter of Credit | Secured Revolving Facility Agreement | Line of Credit                  
Debt Instrument [Line Items]                  
Deferred financing cost         600,000        
Letter of Credit | Secured Revolving Facility Agreement | East West Bank                  
Debt Instrument [Line Items]                  
Remaining borrowing capacity         87,500,000        
Letter of Credit | Secured Revolving Facility Agreement | East West Bank | Line of Credit                  
Debt Instrument [Line Items]                  
Line of credit facility, maximum borrowing capacity         $ 20,000,000        
Bridge Loan | 2015 Credit Agreement | Comerica Bank | Line of Credit                  
Debt Instrument [Line Items]                  
Credit extension limit (up to)       $ 6,000,000