| Net income (loss) per share attributable to common stockholders |
Net income (loss) per share attributable to common stockholders (a) Net income (loss) per share attributable to common stockholders Basic and diluted net income (loss) per share attributable to common stockholders was calculated as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | Three months ended October 31, | | Nine months ended October 31, | | 2025 | | 2024 | | 2025 | | 2024 | Basic net income (loss) per share | | | | | | | | | Numerator: | | | | | | | | Net income (loss) | $ | 4,271 | | | $ | (14,403) | | | $ | 1,011 | | | $ | (52,137) | | | Denominator: | | | | | | | | Weighted-average shares of common stock outstanding, basic | 60,008,780 | | | 57,891,591 | | | 59,513,478 | | | 57,358,637 | | Basic net income (loss) per share attributable to common stockholders: | $ | 0.07 | | | $ | (0.25) | | | $ | 0.02 | | | $ | (0.91) | | | | | | | | | | Diluted net income (loss) per share | | | | | | | | | Numerator: | | | | | | | | Net income (loss) | $ | 4,271 | | | $ | (14,403) | | | $ | 1,011 | | | $ | (52,137) | | | Denominator: | | | | | | | | | Number of shares used for basic net income (loss) per computation | 60,008,780 | | | 57,891,591 | | | 59,513,478 | | | 57,358,637 | | RSUs | 756,362 | | | — | | | 802,462 | | | — | | Stock options | 549,127 | | | — | | | 605,603 | | | — | | PSUs | 188,676 | | | — | | | 447,142 | | | — | | Liability awards | 56,904 | | | — | | | 110,589 | | | — | | ESPP | — | | | — | | | 12,487 | | | — | | Weighted-average shares of common stock outstanding, diluted | 61,559,849 | | | 57,891,591 | | | 61,491,761 | | | 57,358,637 | | Diluted net income (loss) per share attributable to common stockholders: | $ | 0.07 | | | $ | (0.25) | | | $ | 0.02 | | | $ | (0.91) | |
(b) Potential dilutive securities The Company excludes potential dilutive securities, which include stock options, RSUs, PSUs, liability awards and grants under the Company's ESPP from the computation of diluted net income (loss) per share when the effect of including the securities would be anti-dilutive. The following potential shares of common stock, presented based on amounts outstanding at each period end, were excluded from the calculation of diluted net income (loss) per share attributable to common stockholders for the periods indicated because including them would have had an anti-dilutive effect: | | | | | | | | | | | | | | | | | | | | | | | | | Three months ended October 31, | | Nine months ended October 31, | | 2025 | | 2024 | | 2025 | | 2024 | | Stock options to purchase common stock, restricted stock and performance stock awards | 322,639 | | | 6,642,857 | | | 1,691,475 | | | 6,642,857 | | | Employee stock purchase plan | 64,749 | | | 82,784 | | | 64,749 | | | 82,784 | | | Total | 387,388 | | | 6,725,641 | | | 1,756,224 | | | 6,725,641 | |
|