v3.22.2.2
Long-Term Debt, Net - Carrying Amount of Convertible Notes (Details) - USD ($)
$ in Thousands
6 Months Ended 9 Months Ended
Jun. 30, 2022
Sep. 30, 2022
Dec. 31, 2021
Debt Instrument [Line Items]      
Total Principal Amount   $ 1,538,483 $ 895,936
Total unamortized debt discount   34,012 19,262
Current portion of long-term debt, net   13,315 89,419
Long-term debt, excluding current maturities   1,491,156 787,255
Total carrying amount   1,504,471 876,674
Total fair value of outstanding notes   1,385,582 878,567
1.25% Convertible Senior Notes due 2024      
Debt Instrument [Line Items]      
Total Principal Amount   13,483 90,936
Total unamortized debt discount   168 1,517
Current portion of long-term debt, net   13,315 89,419
Total fair value of outstanding notes   $ 23,138 159,678
Remaining amortization per period of debt discount (in years): 2 years 10 months 24 days 2 years 2 months 12 days  
0.25% Convertible Senior Notes due 2027      
Debt Instrument [Line Items]      
Total Principal Amount   $ 805,000 805,000
Total unamortized debt discount   15,208 17,745
Long-term debt, excluding current maturities   789,792 787,255
Total fair value of outstanding notes   $ 684,226 718,889
Remaining amortization per period of debt discount (in years): 5 years 2 months 12 days 4 years 4 months 24 days  
1.00% Convertible Senior Notes due 2028      
Debt Instrument [Line Items]      
Total Principal Amount   $ 720,000 0
Total unamortized debt discount   18,636 0
Long-term debt, excluding current maturities   701,364 0
Total fair value of outstanding notes   $ 678,218 $ 0
Remaining amortization per period of debt discount (in years):   5 years 10 months 24 days