XML 36 R25.htm IDEA: XBRL DOCUMENT v3.22.2
Earnings Per Share (Tables)
6 Months Ended
Jun. 30, 2022
Earnings Per Share  
Schedule of computations of basic and diluted net (loss) per share

​

​

​

​

​

​

​

​

​

​

​

​

​

​

Three Months Ended June 30,

​

Six Months Ended June 30,

​

2022

​

2021

    

2022

​

2021

Numerator:

​

​

​

​

​

​

​

​

​

​

​

Net (loss) income

$

(5,191)

​

$

72,843

​

$

(18,260)

​

$

88,505

Adjustment for interest expense recognized on convertible senior notes:

​

—

​

​

1,168

​

​

—

​

​

2,333

Net (loss) income - diluted

$

(5,191)

​

$

74,011

​

$

(18,260)

​

$

90,838

Denominator:

​

​

​

​

​

​

​

​

​

​

​

Weighted-average shares outstanding — basic

​

34,001,553

    

​

35,302,608

​

​

33,838,638

    

​

35,128,144

Effect of dilutive securities:

​

​

​

​

​

​

​

​

​

​

​

Stock options

​

—

​

​

580,329

​

​

—

​

​

624,602

Restricted stock units

​

—

​

​

302,737

​

​

—

​

​

384,908

Performance share units

​

—

​

​

—

​

​

—

​

​

—

Employee stock purchase plan

​

—

​

​

125

​

​

—

​

​

1,149

Warrants

​

—

​

​

175,920

​

​

—

​

​

187,812

Convertible senior notes

​

—

​

​

4,925,134

​

​

—

​

​

4,925,134

​

​

​

​

​

​

​

​

—

​

​

​

Weighted average shares outstanding — diluted

​

34,001,553

​

​

41,286,853

​

​

33,838,638

​

​

41,251,749

​

​

​

​

​

​

​

​

​

​

​

​

(Loss) earnings per share — basic

$

(0.15)

​

$

2.06

​

$

(0.54)

​

$

2.52

(Loss) earnings per share — diluted

$

(0.15)

​

$

1.79

​

$

(0.54)

​

$

2.20

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

​

​

​

​

​

​

​

​

​

​

Three Months Ended June 30,

​

Six Months Ended June 30,

​

2022

 

2021

 

2022

 

2021

Stock options

2,230,895

​

1,416,696

​

2,230,895

​

1,415,431

Restricted stock units

2,024,634

​

677,824

​

2,024,634

​

677,824

Performance share units

447,770

​

392,220

​

447,770

​

392,220

Employee stock purchase plan

—

​

—

​

—

​

—

Warrants

1,041,667

​

—

​

1,041,667

​

—

Convertible senior notes

4,925,134

​

—

​

4,925,134

​

—