XML 53 R33.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Earnings Per Share (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
Earnings Per Share |
Schedule of computations of basic and diluted net (loss) per share | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | Years Ended December 31,
​ | 2023 | ​ | 2022 | ​ | 2021
Numerator: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Net income (loss) | $ | 48,155 | ​ | $ | (25,002) | ​ | $ | 71,517
Adjustment for interest expense recognized on convertible senior notes: | ​ | 5,889 | ​ | ​ | — | ​ | ​ | 4,675
Net (loss) income — diluted | $ | 54,044 | ​ | $ | (25,002) | ​ | $ | 76,192
Denominator: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Weighted-average shares outstanding — basic | ​ | 33,741,213 |  | ​ | 33,829,495 |  | ​ | 34,936,817
Effect of dilutive securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Stock options | ​ | 271,540 | ​ | ​ | — | ​ | ​ | 504,699
Restricted stock units | ​ | 714,190 | ​ | ​ | — | ​ | ​ | 461,471
Performance share units | ​ | 267,761 | ​ | ​ | — | ​ | ​ | 85,229
Employee stock purchase plan | ​ | — | ​ | ​ | — | ​ | ​ | 1,198
Warrants | ​ | — | ​ | ​ | — | ​ | ​ | 131,257
Convertible senior notes | ​ | 6,793,421 | ​ | ​ | — | ​ | ​ | 4,925,134
Weighted average shares outstanding — diluted | ​ | 41,788,125 | ​ | ​ | 33,829,495 | ​ | ​ | 41,045,805
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Earnings (loss) per share — basic | $ | 1.43 | ​ | $ | (0.74) | ​ | $ | 2.05
Earnings (loss) per share — diluted | $ | 1.29 | ​ | $ | (0.74) | ​ | $ | 1.86
Schedule of dilutive securities excluded from the calculation of diluted earnings per share | ​
​ | ​ | ​ | ​ | ​ | ​
​ | Years Ended December 31,
​ | 2023 |  | 2022 |  | 2021
Stock options | 259,405 | ​ | 1,683,805 | ​ | 1,202,403
Restricted stock units | 31,050 | ​ | 2,047,571 | ​ | 22,605
Performance share units | 308,680 | ​ | 447,770 | ​ | 242,714
Employee stock purchase plan | 18,591 | ​ | — | ​ | —
Convertible senior notes | — | ​ | 4,925,134 | ​ | —

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration