NET LOSS PER SHARE - Schedule of Number of Potential Shares of Common Stock Outstanding Excluded from Computation of Diluted Net Loss Per Share (Details) - shares shares in Millions |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities (in shares) | 286 | 287 | 121 |
| Green Convertible Notes | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities (in shares) | 149 | 149 | 0 |
| Stock warrants | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities (in shares) | 12 | 12 | 12 |
| Stock options | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities (in shares) | 60 | 62 | 61 |
| RSUs, ESPP, and other stock-based awards | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities (in shares) | 65 | 64 | 48 |