XML 49 R33.htm IDEA: XBRL DOCUMENT v3.22.4
EARNINGS PER SHARE (Tables)
12 Months Ended
Dec. 31, 2022
EARNINGS PER SHARE  
Schedule of computations of basic and diluted net (loss) per share

Years Ended December 31,

2022

2021

2020

Numerator:

Net (loss) income

$

(25,002)

$

71,517

$

26,752

Adjustment for interest expense recognized on convertible senior notes:

4,675

Net (loss) income — diluted

$

(25,002)

$

76,192

$

26,752

Denominator:

Weighted-average shares outstanding — basic

33,829,495

    

34,936,817

    

34,407,959

Effect of dilutive securities:

Stock options

504,699

431,524

Restricted stock units

461,471

271,542

Performance share units

85,229

27,002

Employee stock purchase plan

1,198

567

Warrants

131,257

12,759

Convertible senior notes

4,925,134

Weighted average shares outstanding — diluted

33,829,495

41,045,805

35,151,353

(Loss) earnings per share — basic

$

(0.74)

$

2.05

$

0.78

(Loss) earnings per share — diluted

$

(0.74)

$

1.86

$

0.76

Schedule of dilutive securities excluded from the calculation of diluted earnings per share

Years Ended December 31,

2022

 

2021

 

2020

Stock options

1,683,805

1,202,403

2,294,961

Restricted stock units

2,047,571

22,605

4,809

Performance share units

447,770

242,714

211,618

Convertible senior notes

4,925,134

4,925,134