XML 29 R18.htm IDEA: XBRL DOCUMENT v3.20.2
Net income (loss) per share (Tables)
9 Months Ended
Oct. 31, 2020
Earnings Per Share [Abstract]  
Schedule of earnings (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)2020201920202019
Numerator (basic and diluted):
Net income (loss)$1,789 $(21,334)$3,467 $39,854 
Denominator (basic):
Weighted-average common shares outstanding76,701 70,524 73,358 65,727 
Denominator (diluted):
Weighted-average common shares outstanding76,701 70,524 73,358 65,727 
Weighted-average dilutive effect of stock options and restricted stock units1,144 — 1,307 1,423 
Diluted weighted-average common shares outstanding77,845 70,524 74,665 67,150 
Net income (loss) per share:
Basic $0.02 $(0.30)$0.05 $0.61 
Diluted$0.02 $(0.30)$0.05 $0.59