XML 47 R33.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Income Taxes (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Income Taxes |
Schedule of United States and foreign loss before income taxes | United States and foreign (loss) income before income taxes was as follows (in thousands):
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year ended December 31, |
​ | ​ | 2021 | ​ | 2020 | ​ | 2019 |
United States |  | $ | (51,370) |  | $ | (134,096) |  | $ | (50,339) | ​
Foreign | ​ |  | 2,103 | ​ |  | 1,782 | ​ |  | 303 | ​
Total | ​ | $ | (49,267) | ​ | $ | (132,314) | ​ | $ | (50,036) | ​
Schedule of the provision for income taxes | The income tax provision (benefit) was as follows (in thousands):
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, |
​ | ​ | 2021 | ​ | 2020 | ​ | 2019 |
Current: |  | ​ |  |  | ​ |  |  | ​ |  | ​
Federal | ​ | $ | — | ​ | $ | (949) | ​ | $ | 237 | ​
State | ​ |  | 189 | ​ |  | 275 | ​ |  | 122 | ​
Foreign | ​ |  | 1,162 | ​ |  | 715 | ​ |  | 487 | ​
​ | ​ |  | 1,351 | ​ |  | 41 | ​ |  | 846 | ​
Deferred: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Federal | ​ |  | 264 | ​ |  | (10,098) | ​ |  | (58,368) | ​
State | ​ |  | (1,234) | ​ |  | (1,952) | ​ |  | (7,938) | ​
Foreign | ​ |  | (55) | ​ |  | 43 | ​ |  | — | ​
​ | ​ |  | (1,025) | ​ |  | (12,007) | ​ |  | (66,306) | ​
Income tax provision (benefit) | ​ | $ | 326 | ​ | $ | (11,966) | ​ | $ | (65,460) | ​
Schedule of reconciliations of the U.S. federal statutory tax rate to the combined effective tax rate | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year ended |
​ | ​ | December 31, |
(amounts in thousands) | ​ | 2021 | ​ | ​ | 2020 | ​ | ​ | 2019 |
Statutory rate of tax benefit | $ | (10,346) | ​ | $ | (27,713) | ​ | $ | (10,508) | ​
State income taxes, net of federal benefit |  | (3,395) | ​ | ​ | (4,674) | ​ | ​ | (2,418) | ​
Permanent and other items |  | 4,513 | ​ | ​ | 263 | ​ | ​ | 4,371 | ​
Stock-based compensation |  | (12,310) | ​ | ​ | (3,537) | ​ | ​ | (5,006) | ​
Research credits |  | (5,408) | ​ | ​ | (5,082) | ​ | ​ | (3,594) | ​
Uncertain tax positions |  | 2,685 | ​ | ​ | 3,835 | ​ | ​ | 1,780 | ​
Change in tax rate |  | (802) | ​ | ​ | 1,303 | ​ | ​ | 419 | ​
NOL Carryback Claim | ​ | - | ​ | ​ | (447) | ​ | ​ | - | ​
ASU 2016-09 Implementation & ASC 842 Adoption in 2019 | ​ | - | ​ | ​ | - | ​ | ​ | (104) | ​
Valuation allowance |  | 25,389 | ​ | ​ | 24,086 | ​ | ​ | (50,400) | ​
Income tax provision (benefit) | $ | 326 | ​ | $ | (11,966) | ​ | $ | (65,460) | ​
Schedule of significant components of the Company's deferred tax assets | Significant components of the Company’s net deferred tax assets at December 31, 2021 and December 31, 2020 are as follows (in thousands):
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, |
​ | ​ | 2021 | ​ | 2020 |
Deferred tax assets: |  |  |  |  | ​ |  | ​
Net operating loss carryforwards |  | $ | 100,464 | ​ | $ | 87,684 | ​
Tax credits | ​ | ​ | 16,968 | ​ |  | 14,293 | ​
Stock-based compensation | ​ | ​ | 15,521 | ​ | ​ | 19,972 | ​
Reserves and accruals | ​ | ​ | 10,241 | ​ | ​ | 9,013 | ​
Lease liability | ​ | ​ | 25,188 | ​ | ​ | 20,434 | ​
Other, net | ​ | ​ | 2,120 | ​ | ​ | — | ​
Total deferred tax assets | ​ | $ | 170,502 | ​ | $ | 151,396 | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Deferred tax liabilities: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Depreciation and amortization | ​ | ​ | (67,641) | ​ | ​ | (76,034) | ​
ROU Lease Asset | ​ | ​ | (18,747) | ​ | ​ | (17,471) | ​
Convertible Notes | ​ | ​ | — | ​ | ​ | (22,252) | ​
Other, net | ​ | ​ | — | ​ | ​ | (542) | ​
Inventory | ​ | ​ | (59) | ​ | ​ | (59) | ​
Total deferred tax liabilities | ​ | $ | (86,447) | ​ | $ | (116,358) | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Valuation allowance | ​ |  | (91,373) | ​ |  | (45,551) | ​
Net deferred tax liability | ​ | $ | (7,318) | ​ | $ | (10,513) | ​
Schedule of reconciliation of the beginning and ending amount of gross unrecognized tax benefits, excluding interest and penalties | A reconciliation of the beginning and ending amount of gross unrecognized tax benefits for the years ended December 31, 2021, December 31, 2020 and December 31, 2019 excluding interest and penalties, is as follows (in thousands):
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31,
​ | ​ | 2021 | ​ | 2020 | ​ | 2019
Balance at beginning of the year |  | $ | 22,803 |  | $ | 15,076 |  | $ | 13,486
Net addition for tax positions - prior years | ​ | ​ | 505 | ​ | ​ | 4,987 | ​ | ​ | 230
Net additions for tax positions - current year | ​ | ​ | 3,489 | ​ |  | 3,355 | ​ |  | 2,339
Subtractions from tax positions - prior years | ​ | ​ | (327) | ​ | ​ | (74) | ​ | ​ | (537)
Subtractions from tax positions - current year | ​ | ​ | (654) | ​ | ​ | (541) | ​ | ​ | (442)
Balance at end of the year | ​ | $ | 25,816 | ​ | $ | 22,803 | ​ | $ | 15,076

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

X
- Definition Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319 + Details
Name: | us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319 + Details
Name: | us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of income before income tax between domestic and foreign jurisdictions. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)(1)(Note 1)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the change in unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 55 -Paragraph 217 -URI http://asc.fasb.org/extlink&oid=124434304&loc=d3e36027-109320 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -URI http://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319 + Details
Name: | us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration