XML 72 R61.htm IDEA: XBRL DOCUMENT v3.21.2
Debt - Schedule of Debt (Details) - Convertible notes - USD ($)
Sep. 30, 2021
Mar. 16, 2021
Dec. 31, 2020
Feb. 28, 2020
Debt Instrument [Line Items]        
Total net carrying amount $ 479,155,000   $ 282,196,000  
Total net carrying amount 186,299,000   121,410,000  
2026 Convertible Notes        
Debt Instrument [Line Items]        
Principal 400,000,000   400,000,000 $ 400,000,000
Unamortized discount (96,782,000)   (110,546,000)  
Unamortized debt issuance costs (6,354,000)   (7,258,000)  
Total net carrying amount 296,864,000   282,196,000  
Proceeds allocated to the conversion options (debt discount) 125,152,000   125,152,000  
Issuance costs (3,742,000)   (3,742,000) $ (3,742,000)
Total net carrying amount 121,410,000   121,410,000  
2028 Convertible Notes        
Debt Instrument [Line Items]        
Principal 250,000,000 $ 250,000,000 0  
Unamortized discount (62,542,000)   0  
Unamortized debt issuance costs (5,167,000)   0  
Total net carrying amount 182,291,000   0  
Proceeds allocated to the conversion options (debt discount) 66,908,000   0  
Issuance costs (2,019,000) $ (2,019,000) 0  
Total net carrying amount $ 64,889,000   $ 0