v3.25.2
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 2025
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share Net Income (Loss) Per Share
Basic net income (loss) per common share is based on the weighted-average common shares outstanding during the relevant period. Diluted net income (loss) per share is based on the weighted-average common shares outstanding during the relevant period, adjusted for the dilutive effect of share-based awards and convertible debt.

For periods in which the Company reports net losses, basic and diluted net loss per share are the same because potentially dilutive common shares are not assumed to have been issued if their effect is anti-dilutive.
Three Months Ended June 30,Six Months Ended June 30,
2024202520242025
Numerator:
Net income (loss)$(54,470)$5,607 $(119,068)$3,160 
Denominator:
Weighted-average common shares outstanding used to calculate net income (loss) per share, basic
88,435,893 95,526,364 87,733,294 94,903,909 
Weighted-average effect of dilutive securities— 7,325,920 — 8,273,674 
Weighted-average common shares outstanding used to calculate net income (loss) per share, diluted
88,435,893 102,852,284 87,733,294 103,177,583 
Net income (loss) per share, basic$(0.62)$0.06 $(1.36)$0.03 
Net income (loss) per share, diluted$(0.62)$0.05 $(1.36)$0.03 
The following securities were excluded from the computation of diluted net income (loss) per share for the periods presented, due to their anti-dilutive effect. These amounts represent the number of instruments outstanding at the end of each respective period:

Three Months Ended June 30,Six Months Ended June 30,
2024202520242025
Options to purchase common stock13,229,971 9,839,891 13,229,971 9,839,891 
Unvested RSUs5,141,818 3,152,602 5,141,818 3,152,602 
Purchase rights committed under the ESPP152,542 65,540 152,542 65,540 
Convertible debt2,318,078 15,929,353 2,318,078 15,929,353 
Total20,842,409 28,987,386 20,842,409 28,987,386