v3.26.1
Net Income (Loss) Per Share - Antidilutive Securities Excluded from Computation of Earnings Per Share (Details) - shares
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Shares subject to outstanding common stock options    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 0 848,151
Shares subject to unvested restricted stock units and performance restricted stock units    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 0 3,144,913
Shares issuable pursuant to the ESPP    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 0 91,315
Shares underlying our convertible senior notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 5,243,238 6,132,025