XML 41 R25.htm IDEA: XBRL DOCUMENT v3.22.1
Earnings Per Share (Tables)
3 Months Ended
Mar. 31, 2022
Earnings Per Share  
Schedule of computations of basic and diluted net (loss) per share

​

​

​

​

​

​

​

​

Three Months Ended March 31,

​

2022

​

2021

Numerator:

​

​

​

​

​

Net (loss) income

$

(13,069)

​

$

15,662

Adjustment for interest expense recognized on convertible senior notes:

​

—

​

​

1,165

Net (loss) income - diluted

$

(13,069)

​

$

16,827

Denominator:

​

​

​

​

​

Weighted-average shares outstanding — basic

​

33,673,912

    

​

34,951,740

Effect of dilutive securities:

​

​

​

​

​

Stock options

​

—

​

​

663,921

Restricted stock units

​

—

​

​

404,646

Performance share units

​

—

​

​

5,201

Employee stock purchase plan

​

—

​

​

9,693

Warrants

​

—

​

​

199,757

Convertible senior notes

​

—

​

​

4,925,134

​

​

​

​

​

​

Weighted average shares outstanding — diluted

​

33,673,912

​

​

41,160,092

​

​

​

​

​

​

(Loss) earnings per share — basic

$

(0.39)

​

$

0.45

(Loss) earnings per share — diluted

$

(0.39)

​

$

0.41

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

​

​

​

​

​

​

Three Months Ended March 31,

​

2022

 

2021

Stock options

2,401,110

​

1,539,731

Restricted stock units

2,039,179

​

671,854

Performance share units

484,292

​

416,820

Employee stock purchase plan

—

​

—

Warrants

1,041,667

​

—

Convertible senior notes

4,925,134

​

—