XML 39 R29.htm IDEA: XBRL DOCUMENT v3.21.2
Earnings (Loss) Per Share (Tables)
9 Months Ended
Sep. 30, 2021
Earnings Per Share [Abstract]  
Schedule of calculation of basic and diluted earnings (loss) per share
The following table sets forth the computation of basic and diluted earnings (loss) per share for the three and nine months ended September 30, 2021 and 2020:

Three Months Ended September 30,Nine Months Ended September 30,
 2021202020212020
Net income (loss)$14,948 $6,850 $38,098 $(14,623)
Basic – weighted average shares outstanding29,179 28,583 29,097 28,529 
Effect of dilutive potential securities2,964 843 2,923 — 
Diluted – weighted average shares outstanding32,143 29,426 32,020 28,529 
Net income (loss) (per share)    
Basic$0.51 $0.24 $1.31 $(0.51)
Diluted0.47 0.23 1.19 (0.51)