STOCKHOLDERS' EQUITY AND 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 |
3 Months Ended | |
|---|---|---|
Mar. 31, 2025 |
Mar. 31, 2024 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities (in shares) | 274 | 280 |
| Green Convertible Notes | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities (in shares) | 149 | 149 |
| Stock warrants | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities (in shares) | 12 | 12 |
| Stock options | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities (in shares) | 59 | 61 |
| RSUs, ESPP, and other stock-based awards | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities (in shares) | 54 | 58 |