| Schedule of basic and diluted net income per share |
The following table presents the calculation of basic and diluted net income per share (in thousands, except per share data):
| | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended June 30, | | Six Months Ended June 30, | | 2026 | | 2025 | | 2026 | | 2025 | | Basic net income (loss) per share: | | | | | | | | | Net income (loss) | $ | (17,931) | | | $ | 34,538 | | | $ | (31,401) | | | $ | 180 | | | Weighted average common shares, basic | 129,984,169 | | | 123,755,409 | | | 129,050,312 | | | 123,183,924 | | | Basic net income (loss) per share | $ | (0.14) | | | $ | 0.28 | | | $ | (0.24) | | | $ | 0.00 | | | Diluted net income (loss) per share: | | | | | | | | | Net income (loss) | $ | (17,931) | | | $ | 34,538 | | | $ | (31,401) | | | $ | 180 | | | Weighted average common shares, basic | 129,984,169 | | | 123,755,409 | | | 129,050,312 | | | 123,183,924 | | | Effect of dilutive awards: | | | | | | | | | Employee stock plans | — | | | 754,311 | | | — | | | 1,074,226 | | | Weighted-average common shares, diluted | 129,984,169 | | | 124,509,720 | | | 129,050,312 | | | 124,258,150 | | | Diluted net income (loss) per share | $ | (0.14) | | | $ | 0.28 | | | $ | (0.24) | | | $ | 0.00 | |
|
| Schedule of anti-dilutive net loss per share attributable to common stockholders |
The following outstanding shares of common stock equivalents were excluded from the computation of diluted net income (loss) per share for the periods presented because including them would have had an anti-dilutive effect: | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended June 30, | | Six Months Ended June 30, | | 2026 | | 2025 | | 2026 | | 2025 | | Restricted stock units | 8,758,290 | | | 6,538,214 | | | 8,758,290 | | | 5,598,764 | | | Stock options to purchase common stock | 3,390,826 | | | 3,332,653 | | | 3,390,826 | | | 3,404,257 | | | Shares committed under the ESPP | 73,968 | | | — | | | 73,968 | | | — | | | Total | 12,223,084 | | | 9,870,867 | | | 12,223,084 | | | 9,003,021 | |
|