v3.25.1
Net income (loss) per share (Tables)
12 Months Ended
Jan. 31, 2025
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted
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)