v3.23.3
Net income (loss) per share
9 Months Ended
Oct. 31, 2023
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:
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)
For the three months ended October 31, 2023 and 2022, approximately 0.6 million and 2.0 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.
For the nine months ended October 31, 2023 and 2022, approximately 1.0 million and 2.4 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.