XML 102 R53.htm IDEA: XBRL DOCUMENT v3.22.0.1
Long-Term Debt - Additional Information (Details)
1 Months Ended 12 Months Ended
Mar. 31, 2020
USD ($)
Dec. 31, 2021
USD ($)
day
$ / shares
Dec. 31, 2020
USD ($)
$ / shares
Dec. 31, 2019
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        
Equity component of convertible notes, net     $ 58,543,000        
Share price | $ / shares   $ 42.23          
Interest expense   $ 7,500,000          
Interest expense   7,490,000 15,408,000 $ 8,487,000      
Long-term Debt and Lease Obligation   225,144,000 172,703,000        
Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net   4,856,000 57,297,000        
Cumulative Effect, Period of Adoption, Adjustment              
Line of Credit Facility [Line Items]              
Unamortized Debt Issuance Expense     51,012,000        
Long-term Debt and Lease Obligation     51,012,000        
Term Loan Agreement              
Line of Credit Facility [Line Items]              
Repayments of debt $ 88,600,000            
Line of credit facility, maximum borrowing capacity           $ 100,000,000  
Proceeds from lines of credit   80,000,000          
Interest expense     $ 15,400,000 $ 8,500,000      
Write off of deferred debt issuance cost   6,600,000          
Secured Revolving Loan Facility              
Line of Credit Facility [Line Items]              
Extinguishment of debt, termination fee   500,000          
Convertible Senior Notes Due 2025              
Line of Credit Facility [Line Items]              
Convertible debt, fair value   $ 169,500,000          
Debt conversion, original debt interest rate   9.35%          
Debt unamortized discount   $ 60,500,000          
Debt issuance costs, net   7,400,000          
Equity component   1,900,000          
Liability component   $ 5,500,000          
Debt term   5 years          
Debt Instrument, Interest Rate During Period   3.30% 9.90%        
Outstanding Principal Of Convertible Debt   $ 230,000,000 $ 230,000,000        
Convertible Senior Notes Due 2025 | Senior Notes              
Line of Credit Facility [Line Items]              
Debt instrument, face amount 230,000,000            
Debt stated rate   2.625%          
Proceeds from issuance of debt $ 222,600,000            
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,000   $ 15,000,000