v3.26.1
NET INCOME (LOSS) PER SHARE - Schedule of Potentially Dilutive Shares Excluded from Earnings Per Share (Details) - shares
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]        
Weighted-average potentially dilutive shares excluded from the calculation of diluted earnings per share (in shares) 7,930,760 11,510,586 5,169,798 10,966,449
RSUs and PSUs subject to future vesting        
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Weighted-average potentially dilutive shares excluded from the calculation of diluted earnings per share (in shares) 7,920,780 8,267,286 5,163,328 7,639,155
Shares issuable pursuant to the ESPP        
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Weighted-average potentially dilutive shares excluded from the calculation of diluted earnings per share (in shares) 9,980 443,577 6,470 443,948
Shares of common stock issuable from stock options        
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Weighted-average potentially dilutive shares excluded from the calculation of diluted earnings per share (in shares) 0 2,799,723 0 2,883,346