Quarterly report pursuant to Section 13 or 15(d)

Convertible Senior Notes - Notes Payable (Details)

v3.21.2
Convertible Senior Notes - Notes Payable (Details) - Convertible Notes - 2023 Convertible Senior Notes - USD ($)
Jun. 30, 2021
Dec. 31, 2020
May 31, 2018
Notes Payable, Current and Noncurrent [Abstract]      
Principal amount of the 2023 Notes outstanding $ 345,729,000 $ 495,280,000 $ 750,000,000.0
Unamortized discount (including unamortized debt issuance cost) (30,411,000) (52,987,000)  
Total long-term portion of notes payable 315,318,000 442,293,000  
Carrying value of equity component of the 2023 Notes 27,776,000 48,397,000  
Fair value of the 2023 Notes outstanding (Level 2) $ 341,687,000 $ 466,053,000