XML 63 R54.htm IDEA: XBRL DOCUMENT v3.22.1
Debt - Schedule of Net Carrying Amount of Notes (Details) - Convertible Debt - USD ($)
$ in Thousands
Mar. 31, 2022
Dec. 31, 2021
Aug. 13, 2021
2026 Notes      
Debt Instrument [Line Items]      
Principal $ 1,293,750 $ 1,293,750  
Unamortized debt discount 0 (248,179)  
Unamortized debt issuance costs (17,316) (14,541)  
Carrying amount, net 1,276,434 1,031,030  
2025 Notes      
Debt Instrument [Line Items]      
Principal 158,429 175,000  
Unamortized debt discount 0 (45,382)  
Unamortized debt issuance costs (2,158) (1,654)  
Carrying amount, net $ 156,271 $ 127,964 $ 283,100