XML 62 R50.htm IDEA: XBRL DOCUMENT v3.22.2.2
Debt - Summary of Information about the Equity and Liability Components of Notes (Details) - USD ($)
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Sep. 17, 2021
Apr. 08, 2021
Feb. 10, 2020
Apr. 15, 2019
Debt Instrument [Line Items]                  
Total long-term portion of notes payable $ 388,680,000   $ 388,680,000   $ 305,845,000        
Contractual interest expense 2,011,000 $ 3,284,000 6,025,000 $ 7,497,000          
Amortization of debt issuance costs 504,000 2,118,000 1,485,000 5,035,000          
Total interest expense 2,515,000 $ 5,402,000 7,510,000 $ 12,532,000          
Convertible Notes                  
Debt Instrument [Line Items]                  
Principal amount of notes outstanding         398,750,000       $ 80,000,000
Unamortized debt issuance cost         (8,758,000)        
Unamortized discount         (84,147,000)        
Total long-term portion of notes payable         305,845,000        
Convertible Notes | 2024 Notes                  
Debt Instrument [Line Items]                  
Principal amount of notes outstanding 13,750,000   13,750,000   13,750,000        
Unamortized debt issuance cost (303,000)   (303,000)   (334,000)       $ (4,900,000)
Unamortized discount         (1,570,000)        
Total long-term portion of notes payable 13,447,000   13,447,000   11,846,000        
Convertible Notes | 2026 Notes                  
Debt Instrument [Line Items]                  
Principal amount of notes outstanding 120,000,000   120,000,000   120,000,000     $ 120,000,000  
Unamortized debt issuance cost (2,678,000)   (2,678,000)   (2,440,000)     $ (4,200,000)  
Unamortized discount         (19,413,000)        
Total long-term portion of notes payable 117,322,000   117,322,000   98,147,000        
Convertible Notes | 2027 Notes                  
Debt Instrument [Line Items]                  
Principal amount of notes outstanding 265,000,000   265,000,000   265,000,000 $ 265,000,000      
Unamortized debt issuance cost (7,089,000)   (7,089,000)   (5,984,000) $ (8,300,000)      
Unamortized discount         (63,164,000)        
Total long-term portion of notes payable 257,911,000   257,911,000   $ 195,852,000        
Credit Facility | Total                  
Debt Instrument [Line Items]                  
Principal amount of notes outstanding 398,750,000   398,750,000       $ 180,000,000    
Unamortized debt issuance cost (10,070,000)   (10,070,000)       $ (9,300,000)    
Total long-term portion of notes payable $ 388,680,000   $ 388,680,000