Condensed Consolidated Statements of Redeemable Convertible Preferred Stock, Common Stock and Stockholders' Equity (Deficit) - USD ($) $ in Thousands | Total | IPO [Member] | Excercise Of Warrants [Member] | Treasury Stock [Member] | Additional Paid-in Capital [Member] | Additional Paid-in Capital [Member] IPO [Member] | Additional Paid-in Capital [Member] Excercise Of Warrants [Member] | Accumulated Deficit [Member] | Accumulated Other Comprehensive (Loss) Income [Member] | Redeemable Convertible Preferred Stock [Member] | Redeemable Convertible Preferred Stock [Member] Common Stock [Member] | Redeemable Convertible Preferred Stock [Member] Common Stock [Member] Series G-3 Preferred Stock [Member] | Redeemable Convertible Preferred Stock [Member] Common Stock [Member] Series G-5 Preferred Stock [Member] | Redeemable Convertible Preferred Stock [Member] Common Stock [Member] Series G-4 Preferred Stock [Member] | Class A Voting Stock [Member] | Class A Voting Stock [Member] Common Stock [Member] | Class A Voting Stock [Member] Common Stock [Member] IPO [Member] | Class A Voting Stock [Member] Common Stock [Member] Excercise Of Warrants [Member] | Class B Voting Stock [Member] Common Stock [Member] | Class B Voting Stock [Member] Common Stock [Member] Excercise Of Warrants [Member] | Non-voting Common Stock [Member] Common Stock [Member] |
Beginning Balance, Shares at Dec. 31, 2022 | | | | | | | | | | | 62,692,927 | | | | | | | | | | |
Beginning Balance at Dec. 31, 2022 | | | | | | | | | | | $ 1,026,143 | | | | | | | | | | |
Beginning Balance, Shares at Dec. 31, 2022 | | | | 0 | | | | | | | | | | | | 58,367,961 | | | | | 4,932,415 |
Beginning Balance at Dec. 31, 2022 | $ (1,129,027) | | | | $ 9,251 | | | $ (1,138,302) | $ 18 | | | | | | | $ 6 | | | | | $ 0 |
Issuance of Series Preferred Stock | | | | | | | | | | | | $ 2,738 | | | | | | | | | |
Issuance of Series Preferred Stock, Shares | | | | | | | | | | | | 47,781 | | | | | | | | | |
Foreign currency translation adjustment | 25 | | | | | | | | 25 | | | | | | | | | | | | |
Repurchase of Non-voting Common Stock | (3,602) | | | $ (3,602) | | | | | | | | | | | | | | | | | |
Repurchase of Non-voting Common Stock, Shares | | | | (145,466) | | | | | | | | | | | | | | | | | |
Common stock issued in connection with business combination | 4,305 | | | | 4,305 | | | | | | | | | | | | | | | | $ 0 |
Common stock issued in connection with business combination, Shares | | | | | | | | | | | | | | | | | | | | | 130,874 |
Dividends | | | | | | | | | | | 13,980 | | | | | | | | | | |
Dividends | (21,566) | | | | | | | (21,566) | | | | | | | | | | | | | |
Net loss | (110,209) | | | | | | | (110,209) | | | | | | | | | | | | | |
Ending Balance at Jun. 30, 2023 | (1,260,074) | | | $ (3,602) | 13,556 | | | (1,270,077) | 43 | | | | | | | $ 6 | | | $ 0 | | $ 0 |
Ending Balance, Shares at Jun. 30, 2023 | | | | (145,466) | | | | | | | | | | | | 58,367,961 | | | 0 | | 5,063,289 |
Ending Balance at Jun. 30, 2023 | | | | | | | | | | | $ 1,042,861 | | | | | | | | | | |
Ending Balance, Shares at Jun. 30, 2023 | | | | | | | | | | | 62,740,708 | | | | | | | | | | |
Beginning Balance, Shares at Mar. 31, 2023 | | | | | | | | | | | 62,740,708 | | | | | | | | | | |
Beginning Balance at Mar. 31, 2023 | | | | | | | | | | | $ 1,034,321 | | | | | | | | | | |
Beginning Balance, Shares at Mar. 31, 2023 | | | | (145,466) | | | | | | | | | | | | 58,367,961 | | | 0 | | 5,063,289 |
Beginning Balance at Mar. 31, 2023 | (1,193,398) | | | $ (3,602) | 13,556 | | | (1,203,348) | (10) | | | | | | | $ 6 | | | $ 0 | | $ 0 |
Foreign currency translation adjustment | 53 | | | | | | | | 53 | | | | | | | | | | | | |
Dividends | | | | | | | | | | | 8,540 | | | | | | | | | | |
Dividends | (10,897) | | | | | | | (10,897) | | | | | | | | | | | | | |
Net loss | (55,832) | | | | | | | (55,832) | | | | | | | | | | | | | |
Ending Balance at Jun. 30, 2023 | $ (1,260,074) | | | $ (3,602) | 13,556 | | | (1,270,077) | 43 | | | | | | | $ 6 | | | $ 0 | | $ 0 |
Ending Balance, Shares at Jun. 30, 2023 | | | | (145,466) | | | | | | | | | | | | 58,367,961 | | | 0 | | 5,063,289 |
Ending Balance at Jun. 30, 2023 | | | | | | | | | | | $ 1,042,861 | | | | | | | | | | |
Ending Balance, Shares at Jun. 30, 2023 | | | | | | | | | | | 62,740,708 | | | | | | | | | | |
Beginning Balance, Shares at Dec. 31, 2023 | 63,525,953 | | | | | | | | | 63,525,953 | 63,525,953 | | | | | | | | | | |
Beginning Balance at Dec. 31, 2023 | | | | | | | | | | | $ 1,105,543 | | | | | | | | | | |
Beginning Balance, Shares at Dec. 31, 2023 | | | | (145,466) | | | | | | | | | | | | 58,367,961 | | | | | 5,205,802 |
Beginning Balance at Dec. 31, 2023 | $ (1,382,163) | | | $ (3,602) | 18,345 | | | (1,396,917) | 5 | | | | | | | $ 6 | | | | | $ 0 |
Issuance of Series Preferred Stock | | | | | | | | | | | | $ 3,809 | $ 199,750 | $ 611 | | | | | | | |
Issuance of Series Preferred Stock, Shares | | | | | | | | | | | | 66,465 | 3,489,981 | 10,666 | | | | | | | |
Foreign currency translation adjustment | (99) | | | | | | | | (99) | | | | | | | | | | | | |
Common stock issued in connection with business combination | 344 | | | | 344 | | | | | | | | | | | | | | | | $ 0 |
Common stock issued in connection with business combination, Shares | | | | | | | | | | | | | | | | | | | | | 9,141 |
Issuance of common stock upon settlement of restricted stock units, net | (70,082) | | | | (70,082) | | | | | | | | | | | $ 0 | | | | | |
Issuance of common stock upon settlement of restricted stock units, net (Shares) | | | | | | | | | | | | | | | | 2,651,848 | | | | | |
Issuance of common stock | | $ 369,604 | $ (173) | | | $ 369,603 | $ (173) | | | | | | | | | | $ 1 | $ 0 | | $ 0 | |
Issuance of common stock (Shares) | | | | | | | | | | | | | | | | | 11,100,000 | 109,459 | | | |
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering (Shares) | | | | | | | | | | | (67,093,065) | | | | | | | | | | |
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering | | | | | | | | | | | $ (1,343,382) | | | | | | | | | | |
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering | 1,348,809 | | | | 1,357,562 | | | (8,761) | | | | | | | | $ 7 | | | $ 1 | | |
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering (Shares) | | | | | | | | | | | | | | | | 71,976,178 | | | 5,043,789 | | |
Conversion of non-voting common stock to Class A common stock | 0 | | | | (1) | | | | | | | | | | | $ 1 | | | | | $ 0 |
Conversion of non-voting common stock to Class A common stock (Shares) | | | | | | | | | | | | | | | | 5,069,477 | | | | | (5,214,943) |
Stock-based compensation expense | 488,313 | | | | 488,313 | | | | | | | | | | | | | | | | |
Dividends | | | | | | | | | | | 33,669 | | | | | | | | | | |
Dividends | (39,347) | | | | | | | (39,347) | | | | | | | | | | | | | |
Net loss | (616,955) | | | | | | | (616,955) | | | | | | | | | | | | | |
Ending Balance at Jun. 30, 2024 | 98,251 | | | $ (3,602) | 2,163,911 | | | (2,061,980) | (94) | | | | | | | $ 15 | | | $ 1 | | $ 0 |
Ending Balance, Shares at Jun. 30, 2024 | | | | (145,466) | | | | | | | | | | | | 149,274,923 | | | 5,043,789 | | 0 |
Ending Balance at Jun. 30, 2024 | | | | | | | | | | | $ 0 | | | | | | | | | | |
Ending Balance, Shares at Jun. 30, 2024 | | | | | | | | | | 0 | 0 | | | | | | | | | | |
Beginning Balance, Shares at Mar. 31, 2024 | | | | | | | | | | | 63,603,084 | | | | | | | | | | |
Beginning Balance at Mar. 31, 2024 | | | | | | | | | | | $ 1,134,802 | | | | | | | | | | |
Beginning Balance, Shares at Mar. 31, 2024 | | | | (145,466) | | | | | | | | | | | | 58,367,961 | | | 0 | | 5,214,943 |
Beginning Balance at Mar. 31, 2024 | (1,474,425) | | | $ (3,602) | 18,689 | | | (1,489,467) | (51) | | | | | | | $ 6 | | | $ 0 | | $ 0 |
Issuance of Series Preferred Stock | | | | | | | | | | | | | $ 199,750 | | | | | | | | |
Issuance of Series Preferred Stock, Shares | | | | | | | | | | | | | 3,489,981 | | | | | | | | |
Foreign currency translation adjustment | (43) | | | | | | | | (43) | | | | | | | | | | | | |
Issuance of common stock upon settlement of restricted stock units, net | (70,082) | | | | (70,082) | | | | | | | | | | | $ 0 | | | | | |
Issuance of common stock upon settlement of restricted stock units, net (Shares) | | | | | | | | | | | | | | | | 2,651,848 | | | | | |
Issuance of common stock | | $ 369,604 | $ (173) | | | $ 369,603 | $ (173) | | | | | | | | | | $ 1 | $ 0 | | | |
Issuance of common stock (Shares) | | | | | | | | | | | | | | | | | 11,100,000 | 109,459 | | | |
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering (Shares) | | | | | | | | | | | (67,093,065) | | | | 71,976,178 | | | | | | |
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering | | | | | | | | | | | $ (1,343,382) | | | | | | | | | | |
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering | 1,348,809 | | | | 1,357,562 | | | (8,761) | | | | | | | | $ 7 | | | $ 1 | | |
Conversion of redeemable convertible preferred stock to common stock in connection with initial public offering (Shares) | | | | | | | | | | | | | | | | 71,976,178 | | | 5,043,789 | | |
Conversion of non-voting common stock to Class A common stock | 0 | | | | (1) | | | | | | | | | | | $ 1 | | | | | $ 0 |
Conversion of non-voting common stock to Class A common stock (Shares) | | | | | | | | | | | | | | | | 5,069,477 | | | | | (5,214,943) |
Stock-based compensation expense | 488,313 | | | | 488,313 | | | | | | | | | | | | | | | | |
Dividends | | | | | | | | | | | 8,830 | | | | | | | | | | |
Dividends | (11,540) | | | | | | | (11,540) | | | | | | | | | | | | | |
Net loss | (552,212) | | | | | | | (552,212) | | | | | | | | | | | | | |
Ending Balance at Jun. 30, 2024 | $ 98,251 | | | $ (3,602) | $ 2,163,911 | | | $ (2,061,980) | $ (94) | | | | | | | $ 15 | | | $ 1 | | $ 0 |
Ending Balance, Shares at Jun. 30, 2024 | | | | (145,466) | | | | | | | | | | | | 149,274,923 | | | 5,043,789 | | 0 |
Ending Balance at Jun. 30, 2024 | | | | | | | | | | | $ 0 | | | | | | | | | | |
Ending Balance, Shares at Jun. 30, 2024 | | | | | | | | | | 0 | 0 | | | | | | | | | | |