XML 27 R11.htm IDEA: XBRL DOCUMENT v3.22.1
Earnings Per Share
3 Months Ended
Mar. 31, 2022
Earnings Per Share  
Earnings Per Share

6. Earnings Per Share

​

Basic earnings per share is calculated by dividing the net (loss) income by the weighted-average number of shares of common stock outstanding during the period, without consideration for potentially dilutive securities. Diluted earnings per share is computed by dividing the net (loss) income by the weighted-average number of shares of common stock, plus potentially dilutive securities outstanding for the period, as determined in accordance with the treasury stock, if-converted, or contingently issuable accounting methods, depending on the nature of the security. For purposes of the diluted earnings per share calculation, stock options, restricted stock units (“RSUs”), performance share units (“PSUs”), and shares potentially issuable in connection with our employee stock purchase plan and convertible senior notes are considered potentially dilutive securities and included to the extent that their addition is not anti-dilutive.

​

The following table presents the computations of basic and dilutive earnings per common 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

​

The Company has the option to settle the conversion obligation for its convertible senior notes due in 2026 in cash, shares or a combination of the two. The Company uses the if-converted method for the convertible senior notes.

​

The following table presents 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

​

—

​

For PSUs, these securities were excluded from the calculation of diluted earnings per share as the performance-based or market-based vesting conditions were not met as of the end of the reporting period. All other securities presented in the table above were excluded from the calculation of diluted earnings per share as their inclusion would have had an antidilutive effect.