Quarterly report pursuant to Section 13 or 15(d)

Debt - Summary (Details)

v3.21.2
Debt - Summary (Details) - USD ($)
Jun. 30, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Revolving credit facility balance $ 0 $ 0
Convertible Notes due 2023    
Debt Instrument [Line Items]    
Face amount 345,000,000.0 345,000,000
Unamortized issuance costs on convertible notes (3,999,000) (4,306,000)
Unaccreted discount on convertible notes 0 (24,058,000)
Convertible notes carrying value 341,001,000 316,636,000
Convertible Notes due 2025    
Debt Instrument [Line Items]    
Face amount 517,500,000 517,500,000
Unamortized issuance costs on convertible notes (12,090,000) (11,731,000)
Unaccreted discount on convertible notes 0 (65,902,000)
Convertible notes carrying value $ 505,410,000 $ 439,867,000