v3.25.2
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 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities (in shares) 311 392 311 392
Green Convertible Notes        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities (in shares) 149 149 149 149
2026 Convertible Note        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities (in shares) 0 83 0 83
Stock warrants        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities (in shares) 12 12 12 12
Stock options        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities (in shares) 61 62 61 62
RSUs, ESPP, and other stock-based awards        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities (in shares) 89 86 89 86