XML 103 R50.htm IDEA: XBRL DOCUMENT v3.22.4
Long-Term Debt - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Mar. 31, 2020
USD ($)
Dec. 31, 2022
USD ($)
day
$ / shares
Dec. 31, 2021
USD ($)
$ / shares
Dec. 31, 2020
USD ($)
Nov. 30, 2018
USD ($)
Oct. 31, 2018
USD ($)
Jan. 31, 2018
USD ($)
Line of Credit Facility [Line Items]              
Common stock, par value (in dollars per share) | $ / shares   $ 0.0001 $ 0.0001        
Share price | $ / shares   $ 7.97          
Interest expense   $ 7,500          
Interest expense   7,535 $ 7,490 $ 15,408      
Long-term Debt and Lease Obligation   226,622 225,144        
Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net   3,378 4,856        
Term Loan Agreement              
Line of Credit Facility [Line Items]              
Repayments of debt $ 88,600            
Line of credit facility, maximum borrowing capacity           $ 100,000  
Proceeds from lines of credit   $ 80,000          
Interest expense     $ 7,500 15,400      
Write off of deferred debt issuance cost       6,600      
Secured Revolving Loan Facility              
Line of Credit Facility [Line Items]              
Extinguishment of debt, termination fee       $ 500      
Convertible Senior Notes Due 2025              
Line of Credit Facility [Line Items]              
Debt term   5 years          
Debt Instrument, Interest Rate During Period     3.30%        
Outstanding Principal Of Convertible Debt   $ 230,000 $ 230,000        
Convertible Senior Notes Due 2025 | Senior Notes              
Line of Credit Facility [Line Items]              
Proceeds from issuance of debt $ 222,600            
Debt instrument conversion ratio   20.9161          
Common stock, par value (in dollars per share) | $ / shares   $ 0.0001          
Conversion price (in dollars per share) | $ / shares   $ 47.81          
Threshold consecutive trading days | day   30          
Percentage of redemption fee   100.00%          
Convertible Senior Notes Due 2025 | Senior Notes | Convertible Debt Triggering Event 1              
Line of Credit Facility [Line Items]              
Threshold trading days | day   20          
Threshold consecutive trading days | day   30          
Percentage of stock price trigger   130.00%          
Convertible Senior Notes Due 2025 | Senior Notes | Convertible Debt Triggering Event 2              
Line of Credit Facility [Line Items]              
Threshold trading days | day   5          
Threshold consecutive trading days | day   5          
Percentage of stock price trigger   98.00%          
Revolving Credit Facility | Secured Revolving Loan Facility              
Line of Credit Facility [Line Items]              
Line of credit facility, maximum borrowing capacity         $ 20,000   $ 15,000