XML 40 R28.htm IDEA: XBRL DOCUMENT v3.23.2
Earnings Per Share (Tables)
6 Months Ended
Jun. 30, 2023
Earnings Per Share  
Schedule of computations of basic and diluted net (loss) per share

Three Months Ended June 30,

Six Months Ended June 30,

2023

2022

    

2023

2022

Numerator:

Net income (loss)

$

13,007

$

(5,191)

$

(4,419)

$

(18,260)

Adjustment for interest expense recognized on convertible senior notes

1,677

Net income (loss) - diluted

$

14,684

$

(5,191)

$

(4,419)

$

(18,260)

Denominator:

Weighted-average shares outstanding — basic

34,622,284

    

34,001,553

34,471,624

    

33,838,638

Effect of dilutive securities:

Stock options

236,426

Restricted stock units

481,478

Employee stock purchase plan

660

Convertible senior notes

7,509,104

Weighted average shares outstanding — diluted

42,849,952

34,001,553

34,471,624

33,838,638

Earnings (loss) per share — basic

$

0.38

$

(0.15)

$

(0.13)

$

(0.54)

Earnings (loss) per share — diluted

$

0.34

$

(0.15)

$

(0.13)

$

(0.54)

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

Three Months Ended June 30,

Six Months Ended June 30,

2023

 

2022

 

2023

 

2022

Stock options

751,930

2,230,895

1,368,968

2,230,895

Restricted stock units

1,073,613

2,024,634

2,522,025

2,024,634

Performance share units

503,880

447,770

503,880

447,770

Warrants

1,041,667

1,041,667

Convertible senior notes

4,925,134

7,509,104

4,925,134