XML 68 R38.htm IDEA: XBRL DOCUMENT v3.22.4
Indebtedness - Additional Information (Details)
12 Months Ended
May 21, 2020
USD ($)
tradingDay
$ / shares
May 02, 2019
USD ($)
tranche
Dec. 31, 2022
USD ($)
tranche
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Debt Instrument [Line Items]          
Proceeds from issuance of convertible senior notes, net     $ 0 $ 0 $ 193,596,000
Term Loan | Credit Facility          
Debt Instrument [Line Items]          
Maximum borrowing capacity   $ 150,000,000      
Amount funded   30,000,000      
Remaining borrowing capacity   $ 120,000,000      
Number of additional tranches | tranche   2      
Number of tranches | tranche     1    
Percentage of exit fee on amount borrowed on final repayment   1.75%      
Percentage of exit fee on amount borrowed on partial prepayment   1.75%      
Debt covenant minimum unrestricted cash percentage   25.00%      
Debt instrument, default trigger amount     $ 2,500,000    
Term Loan | Prepayment Occurs through First Anniversary of Closing Date | Credit Facility          
Debt Instrument [Line Items]          
Percentage of prepayment fee   3.00%      
Term Loan | First Anniversary of Closing Date through Second Anniversary of Closing Date | Credit Facility          
Debt Instrument [Line Items]          
Percentage of prepayment fee   2.00%      
Term Loan | Second Anniversary of Closing Date and Prior to January 1, 2025 | Credit Facility          
Debt Instrument [Line Items]          
Percentage of prepayment fee   1.00%      
Term Loan | Secured Overnight Financing Rate (SOFR) | Credit Facility          
Debt Instrument [Line Items]          
Basis spread on variable rate   7.00%      
Interest rate   2.00%      
Term Loan | MidCap Financial Trust | Credit Facility          
Debt Instrument [Line Items]          
Basis spread on variable rate     3.00%    
Term Loan | Tranche One | Credit Facility          
Debt Instrument [Line Items]          
Remaining borrowing capacity   $ 60,000,000 $ 60,000,000    
Term Loan | Tranche Two | Credit Facility          
Debt Instrument [Line Items]          
Remaining borrowing capacity   $ 60,000,000 $ 60,000,000    
2027 Notes          
Debt Instrument [Line Items]          
Interest rate 5.00%        
Debt instrument aggregate principal amount $ 200,000,000        
Proceeds from issuance of convertible senior notes, net $ 193,600,000        
Debt instrument, convertible, conversion ratio 0.0616        
Debt instrument, conversion price (in dollars per share) | $ / shares $ 16.23        
Debt instrument, conversion price (in percentage) 130.00%        
Debt conversion, converted instrument, amount $ 1,000        
Debt instrument, redemption price (in percentage) 100.00%        
Percentage of repurchase price is equal to principal amount of convertible notes 100.00%        
Long-term debt, percentage in aggregate principal amount 0.25        
Debt instrument, convertible, carrying amount of equity component $ 53,500,000        
Effective interest rate 11.17%        
Debt issuance costs $ 400,000        
Amortization of debt issuance cost $ 300,000        
2027 Notes | Minimum | One Hundred Thirty Percent Applicable Conversion Price          
Debt Instrument [Line Items]          
Debt instrument, convertible, threshold trading days | tradingDay 20        
2027 Notes | Minimum | Ninety Eight Percent Applicable Conversion Price          
Debt Instrument [Line Items]          
Debt instrument, convertible, threshold trading days | tradingDay 5        
2027 Notes | Maximum          
Debt Instrument [Line Items]          
Debt instrument convertible conversion last reported sale price (in percentage) 98.00%        
2027 Notes | Maximum | One Hundred Thirty Percent Applicable Conversion Price          
Debt Instrument [Line Items]          
Debt instrument, convertible, threshold trading days | tradingDay 30        
2027 Notes | Maximum | Ninety Eight Percent Applicable Conversion Price          
Debt Instrument [Line Items]          
Debt instrument, convertible, threshold trading days | tradingDay 10