v3.20.4

Income taxes (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2020
Income taxes |
Schedule of income tax (expense) benefit by jurisdiction | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | 2020 |  | 2019 |  | 2018
U.S. federal: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Current | ​ | $ | (5) | ​ | $ | (20) | ​ | $ | (18)
Deferred | ​ |  | 114 | ​ |  | 115 | ​ |  | 4,569
Total U.S. federal | ​ | $ | 109 | ​ | $ | 95 | ​ | $ | 4,551
U.S. state and local: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Current | ​ | $ | (142) | ​ | $ | (32) | ​ | $ | (285)
Deferred | ​ |  | (123) | ​ |  | (35) | ​ |  | 1,048
Total U.S. state and local | ​ | $ | (265) | ​ | $ | (67) | ​ | $ | 763
Foreign: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Current | ​ | $ | (1) | ​ | $ | — | ​ | $ | (161)
Total foreign | ​ | $ | (1) | ​ | $ | — | ​ | $ | (161)
Schedule of reconciliation of tax rates | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | 2020 |  | 2019 |  | 2018 |
Federal statutory rate |  | 21.0 | % | 21.0 | % | 21.0 | %
State and local |  | 5.5 | ​ | 11.2 | ​ | 19.7 | ​
Foreign rate differential |  | 0.9 | ​ | 0.2 | ​ | (0.5) | ​
Stock options |  | 2.7 | ​ | (52.2) | ​ | (47.2) | ​
Excess tax benefits from stock-based compensation | ​ | (2.9) | ​ | 95.5 | ​ | 106.4 | ​
Non-controlling interests |  | (0.3) | ​ | 0.2 | ​ | 5.5 | ​
Valuation allowance |  | (26.7) | ​ | (74.7) | ​ | (90.7) | ​
Uncertain tax positions |  | — | ​ | — | ​ | 2.3 | ​
Convertible Notes | ​ | — | ​ | — | ​ | 94.9 | ​
Other |  | (1.1) | ​ | (0.9) | ​ | (5.9) | ​
Income taxes |  | (0.9) | % | 0.3 | % | 105.5 | %
Schedule of deferred tax assets and liabilities | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | 2020 |  | 2019
Deferred tax assets: | ​ | ​ | ​ | ​ | ​ | ​
Net operating loss carryforwards | ​ | $ | 46,998 | ​ | $ | 44,565
Outside basis differences for U.S. partnerships | ​ |  | 7,941 | ​ |  | 8,656
Operating lease liabilities | ​ | ​ | 4,076 | ​ | ​ | 4,695
Deferred revenue | ​ |  | 800 | ​ |  | 782
Deferred compensation | ​ |  | 86 | ​ |  | 623
State taxes | ​ |  | 39 | ​ |  | 44
Stock options | ​ |  | — | ​ |  | —
Other | ​ |  | 2,099 | ​ |  | 939
Valuation allowance | ​ |  | (46,459) | ​ |  | (41,646)
Net deferred tax assets | ​ |  | 15,580 | ​ |  | 18,658
Deferred tax liabilities: | ​ | ​ | ​ | ​ | ​ | ​
Property and equipment | ​ |  | (5,729) | ​ |  | (6,943)
Convertible Notes | ​ |  | (3,403) | ​ |  | (4,366)
Operating lease right-of-use assets | ​ | ​ | (2,888) | ​ | ​ | (3,348)
Intangible assets | ​ |  | (3,106) | ​ |  | (3,079)
Stock options | ​ | ​ | (1,438) | ​ | ​ | (1,915)
Net deferred tax liabilities | ​ |  | (16,564) | ​ |  | (19,651)
Net deferred taxes | ​ | $ | (984) | ​ | $ | (993)
Schedule of changes in the valuation allowance | ​
​ | ​ | ​ | ​
​ |  | Valuation
​ | ​ | Allowance
Balance, December 31, 2017 | ​ | $ | 34,990
Decrease credited to operations | ​ |  | (1,180)
Balance, December 31, 2018 | ​ |  | 33,810
Additions charged to operations | ​ |  | 7,843
Decrease credited to operations | ​ |  | (7)
Balance, December 31, 2019 | ​ |  | 41,646
Additions charged to operations | ​ |  | 4,816
Decrease credited to operations | ​ |  | (3)
Balance, December 31, 2020 | ​ | $ | 46,459

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=84230637&loc=d3e32639-109319 + Details
Name: | us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum: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=84230637&loc=d3e32537-109319 + Details
Name: | us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum: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=84230637&loc=d3e32687-109319 + Details
Name: | us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of valuation allowances to reduce deferred tax assets to net realizable value, including identification of the deferred tax asset more likely than not will not be fully realized and the corresponding amount of the valuation allowance. + 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 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319 + Details
Name: | us-gaap_SummaryOfValuationAllowanceTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration