v3.20.4

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2020
Leases |
Schedule of lease related to components of lease expense, supplemental cash flow information, other information | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31,
​ |  | 2020 | ​ | 2019
Operating lease expense | ​ | $ | 3,267 | ​ | $ | 3,628
Finance lease expense: | ​ |  | ​ | ​ |  | ​
Depreciation and amortization of assets included in property and equipment, net | ​ | $ | 2,161 | ​ | $ | 2,103
Interest on lease liabilities | ​ |  | 18 | ​ |  | 56
Total finance lease expense | ​ | $ | 2,179 | ​ | $ | 2,159
​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31,
​ |  | 2020 | ​ | 2019
Cash paid for amounts included in the measurement of lease liabilities: | ​ | ​ | ​ | ​ | ​ | ​
Operating cash flows from operating leases | ​ | $ | (3,866) | ​ | $ | (3,949)
Operating cash flows from finance leases | ​ | ​ | (63) | ​ | ​ | (172)
Financing cash flows from finance leases | ​ | ​ | (2,720) | ​ | ​ | (4,201)
Right-of-use assets obtained in exchange for lease obligations: | ​ | ​ | ​ | ​ | ​ | ​
Operating leases | ​ | ​ | — | ​ | ​ | 17,595
​
​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, | ​
​ |  | 2020 | ​ | 2019 | ​
Weighted average remaining lease term: | ​ | ​ | ​ | ​ |
Operating leases |  | 5.2 | years | 6.1 | years
Financing leases |  | 0.3 | years | 1.2 | years
Weighted average discount rate: |  | ​ | ​ | ​ | ​
Operating leases |  | 5.3 | % | 5.3 | %
Finance leases |  | 3.2 | % | 3.2 | %
Future minimum lease payments of operating and finance leases under non-cancelable leases as presented in accordance with ASC 842 | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Operating |  | Finance
Years ended December 31, | ​ | Leases | ​ | Leases
2021 | ​ | $ | 3,393 | ​ | $ | 574
2022 |  | ​ | 3,692 |  | ​ | —
2023 |  | ​ | 3,645 |  | ​ | —
2024 |  | ​ | 3,655 |  | ​ | —
2025 |  | ​ | 3,707 |  | ​ | —
Thereafter | ​ | ​ | 1,528 |  | ​ | —
Total future minimum lease payments | ​ | ​ | 19,620 |  | ​ | 574
Less: Imputed interest | ​ | ​ | (2,501) |  | ​ | (1)
Total | ​ | ​ | 17,119 |  | ​ | 573
Current portion of operating and finance leases | ​ | ​ | 2,632 |  | ​ | 573
Long-term portion of operating and finance leases | ​ | $ | 14,487 | ​ | $ | —

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121609121&loc=SL77918686-209980 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121609121&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration