XML 44 R32.htm IDEA: XBRL DOCUMENT v3.21.1
Indebtedness - Additional Information (Details)
3 Months Ended
May 21, 2020
USD ($)
day
$ / shares
May 02, 2019
USD ($)
tranche
Mar. 31, 2021
USD ($)
Term Loan | Credit Facility      
Debt Instrument [Line Items]      
Maximum borrowing capacity   $ 150,000,000.0  
Amount funded   30,000,000.0  
Remaining borrowing capacity   $ 120,000,000.0  
Number of additional tranches | tranche   2  
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 | Credit Facility | Prepayment Occurs through First Anniversary of Closing Date      
Debt Instrument [Line Items]      
Percentage of prepayment fee   3.00%  
Term Loan | Credit Facility | First Anniversary of Closing Date through Second Anniversary of Closing Date      
Debt Instrument [Line Items]      
Percentage of prepayment fee   2.00%  
Term Loan | Credit Facility | Second Anniversary of Closing Date and Prior to Jan 1, 2025      
Debt Instrument [Line Items]      
Percentage of prepayment fee   1.00%  
Term Loan | Credit Facility | LIBOR      
Debt Instrument [Line Items]      
Basis spread on variable rate   7.00%  
Interest rate   2.00%  
Term Loan | Credit Facility | MidCap Financial Trust      
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.0  
Term Loan | Tranche Two | Credit Facility      
Debt Instrument [Line Items]      
Remaining borrowing capacity   $ 60,000,000.0  
2027 Notes      
Debt Instrument [Line Items]      
Interest rate 5.00%   5.00%
Debt instrument aggregate principal amount $ 200,000,000.0    
Proceeds from convertible debt $ 193,600,000    
Debt instrument conversion ratio 0.0616    
Convertible notes, initial conversion price (in dollars per share) | $ / shares $ 16.23    
Convertible notes, percentage of conversion price 130.00%    
Debt conversion, converted instrument $ 1,000    
Convertible notes, redemption percentage 100.00%    
Percentage of repurchase price is equal to principal amount of convertible notes 100.00%    
Percentage in aggregate principal amount (not less than) 0.25    
Carrying amount of the equity component $ 53,500,000    
Convertible notes, effective interest rate 11.17%    
Debt issuance costs $ 400,000    
Amortization of debt issuance cost $ 300,000    
2027 Notes | Maximum      
Debt Instrument [Line Items]      
Convertible notes, percentage of last reported sale price of common stock 98.00%    
2027 Notes | 130% Applicable Conversion Price | Minimum      
Debt Instrument [Line Items]      
Convertible notes, consecutive trading days | day 20    
2027 Notes | 130% Applicable Conversion Price | Maximum      
Debt Instrument [Line Items]      
Convertible notes, consecutive trading days | day 30    
2027 Notes | 98% Applicable Conversion Price | Minimum      
Debt Instrument [Line Items]      
Convertible notes, consecutive trading days | day 5    
2027 Notes | 98% Applicable Conversion Price | Maximum      
Debt Instrument [Line Items]      
Convertible notes, consecutive trading days | day 10