v3.22.2.2
Net (Loss) Income Per Share - Narrative (Details) - Convertible Debt - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
Aug. 31, 2020
Sep. 30, 2019
Mar. 31, 2018
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Principal $ 2,299,987 $ 2,300,020      
2020 Notes          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Principal $ 650,000 $ 650,000 $ 650,000    
Debt instrument, interest rate (as a percent)     0.125%    
2019 Notes          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Debt instrument, interest rate (as a percent)       0.125%  
2018 Notes          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Debt instrument, interest rate (as a percent)         0.00%