v3.26.1
NET INCOME (LOSS) PER SHARE - Schedule of Antidilutive Securities Excluded from Calculation of Diluted Net Income (loss) Per Share (Details) - shares
shares in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from calculation of diluted net Income per share (in shares) 48,803 53,219 50,663 49,251
Stock options, restricted stock, and employee stock purchase plan        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from calculation of diluted net Income per share (in shares) 44,959 41,593 43,612 37,385
Convertible notes        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from calculation of diluted net Income per share (in shares) 0 0 3,207 0
Common stock warrants        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from calculation of diluted net Income per share (in shares) 3,844 11,626 3,844 11,866