CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY (UNAUDITED) - USD ($)  $ in Thousands  | 
Total  | 
Common Stock [Member]  | 
Additional Paid-in Capital [Member]  | 
Accumulated Deficit [Member]  | 
Treasury Stock, Common  | 
Accumulated Other Comprehensive Income (Loss) [Member]  | 
Noncontrolling Interest [Member]  | 
Redeemable Noncontrolling Interests [Member]  | 
| Balances (in shares) at Dec. 31, 2022 | 
 
 | 
228,498,102
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Balances at Dec. 31, 2022 | 
$ 65,027
 | 
$ 2,285
 | 
$ 2,698,316
 | 
$ (2,999,999)
 | 
$ (6,865)
 | 
$ (90,076)
 | 
$ 461,366
 | 
 
 | 
| Equity [Roll Forward] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Share-Based Compensation Arrangement by Share-Based Payment Award, Shares Issued in Period | 
 
 | 
58
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Non-cash and stock-based compensation | 
81,871
 | 
 
 | 
81,871
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Common stock issued under stock plans, net of shares withheld for employee taxes (in shares) | 
 
 | 
229,406
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Common stock issued under stock plans, net of shares withheld for employee taxes | 
(9,001)
 | 
$ 2
 | 
(9,003)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Exercise of stock options, net of shares withheld for option cost and employee taxes (in shares) | 
 
 | 
373,066
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Exercise of stock options | 
8,343
 | 
$ 4
 | 
8,339
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Conversion of convertible debt (in shares) | 
 
 | 
156,750
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Acquisitions | 
2
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Capped call transactions for 3.125% convertible senior notes due 2029 | 
(75,500)
 | 
 
 | 
75,500
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Repurchase of 2.5% convertible senior notes due 2023 | 
(27,325)
 | 
 
 | 
(27,327)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Acquisitions | 
116,630
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
116,630
 | 
 
 | 
| Purchases of noncontrolling interests | 
(120,811)
 | 
 
 | 
(93,721)
 | 
 
 | 
 
 | 
 
 | 
(27,090)
 | 
 
 | 
| Redeemable noncontrolling interests fair value adjustments | 
(171,673)
 | 
 
 | 
(171,673)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Contributions received | 
15,403
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
15,403
 | 
 
 | 
| Cash distributions | 
(88,182)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(88,182)
 | 
 
 | 
| Other | 
56,484
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
56,484
 | 
 
 | 
| Comprehensive income (loss): | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Net income (loss) | 
898,434
 | 
 
 | 
 
 | 
789,827
 | 
 
 | 
 
 | 
108,607
 | 
 
 | 
| Unrealized gain (loss) on cash flow hedge | 
14,002
 | 
 
 | 
 
 | 
 
 | 
 
 | 
14,002
 | 
 
 | 
 
 | 
| Realized gain on cash flow hedge | 
(12,436)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(12,436)
 | 
 
 | 
 
 | 
| Foreign currency translation adjustments | 
100,752
 | 
 
 | 
 
 | 
 
 | 
 
 | 
100,752
 | 
 
 | 
$ 0
 | 
| Balances at Sep. 30, 2023 | 
852,018
 | 
$ 2,293
 | 
2,411,302
 | 
(2,210,172)
 | 
(6,865)
 | 
12,242
 | 
643,218
 | 
 
 | 
| Balances (in shares) at Sep. 30, 2023 | 
 
 | 
229,257,382
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Balances at Dec. 31, 2022 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
660,119
 | 
| Redeemable Noncontrolling Interests [Roll Forward] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Acquisitions | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
46,707
 | 
| Purchases of noncontrolling interests | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(4,839)
 | 
| Redeemable noncontrolling interests fair value adjustments | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
171,673
 | 
| Contribution received | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
85
 | 
| Cash distributions | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(65,607)
 | 
| Other | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(15,612)
 | 
| Comprehensive income (loss): | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Net income (loss) | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
30,798
 | 
| Balances at Sep. 30, 2023 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
823,324
 | 
| Balances (in shares) at Jun. 30, 2023 | 
 
 | 
229,084,194
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Balances at Jun. 30, 2023 | 
320,493
 | 
$ 2,291
 | 
2,438,660
 | 
(2,731,652)
 | 
(6,865)
 | 
59,253
 | 
558,806
 | 
 
 | 
| Equity [Roll Forward] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Share-Based Compensation Arrangement by Share-Based Payment Award, Shares Issued in Period | 
 
 | 
58
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Non-cash and stock-based compensation | 
26,537
 | 
 
 | 
