XML 21 R12.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Earnings (loss) per share
6 Months Ended
Jun. 30, 2024
Earnings Per Share [Abstract]  
Earnings (loss) per share
2.
Earnings (loss) per share

Basic earnings (loss) per share is computed by dividing net income (loss) attributable to common stockholders by the weighted-average number of common shares outstanding during the reporting period. Diluted earnings (loss) per share is computed similar to basic earnings (loss) per share except that it reflects the potential dilution that could occur if dilutive securities or other obligations to issue common stock were exercised or converted into common stock.

The computations for basic and diluted earnings (loss) per share are as follows:

 

 

Three Months Ended

 

 

Six Months Ended

 

 

 

June 30,

 

 

June 30,

 

 

 

2024

 

 

2023

 

 

2024

 

 

2023

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Net income (loss)

 

$

7,673

 

 

$

1,733

 

 

$

28,697

 

 

$

(1,498

)

 

 

 

 

 

 

 

 

 

 

 

 

 

Weighted-average common shares outstanding — basic

 

 

67,118

 

 

 

66,462

 

 

 

66,924

 

 

 

66,363

 

Effect of stock options and restricted stock units

 

 

579

 

 

 

343

 

 

 

691

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Weighted-average common shares outstanding — diluted

 

 

67,697

 

 

 

66,805

 

 

 

67,615

 

 

 

66,363

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Earnings (loss) per share — basic

 

$

0.11

 

 

$

0.03

 

 

$

0.43

 

 

$

(0.02

)

Earnings (loss) per share — diluted

 

$

0.11

 

 

$

0.03

 

 

$

0.42

 

 

$

(0.02

)

For the six months ended June 30, 2023, 319 stock options and restricted stock units were excluded from the diluted weighted average common shares outstanding because the Company incurred a loss during this period.

For the three and six months ended June 30, 2024, respectively, there were 60 and 59 stock options (“NQSOs”) and restricted stock units (“RSUs”) excluded from the calculation of diluted earnings per share, based on the application of the treasury stock method, as such NQSOs and RSUs were determined to be anti-dilutive. For the three and six months ended June 30, 2023, respectively, there were 918 and 554 NQSOs and RSUs excluded from the calculation of diluted earnings per share, based on the application of the treasury stock method, as such NQSOs and RSUs were determined to be anti-dilutive.