XML 40 R30.htm IDEA: XBRL DOCUMENT v3.21.2
Earnings (Loss) Per Share (Tables)
6 Months Ended
Jun. 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 per share for the three and six months ended June 30, 2021 and 2020:

Three Months Ended June 30,Six Months Ended June 30,
 2021202020212020
Net income (loss)$13,290 $(27,400)$23,150 $(21,473)
Basic – weighted average shares outstanding29,125 28,542 29,052 28,506 
Effect of dilutive potential securities3,339 — 2,912 — 
Diluted – weighted average shares outstanding32,464 28,542 31,964 28,506 
Net income (loss) (per share)    
Basic$0.46 $(0.96)$0.80 $(0.75)
Diluted0.41 (0.96)0.72 (0.75)