XML 60 R42.htm IDEA: XBRL DOCUMENT
v3.22.0.1

EARNINGS PER SHARE (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Earnings Per Share [Abstract] |
Schedule of Numerators and Denominators of Basic and Diluted Net Income (Loss) Per Share Computations | The following table sets forth the computation of the basic and diluted net income (loss) per share:
| Year ended December 31,
(in thousands, except per share amounts) | 2021 |  | 2020 |  | 2019
Numerator: |  |  |  |  |
Net income (loss) | $ | 13,254 |  |  | $ | (29,271) |  |  | $ | (5,924) |
Denominator: |  |  |  |  |
Weighted average number of shares outstanding: |  |  |  |  |
Basic | 101,484 |  |  | 96,971 |  |  | 89,575 |
2020 Notes | 2,175 |  |  | — |  |  | — |
2024 Notes | 653 |  |  | — |  |  | — |
Stock options | 292 |  | — |  |  | — |
Restricted stock units | 1,525 |  |  | — |  |  | — |
Stock purchase rights under ESPP | 42 |  | — |  |  | — |
Diluted | 106,171 |  |  | 96,971 |  |  | 89,575 |
Net income (loss) per share: |  |  |  |  |
Basic | $ | 0.13 |  |  | $ | (0.30) |  |  | $ | (0.07) |
Diluted | $ | 0.12 |  |  | $ | (0.30) |  |  | $ | (0.07) |
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share | The following table presents the potentially dilutive shares that were excluded from the computation of diluted net income (loss) per share, because their effect was anti-dilutive:
| Year ended December 31,
(in thousands) | 2021 |  | 2020 |  | 2019
2020 Notes | — |  |  | 312 |  |  | 1,322 |
2022 Notes | — |  |  | 192 |  |  | n/a
Stock options | 8 |  |  | 1,603 |  |  | 2,568 |
Restricted stock units | 27 |  |  | 3,041 |  |  | 2,955 |
Stock purchase rights under the ESPP | 390 |  |  | 531 |  |  | 478 |
Warrants (1) | — |  |  | — |  |  | 4,321 |
Total | 425 |  |  | 5,679 |  |  | 11,644 |
(1) Refer to Note 15, “Warrants,” for additional information.

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 -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration