v3.25.1
Net income (loss) per share
12 Months Ended
Jan. 31, 2025
Earnings Per Share [Abstract]  
Net income (loss) per share Net income (loss) per share
The following table sets forth the computation of basic and diluted net income (loss) per share:
Year ended January 31,
(in thousands, except per share data)202520242023
Numerator (basic and diluted):
Net income (loss)$96,703 $55,712 $(26,143)
Denominator (basic):
Weighted-average common shares outstanding86,870 85,564 84,442 
Denominator (diluted):
Weighted-average common shares outstanding86,870 85,564 84,442 
Weighted-average dilutive effect of stock options and restricted stock units1,958 1,393 — 
Diluted weighted-average common shares outstanding88,828 86,957 84,442 
Net income (loss) per share:
Basic $1.11 $0.65 $(0.31)
Diluted$1.09 $0.64 $(0.31)
For the fiscal years ended January 31, 2025, 2024 and 2023, 0.1 million, 0.6 million, and 2.5 million shares, respectively, attributable to outstanding stock options and restricted stock units were excluded from the calculation of diluted net income (loss) per share as their inclusion would have been anti-dilutive.