XML 81 R66.htm IDEA: XBRL DOCUMENT v3.22.1
Debt - Narrative (Details) - USD ($)
12 Months Ended
May 20, 2019
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Debt Instrument [Line Items]        
Class of warrants, exercise price (in dollars per share)   $ 9.41 $ 9.10 $ 7.88
2019 Credit Agreement        
Debt Instrument [Line Items]        
Debt instrument, interest rate   7.75%    
Debt instrument, fee amount   $ 4,600,000 $ 4,600,000  
Warrants liability fair value   $ 900,000    
Class of warrants number of securities called by the warrants or rights (in shares)   419,992    
Debt instrument, direct fees   $ 1,200,000    
2019 Credit Agreement | Series C Convertible Preferred Stock        
Debt Instrument [Line Items]        
Class of warrants, exercise price (in dollars per share)   $ 16.67    
2019 Credit Agreement | Series D Convertible Preferred Stock        
Debt Instrument [Line Items]        
Class of warrants, exercise price (in dollars per share) $ 16.67 $ 16.67    
2019 Credit Agreement | Senior Term Loan        
Debt Instrument [Line Items]        
Conversion amount $ 70,000,000      
Proceeds from senior term loan 40,000,000      
Debt instrument, remaining amount 30,000,000      
Debt instrument unused borrowing capacity $ 0      
Debt instrument, fee amount   $ 4,600,000    
Debt instrument, Initial debt discount before inception   $ 6,700,000    
Default Event | Senior Term Loan        
Debt Instrument [Line Items]        
Debt instrument, interest rate, increase (decrease)   10.00%