Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Narrative (Details)

v3.20.2
Fair Value Measurements - Narrative (Details) - USD ($)
$ in Thousands
Sep. 30, 2020
Dec. 31, 2019
Fair Value Measurements    
Convertible notes $ 749,918 $ 305,513
Revolving credit facility balance 0 260,000
2023 Convertible Notes    
Fair Value Measurements    
Debt instrument, fair value disclosure 442,104 414,852
2023 Convertible Notes | Carrying Value    
Fair Value Measurements    
Convertible notes 313,823 305,513
Convertible Notes due 2025    
Fair Value Measurements    
Debt instrument, fair value disclosure 520,486  
Convertible Notes due 2025 | Carrying Value    
Fair Value Measurements    
Convertible notes 436,095  
Second Amended and Restated Credit Agreement    
Fair Value Measurements    
Revolving credit facility balance $ 0 $ 260,000