Condensed Consolidated Statements of Redeemable Convertible Preferred Units and Stockholders'/Members' Equity (Deficit) - USD ($) shares in Thousands, $ in Thousands | Total | Common Units | Class A and Class B Common Stock | Additional Paid-in Capital | Accumulated Other Comprehensive Loss | Accumulated Deficit | Redeemable Convertible Preferred Units |
Beginning balance (in shares) at Dec. 31, 2020 | | | | | | | 1,329,465 |
Beginning balance at Dec. 31, 2020 | | | | | | | $ 3,465,611 |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | |
Conversion of redeemable convertible preferred units into Class A and Class B common stock (in shares) | | | | | | | (1,329,465) |
Conversion of redeemable convertible preferred units into Class A and Class B common stock | | | | | | | $ (3,465,611) |
Ending balance (in shares) at Mar. 31, 2021 | | | | | | | 0 |
Ending balance at Mar. 31, 2021 | | | | | | | $ 0 |
Beginning balance (in shares) at Dec. 31, 2020 | | 105,822 | 0 | | | | |
Common units, beginning balance at Dec. 31, 2020 | | $ 45,122 | | | | | |
Beginning balance at Dec. 31, 2020 | $ (4,068,862) | | $ 0 | $ 25,036 | $ (31,093) | $ (4,107,927) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Net loss | (295,033) | | | | | (295,033) | |
Foreign currency translation adjustments, net of tax | 14,972 | | | | 14,972 | | |
Actuarial gain (loss) on defined severance benefits, net of tax | 918 | | | | 918 | | |
Issuance of common units, equity-based compensation plan (in shares) | | 22,901 | | | | | |
Issuance of common units, equity-based compensation plan | 38,968 | $ 38,968 | | | | | |
Equity-based compensation | 2,974 | $ 2,974 | | | | | |
Conversion of common units into Class A and Class B common stock (in shares) | | 128,723 | 128,648 | | | | |
Conversion of common units into Class A and Class B common stock | 0 | $ (87,064) | $ (13) | (87,051) | | | |
Conversion of redeemable convertible preferred units into Class A and Class B common stock (in shares) | | | 1,329,465 | | | | |
Conversion of redeemable convertible preferred units into Class A and Class B common stock | 3,465,611 | | $ 133 | 3,465,478 | | | |
Issuance of Class A common stock, net of underwriting discounts and offering costs (in shares) | | | 100,000 | | | | |
Issuance of Class A common stock, net of underwriting discounts and offering costs | 3,416,819 | | $ 10 | 3,416,809 | | | |
Conversion of convertible notes into Class A common stock | | | 171,750 | | | | |
Conversion of convertible notes into Class A common stock | 609,999 | | $ 17 | 609,982 | | | |
Issuance of common units, equity-based compensation plan (in shares) | | | 2,680 | | | | |
Issuance of common units, equity-based compensation plan | 4,767 | | | 4,767 | | | |
Equity-based compensation subsequent to Corporate Conversion and IPO | 83,992 | | | 83,992 | | | |
Ending balance (in shares) at Mar. 31, 2021 | | 0 | 1,732,543 | | | | |
Common units, ending balance at Mar. 31, 2021 | | $ 0 | | | | | |
Ending balance at Mar. 31, 2021 | 3,275,125 | | $ 173 | 7,693,115 | (15,203) | (4,402,960) | |
Beginning balance (in shares) at Dec. 31, 2020 | | | | | | | 1,329,465 |
Beginning balance at Dec. 31, 2020 | | | | | | | $ 3,465,611 |
Ending balance (in shares) at Jun. 30, 2021 | | | | | | | 0 |
Ending balance at Jun. 30, 2021 | | | | | | | $ 0 |
Beginning balance (in shares) at Dec. 31, 2020 | | 105,822 | 0 | | | | |
Common units, beginning balance at Dec. 31, 2020 | | $ 45,122 | | | | | |
Beginning balance at Dec. 31, 2020 | (4,068,862) | | $ 0 | 25,036 | (31,093) | (4,107,927) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Net loss | (813,634) | | | | | | |
Foreign currency translation adjustments, net of tax | 14,621 | | | | | | |
Actuarial gain (loss) on defined severance benefits, net of tax | (8,974) | | | | | | |
Ending balance (in shares) at Jun. 30, 2021 | | 0 | 1,735,579 | | | | |
Common units, ending balance at Jun. 30, 2021 | | $ 0 | | | | | |
Ending balance at Jun. 30, 2021 | 2,802,629 | | $ 173 | 7,749,463 | (25,446) | (4,921,561) | |
Beginning balance (in shares) at Mar. 31, 2021 | | | | | | | 0 |
Beginning balance at Mar. 31, 2021 | | | | | | | $ 0 |
Ending balance (in shares) at Jun. 30, 2021 | | | | | | | 0 |
Ending balance at Jun. 30, 2021 | | | | | | | $ 0 |
Beginning balance (in shares) at Mar. 31, 2021 | | 0 | 1,732,543 | | | | |
Common units, beginning balance at Mar. 31, 2021 | | $ 0 | | | | | |
Beginning balance at Mar. 31, 2021 | 3,275,125 | | $ 173 | 7,693,115 | (15,203) | (4,402,960) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Net loss | (518,601) | | | | | (518,601) | |
Foreign currency translation adjustments, net of tax | (351) | | | | (351) | | |
Actuarial gain (loss) on defined severance benefits, net of tax | (9,892) | | | | (9,892) | | |
Equity-based compensation | 50,346 | | | 50,346 | | | |
Issuance of common units, equity-based compensation plan (in shares) | | | 3,036 | | | | |
Issuance of common units, equity-based compensation plan | 6,002 | | | 6,002 | | | |
Ending balance (in shares) at Jun. 30, 2021 | | 0 | 1,735,579 | | | | |
Common units, ending balance at Jun. 30, 2021 | | $ 0 | | | | | |
Ending balance at Jun. 30, 2021 | 2,802,629 | | $ 173 | 7,749,463 | (25,446) | (4,921,561) | |
Beginning balance (in shares) at Dec. 31, 2021 | | | | | | | 0 |
Beginning balance at Dec. 31, 2021 | | | | | | | $ 0 |
Ending balance (in shares) at Mar. 31, 2022 | | | | | | | 0 |
Ending balance at Mar. 31, 2022 | | | | | | | $ 0 |
Beginning balance (in shares) at Dec. 31, 2021 | | 0 | 1,754,203 | | | | |
Common units, beginning balance at Dec. 31, 2021 | | $ 0 | | | | | |
Beginning balance at Dec. 31, 2021 | 2,175,957 | | $ 175 | 7,874,038 | (47,739) | (5,650,517) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Net loss | (209,294) | | | | | (209,294) | |
Foreign currency translation adjustments, net of tax | 3,011 | | | | 3,011 | | |
Actuarial gain (loss) on defined severance benefits, net of tax | 3,811 | | | | 3,811 | | |
Issuance of common stock upon settlement of restricted stock units (in shares) | | | 2,708 | | | | |
Issuance of common stock upon settlement of restricted stock units | 0 | | | | | | |
Equity-based compensation | 55,593 | | | 55,593 | | | |
Issuance of common units, equity-based compensation plan (in shares) | | | 4,147 | | | | |
Issuance of common units, equity-based compensation plan | 8,183 | | $ 1 | 8,182 | | | |
Ending balance (in shares) at Mar. 31, 2022 | | 0 | 1,761,058 | | | | |
Common units, ending balance at Mar. 31, 2022 | | $ 0 | | | | | |
Ending balance at Mar. 31, 2022 | 2,037,261 | | $ 176 | 7,937,813 | (40,917) | (5,859,811) | |
Beginning balance (in shares) at Dec. 31, 2021 | | | | | | | 0 |
Beginning balance at Dec. 31, 2021 | | | | | | | $ 0 |
Ending balance (in shares) at Jun. 30, 2022 | | | | | | | 0 |
Ending balance at Jun. 30, 2022 | | | | | | | $ 0 |
Beginning balance (in shares) at Dec. 31, 2021 | | 0 | 1,754,203 | | | | |
Common units, beginning balance at Dec. 31, 2021 | | $ 0 | | | | | |
Beginning balance at Dec. 31, 2021 | 2,175,957 | | $ 175 | 7,874,038 | (47,739) | (5,650,517) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Net loss | (284,785) | | | | | | |
Foreign currency translation adjustments, net of tax | (1,959) | | | | | | |
Actuarial gain (loss) on defined severance benefits, net of tax | 38,007 | | | | | | |
Ending balance (in shares) at Jun. 30, 2022 | | 0 | 1,765,117 | | | | |
Common units, ending balance at Jun. 30, 2022 | | $ 0 | | | | | |
Ending balance at Jun. 30, 2022 | 2,068,096 | | $ 177 | 8,014,912 | (11,691) | (5,935,302) | |
Beginning balance (in shares) at Mar. 31, 2022 | | | | | | | 0 |
Beginning balance at Mar. 31, 2022 | | | | | | | $ 0 |
Ending balance (in shares) at Jun. 30, 2022 | | | | | | | 0 |
Ending balance at Jun. 30, 2022 | | | | | | | $ 0 |
Beginning balance (in shares) at Mar. 31, 2022 | | 0 | 1,761,058 | | | | |
Common units, beginning balance at Mar. 31, 2022 | | $ 0 | | | | | |
Beginning balance at Mar. 31, 2022 | 2,037,261 | | $ 176 | 7,937,813 | (40,917) | (5,859,811) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | |
Net loss | (75,491) | | | | | (75,491) | |
Foreign currency translation adjustments, net of tax | (4,970) | | | | (4,970) | | |
Actuarial gain (loss) on defined severance benefits, net of tax | 34,196 | | | | 34,196 | | |
Issuance of common stock upon settlement of restricted stock units (in shares) | | | 2,028 | | | | |
Issuance of common stock upon settlement of restricted stock units | 0 | | | | | | |
Equity-based compensation | 72,916 | | | 72,916 | | | |
Issuance of common units, equity-based compensation plan (in shares) | | | 2,031 | | | | |
Issuance of common units, equity-based compensation plan | 4,184 | | $ 1 | 4,183 | | | |
Ending balance (in shares) at Jun. 30, 2022 | | 0 | 1,765,117 | | | | |
Common units, ending balance at Jun. 30, 2022 | | $ 0 | | | | | |
Ending balance at Jun. 30, 2022 | $ 2,068,096 | | $ 177 | $ 8,014,912 | $ (11,691) | $ (5,935,302) | |