Stockholders' Equity - Additional Information (Details) $ / shares in Units, $ in Thousands |
1 Months Ended |
3 Months Ended |
6 Months Ended |
12 Months Ended |
|
Feb. 28, 2025
USD ($)
shares
|
Aug. 31, 2023
USD ($)
shares
|
Dec. 31, 2021
Tranche
|
Jun. 30, 2025
USD ($)
$ / shares
shares
|
Jun. 30, 2024
USD ($)
|
Mar. 31, 2024
USD ($)
|
Jun. 30, 2025
USD ($)
Tranche
$ / shares
shares
|
Jun. 30, 2024
USD ($)
shares
|
Dec. 31, 2024
USD ($)
$ / shares
shares
|
Dec. 31, 2023
shares
|
Dec. 31, 2022
shares
|
Dec. 31, 2021
shares
|
Feb. 28, 2023
USD ($)
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shares authorized | shares |
|
|
|
1,350,000,000
|
|
|
1,350,000,000
|
|
1,350,000,000
|
|
|
|
|
|
Common stock, authorized | shares |
|
|
|
1,250,000,000
|
|
|
1,250,000,000
|
|
1,250,000,000
|
|
|
|
|
|
Preferred stock, authorized | shares |
|
|
|
100,000,000
|
|
|
100,000,000
|
|
100,000,000
|
|
|
|
|
|
Common stock voting rights, description |
|
|
|
|
|
|
The holder of each share of Class A Common Stock is entitled to one vote, and the holder of each share of Class B Common Stock is entitled to ten votes.
|
|
|
|
|
|
|
|
Stock issuance costs |
|
|
|
|
|
|
$ 227
|
|
|
|
|
|
|
|
Proceeds from common stock |
|
|
|
|
|
|
$ 1,033
|
|
|
|
|
|
|
|
Options vesting period |
|
|
|
|
|
|
4 years
|
|
|
|
|
|
|
|
Granted stock option | shares |
|
|
|
|
|
|
0
|
0
|
|
|
|
|
|
|
Aggregate intrinsic value |
|
|
|
|
|
|
$ 29,700
|
$ 10,800
|
|
|
|
|
|
|
Stock-based compensation unvested stock options not yet recognized |
|
|
|
$ 200
|
|
|
$ 200
|
|
|
|
|
|
|
|
Expected to be recognized estimated weighted average period |
|
|
|
|
|
|
2 months 12 days
|
|
|
|
|
|
|
|
Remaining number of shares outstanding | shares |
|
|
|
9,836,000
|
|
|
9,836,000
|
|
24,043,000
|
[1] |
|
|
|
|
Stock-based compensation expense |
|
|
|
$ 26,255
|
$ 47,825
|
|
$ 66,894
|
67,112
|
|
|
|
|
|
|
Additional paid-in-capital |
|
|
|
4,612,488
|
|
|
$ 4,612,488
|
|
$ 4,515,879
|
|
|
|
|
|
Management Team and Certain Other Employees |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stock units granted | shares |
|
|
|
|
|
|
5,300,000
|
|
|
|
|
|
|
|
EPA |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Granted stock option | shares |
|
|
|
|
|
|
|
|
5,900,000
|
|
|
|
|
|
Expected to be recognized estimated weighted average period |
|
|
|
|
|
|
1 year 8 months 12 days
|
|
|
|
|
|
|
|
Unrecognized stock-based compensation expense |
|
|
|
$ 1,000
|
|
|
$ 1,000
|
|
|
|
|
|
|
|
Number of tranches | Tranche |
|
|
5
|
|
|
|
|
|
|
|
|
|
|
|
Number of tranches achieved business milestone | Tranche |
|
|
|
|
|
|
1
|
|
|
|
|
|
|
|
Number of tranches considered probable | Tranche |
|
|
|
|
|
|
1
|
|
|
|
|
|
|
|
Remaining number of shares outstanding | shares |
|
|
|
1,000,000
|
|
|
1,000,000
|
|
|
|
|
|
|
|
Stock-based compensation expense |
|
|
|
$ 800
|
|
$ 14,800
|
$ 5,200
|
14,800
|
|
|
|
|
|
|
Stock-based compensation award cancelled |
|
|
|
|
|
|
5,700
|
|
|
|
|
|
|
|
EPA | Milestones Currently, Not Probable of Achievement |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unrecognized stock-based compensation expense |
|
|
|
7,000
|
|
|
$ 7,000
|
|
|
|
|
|
|
|
RSUs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Expected to be recognized estimated weighted average period |
|
|
|
|
|
|
2 years 9 months 18 days
|
|
|
|
|
|
|
|
Fair value of stock units vested |
|
|
|
|
|
|
$ 27,400
|
29,700
|
|
|
|
|
|
|
Unrecognized stock-based compensation expense |
|
|
|
180,500
|
|
|
$ 180,500
|
|
|
|
|
|
|
|
Stock units granted | shares |
|
|
|
|
|
|
20,411,000
|
|
|
|
|
|
|
|
PSUs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Expected to be recognized estimated weighted average period |
|
|
|
|
|
|
1 year 6 months
|
|
|
|
|
|
|
|
Unrecognized stock-based compensation expense |
|
|
|
21,800
|
|
|
$ 21,800
|
|
|
|
|
|
|
|
Stock units granted | shares |
|
|
|
|
|
|
9,582,000
|
|
4,200,000
|
|
4,400,000
|
|
|
|
Stock-based compensation expense |
|
|
|
3,000
|
9,900
|
|
$ 6,800
|
15,200
|
|
|
|
|
|
|
2020 Equity Incentive Award Plan |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Business combination exchange ratio |
|
|
|
|
|
|
4.0217501492
|
|
|
|
|
|
|
|
2023 Bonus Plan | PSUs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fair value of stock units vested |
|
|
|
|
|
|
|
20,300
|
|
|
|
|
|
|
2024 Bonus Plan |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Restricted stock units granted and vested | shares |
4,300,000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stock-based compensation expense |
|
|
|
|
|
|
|
$ 10,900
|
|
|
|
|
|
|
Additional paid-in-capital |
$ 20,200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024 Bonus Plan | PSUs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fair value of stock units vested |
|
|
|
|
|
|
$ 32,900
|
|
|
|
|
|
|
|
2025 Bonus Plan |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stock units granted | shares |
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
Stock-based compensation expense |
|
|
|
|
|
|
$ 7,100
|
|
|
|
|
|
|
|
Immaterial credit and expense |
|
|
|
$ 8,000
|
$ 8,000
|
|
|
|
|
|
|
|
|
|
Maximum | RSUs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Options vesting period |
|
|
|
|
|
|
4 years
|
|
|
|
|
|
|
|
ATM offering |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Aggregate offering price |
|
|
|
|
|
|
|
|
|
|
|
|
|
$ 400,000
|
Class A Common Stock |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Common stock, authorized | shares |
|
|
|
1,000,000,000
|
|
|
1,000,000,000
|
|
1,000,000,000
|
|
|
|
|
|
Common stock, par value | $ / shares |
|
|
|
$ 0.0001
|
|
|
$ 0.0001
|
|
$ 0.0001
|
|
|
|
|
|
Common stock, issued | shares |
|
|
|
522,075,000
|
|
|
522,075,000
|
|
487,883,000
|
|
|
|
|
|
Class A Common Stock | EPA |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Granted stock option | shares |
|
|
|
|
|
|
|
|
|
|
|
2,100,000
|
14,700,000
|
|
Number of shares waived stock options | shares |
3,989,584
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class A Common Stock | 2020 Equity Incentive Award Plan |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Common stock authorized for issuance | shares |
|
|
|
136,592,934
|
|
|
136,592,934
|
|
|
|
|
|
|
|
Class A Common Stock | Maximum | 2020 Equity Incentive Award Plan |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Common stock authorized for issuance | shares |
|
|
|
69,846,580
|
|
|
69,846,580
|
|
|
|
|
|
|
|
Class A Common Stock | ATM offering |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Proceeds from common stock |
|
|
|
|
|
|
$ 900
|
|
$ 128,500
|
|
|
|
|
|
Number of shares sold during period | shares |
|
|
|
0
|
|
|
200,000
|
|
24,900,000
|
|
|
|
|
|
Class A Common Stock | August 2023 Public Offering |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stock issuance costs |
|
$ 11,800
|
|
|
|
|
|
|
|
|
|
|
|
|
Common stock, issued | shares |
|
37,500,000
|
|
|
|
|
|
|
|
|
|
|
|
|
Proceeds from common stock |
|
$ 288,200
|
|
|
|
|
|
|
|
|
|
|
|
|
Class B Common Stock |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class of Stock [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Common stock, authorized | shares |
|
|
|
250,000,000
|
|
|
250,000,000
|
|
250,000,000
|
|
|
|
|
|
Common stock, par value | $ / shares |
|
|
|
$ 0.0001
|
|
|
$ 0.0001
|
|
$ 0.0001
|
|
|
|
|
|
Common stock, issued | shares |
|
|
|
43,241,000
|
|
|
43,241,000
|
|
54,666,000
|
|
|
|
|
|
|
|