v3.26.1
Net Income (Loss) Per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details) - shares
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total (in shares) 39,308,155 29,944,263
Options to purchase common stock    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total (in shares) 9,220,829 10,122,309
Unvested RSUs    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total (in shares) 4,743,439 3,826,545
Unvested PRSUs    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total (in shares) 1,726,737 0
Purchase rights committed under the ESPP    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total (in shares) 139,312 66,056
Convertible senior notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total (in shares) 23,477,838 15,929,353