v3.23.3
Net income (loss) per share (Tables)
9 Months Ended
Oct. 31, 2023
Earnings Per Share [Abstract]  
Schedule of Earnings Income (Loss) Per Share, Basic and Diluted
The following table sets forth the computation of basic and diluted net income (loss) per share:
Three months ended October 31,Nine months ended October 31,
(in thousands, except per share data)2023202220232022
Numerator (basic and diluted):
Net income (loss)$14,673 $(1,641)$29,348 $(25,934)
Denominator (basic):
Weighted-average common shares outstanding85,697 84,572 85,424 84,349 
Denominator (diluted):
Weighted-average common shares outstanding85,697 84,572 85,424 84,349 
Weighted-average dilutive effect of stock options and restricted stock units1,425 — 1,283 — 
Diluted weighted-average common shares outstanding87,122 84,572 86,707 84,349 
Net income (loss) per share:
Basic $0.17 $(0.02)$0.34 $(0.31)
Diluted$0.17 $(0.02)$0.34 $(0.31)