26,537
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Common stock issued under stock plans, net of shares withheld for employee taxes (in shares) | 
 
 | 
11,905
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Common stock issued under stock plans, net of shares withheld for employee taxes | 
(537)
 | 
 
 | 
(537)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Exercise of stock options, net of shares withheld for option cost and employee taxes (in shares) | 
 
 | 
161,225
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Acquisitions | 
3,344
 | 
$ 2
 | 
3,342
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Acquisitions | 
49,387
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
49,387
 | 
 
 | 
| Divestitures | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
0
 | 
 
 | 
| Purchases of noncontrolling interests | 
3,927
 | 
 
 | 
3,927
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Redeemable noncontrolling interests fair value adjustments | 
(60,627)
 | 
 
 | 
(60,627)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Contributions received | 
772
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
772
 | 
 
 | 
| Cash distributions | 
(13,489)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(13,489)
 | 
 
 | 
| Other | 
2,164
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
2,164
 | 
 
 | 
| Comprehensive income (loss): | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Net income (loss) | 
567,058
 | 
 
 | 
 
 | 
521,480
 | 
 
 | 
 
 | 
45,578
 | 
 
 | 
| Unrealized gain (loss) on cash flow hedge | 
6,293
 | 
 
 | 
 
 | 
 
 | 
 
 | 
6,293
 | 
 
 | 
 
 | 
| Realized gain on cash flow hedge | 
(4,632)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(4,632)
 | 
 
 | 
 
 | 
| Foreign currency translation adjustments | 
(48,672)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(48,672)
 | 
 
 | 
 
 | 
| Balances at Sep. 30, 2023 | 
852,018
 | 
$ 2,293
 | 
2,411,302
 | 
(2,210,172)
 | 
(6,865)
 | 
12,242
 | 
643,218
 | 
 
 | 
| Balances (in shares) at Sep. 30, 2023 | 
 
 | 
229,257,382
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Balances at Jun. 30, 2023 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
738,329
 | 
| Redeemable Noncontrolling Interests [Roll Forward] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Acquisitions | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
20,411
 | 
| Purchases of noncontrolling interests | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(5,498)
 | 
| Redeemable noncontrolling interests fair value adjustments | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
60,627
 | 
| Contribution received | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
0
 | 
| Cash distributions | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(2,691)
 | 
| Other | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(2,208)
 | 
| Comprehensive income (loss): | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Net income (loss) | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
14,354
 | 
| Balances at Sep. 30, 2023 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
823,324
 | 
| Balances (in shares) at Dec. 31, 2023 | 
 
 | 
229,785,241
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Balances at Dec. 31, 2023 | 
552,000
 | 
$ 2,298
 | 
2,367,918
 | 
(2,443,106)
 | 
(6,865)
 | 
27,450
 | 
604,305
 | 
 
 | 
| Equity [Roll Forward] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Share-Based Compensation Arrangement by Share-Based Payment Award, Shares Issued in Period | 
 
 | 
0
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Non-cash and stock-based compensation | 
86,969
 | 
 
 | 
86,969
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Common stock issued under stock plans, net of shares withheld for employee taxes (in shares) | 
 
 | 
530,107
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Common stock issued under stock plans, net of shares withheld for employee taxes | 
(40,873)
 | 
$ 5
 | 
(40,878)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Exercise of stock options, net of shares withheld for option cost and employee taxes (in shares) | 
 
 | 
678,006
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Exercise of stock options | 
19,342
 | 
$ 7
 | 
19,335
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Capped call transactions for 3.125% convertible senior notes due 2029 | 
0
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Acquisitions | 
54,594
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
54,594
 | 
 
 | 
| Purchases of noncontrolling interests | 
(44,956)
 | 
 
 | 
(29,692)
 | 
 
 | 
 
 | 
 
 | 
(15,264)
 | 
 
 | 
| Redeemable noncontrolling interests fair value adjustments | 
(188,714)
 | 
 
 | 
(188,714)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Contributions received | 
3,000
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
3,000
 | 
 
 | 
| Cash distributions | 
(126,054)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(126,054)
 | 
 
 | 
| Other | 
5,182
 | 
 
 | 
0
 | 
 
 | 
 
 | 
 
 | 
5,182
 | 
 
 | 
| Comprehensive income (loss): | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Net income (loss) | 
811,314
 | 
 
 | 
 
 | 
695,300
 | 
 
 | 
 
 | 
116,014
 | 
 
 | 
