Annual report pursuant to Section 13 and 15(d)

Long-term Debt - Summary of Terms of Convertible Notes (Details)

v3.22.0.1
Long-term Debt - Summary of Terms of Convertible Notes (Details)
$ / shares in Units, shares in Millions, equity_instrument in Millions
12 Months Ended
Dec. 31, 2021
USD ($)
equity_instrument
$ / shares
shares
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Debt Instrument [Line Items]      
Principal amount | $ $ 141,810,000 $ 0 $ 0
2022 Convertible Senior Notes      
Debt Instrument [Line Items]      
Principal amount | $ $ 142,000,000    
Common stock (in shares) | shares 5.2    
Convertible Notes Payable | 2022 Convertible Senior Notes      
Debt Instrument [Line Items]      
Principal | $ $ 8,000,000    
Stated Interest Rate 4.125%    
Conversion Ratio 36.8366    
Conversion price per share (in usd per share) | $ / shares $ 27.15    
Issuable Shares | equity_instrument 0.3    
Dividend threshold amount (in usd per share) | $ / shares $ 0.33    
Convertible Notes Payable | 2023 Convertible Senior Notes      
Debt Instrument [Line Items]      
Principal | $ $ 144,000,000    
Stated Interest Rate 0.00%    
Conversion Ratio 20.6931    
Conversion price per share (in usd per share) | $ / shares $ 48.33    
Issuable Shares | equity_instrument 3.0    
Dividend threshold amount (in usd per share) | $ / shares $ 0.34