XML 23 R13.htm IDEA: XBRL DOCUMENT v3.23.2
Earnings per share
6 Months Ended
Jun. 30, 2023
Earnings per share [Abstract]  
Earnings per share
6. Earnings per share

The following table sets forth the reconciliation of basic and diluted weighted average shares outstanding:

   
Three Months Ended
   
Six Months Ended
 
 
June 30,
   
June 30,
 
   
2023
   
2022
   
2023
   
2022
 
   
(In thousands, except per share data)
 
Net income (loss)
 
$
765
   
$
(2,376
)
  $ 3,904   $ (6,724 )
                                 
Shares:
                               
Basic:  Weighted average common shares outstanding
   
9,956
     
9,910
      9,943       9,898  
Add:  Dilutive effect of outstanding options and restricted stock units as determined by the treasury stock method
   
61
     
      73        
Diluted:  Weighted average common and common equivalent shares outstanding
   
10,017
     
9,910
      10,016       9,898  
                                 
Net income (loss) per common share:
                               
Basic
 
$
0.08
   
$
(0.24
)
  $ 0.39   $ (0.68 )
Diluted
 
$
0.08
   
$
(0.24
)
  $ 0.39   $ (0.68 )

The computation of diluted earnings per share excludes the effect of the potential exercise of stock awards, including stock options and restricted stock units, when the average market price of the common stock is lower than the exercise price of the related stock award during the period, as the inclusion of these stock awards in the computation of diluted earnings would be anti-dilutive. For the three and six months ended June 30, 2022, there were 1.5 million and 1.2 million, respectively, of potentially dilutive shares consisting of stock awards that were excluded from the calculation of earnings per diluted share.  Furthermore, in  periods when a net loss is reported, such as the three and six months ended June 30, 2022, basic and diluted net loss per common share are calculated using the same method.