| Unrealized gain (loss) on cash flow hedge | 
3,320
 | 
 
 | 
 
 | 
 
 | 
 
 | 
3,320
 | 
 
 | 
 
 | 
| Realized gain on cash flow hedge | 
(14,370)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(14,370)
 | 
 
 | 
 
 | 
| Foreign currency translation adjustments | 
(191,011)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(191,011)
 | 
0
 | 
0
 | 
| Balances at Sep. 30, 2024 | 
929,743
 | 
$ 2,310
 | 
2,214,938
 | 
(1,747,806)
 | 
(6,865)
 | 
(174,611)
 | 
641,777
 | 
 
 | 
| Balances (in shares) at Sep. 30, 2024 | 
 
 | 
230,993,354
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Balances at Dec. 31, 2023 | 
859,930
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
859,930
 | 
| Redeemable Noncontrolling Interests [Roll Forward] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Acquisitions | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
45,378
 | 
| Purchases of noncontrolling interests | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(32,296)
 | 
| Redeemable noncontrolling interests fair value adjustments | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
189,366
 | 
| Contribution received | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
0
 | 
| Cash distributions | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(73,780)
 | 
| Other | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(2,583)
 | 
| Comprehensive income (loss): | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Net income (loss) | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
37,892
 | 
| Balances at Sep. 30, 2024 | 
1,023,907
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
1,023,907
 | 
| Balances (in shares) at Jun. 30, 2024 | 
 
 | 
230,711,943
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Balances at Jun. 30, 2024 | 
508,074
 | 
$ 2,307
 | 
2,240,759
 | 
(2,199,611)
 | 
(6,865)
 | 
(122,756)
 | 
594,240
 | 
 
 | 
| Equity [Roll Forward] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Share-Based Compensation Arrangement by Share-Based Payment Award, Shares Issued in Period | 
 
 | 
0
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Non-cash and stock-based compensation | 
23,829
 | 
 
 | 
23,829
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Common stock issued under stock plans, net of shares withheld for employee taxes (in shares) | 
 
 | 
30,770
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Common stock issued under stock plans, net of shares withheld for employee taxes | 
(2,322)
 | 
$ 0
 | 
(2,322)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Exercise of stock options, net of shares withheld for option cost and employee taxes (in shares) | 
 
 | 
250,641
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Exercise of stock options | 
6,523
 | 
$ 3
 | 
6,520
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Acquisitions | 
17,216
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
17,216
 | 
 
 | 
| Purchases of noncontrolling interests | 
(363)
 | 
 
 | 
(363)
 | 
 
 | 
 
 | 
 
 | 
0
 | 
 
 | 
| Redeemable noncontrolling interests fair value adjustments | 
(53,485)
 | 
 
 | 
(53,485)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Contributions received | 
3,000
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
3,000
 | 
 
 | 
| Cash distributions | 
(21,827)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(21,827)
 | 
 
 | 
| Other | 
4,420
 | 
 
 | 
0
 | 
 
 | 
 
 | 
 
 | 
4,420
 | 
 
 | 
| Comprehensive income (loss): | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Net income (loss) | 
496,533
 | 
 
 | 
 
 | 
451,805
 | 
 
 | 
 
 | 
44,728
 | 
 
 | 
| Unrealized gain (loss) on cash flow hedge | 
(8,062)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(8,062)
 | 
 
 | 
 
 | 
| Realized gain on cash flow hedge | 
(4,878)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(4,878)
 | 
 
 | 
 
 | 
| Foreign currency translation adjustments | 
(38,915)
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(38,915)
 | 
 
 | 
0
 | 
| Balances at Sep. 30, 2024 | 
929,743
 | 
$ 2,310
 | 
$ 2,214,938
 | 
$ (1,747,806)
 | 
$ (6,865)
 | 
$ (174,611)
 | 
$ 641,777
 | 
 
 | 
| Balances (in shares) at Sep. 30, 2024 | 
 
 | 
230,993,354
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Balances at Jun. 30, 2024 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
970,574
 | 
| Redeemable Noncontrolling Interests [Roll Forward] | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Acquisitions | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
9,606
 | 
| Purchases of noncontrolling interests | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(21,283)
 | 
| Redeemable noncontrolling interests fair value adjustments | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
53,549
 | 
| Contribution received | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(28)
 | 
| Cash distributions | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(6,099)
 | 
| Other | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
(1,562)
 | 
| Comprehensive income (loss): | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
| Net income (loss) | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
19,150
 | 
| Balances at Sep. 30, 2024 | 
$ 1,023,907
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
 
 | 
$ 1,023,907
 |