v3.25.1
Net Income (Loss) Per Share - Outstanding Dilutive Potential Shares Excluded from Calculation of Diluted Net Income (Loss) Per Share (Details) - shares
3 Months Ended
Mar. 31, 2025
Mar. 31, 2024
Antidilutive securities excluded from computation of EPS    
Antidilutive securities excluded from the calculation of diluted net income (loss) per share 43,377,439 40,525,745
Stock options, PSOs, including shares subject to ESPP    
Antidilutive securities excluded from computation of EPS    
Antidilutive securities excluded from the calculation of diluted net income (loss) per share 31,070,766 27,498,348
Restricted stock units    
Antidilutive securities excluded from computation of EPS    
Antidilutive securities excluded from the calculation of diluted net income (loss) per share 364,521 1,085,245
2026 Convertible Notes | Shares issuable upon conversion of convertible notes    
Antidilutive securities excluded from computation of EPS    
Antidilutive securities excluded from the calculation of diluted net income (loss) per share 11,942,152 11,942,152