v3.22.0.1

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Leases [Abstract] |
Lease, Cost | The components of lease cost were as follows (in thousands):
| Year Ended December 31,
| 2020 | 2021
Operating lease cost(1) | $ | 91,248 |  | $ | 83,317 |
Short-term lease cost(1) | 632 |  | 2,641 |
Variable lease cost(1) | 12,309 |  | 13,895 |
Sublease income(2) | (143) |  | (305) |
Lease cost, net(3) | $ | 104,046 |  | $ | 99,548 |
(1) Classified within operations and support, product development, sales and marketing, and general and administrative expenses in the consolidated statements of operations. (2) Classified within other income (expense), net on the consolidated statements of operations. (3) Lease costs do not include lease impairments due to restructuring. Refer to Note 17, Restructuring, for additional information. Supplemental disclosures of cash flow information related to leases were as follows (in thousands):
| Year Ended December 31,
| 2020 | 2021
Cash paid for operating lease liabilities | $ | 63,407 |  | $ | 92,286 |
Lease liabilities arising from obtaining right-of-use assets | 103,452 |  | 17,889 |
Lease term and discount rate were as follows:
| As of December 31,
| 2020 | 2021
Weighted-average remaining lease term (years) | 8.1 | 7.2
Weighted-average discount rate | 6.6 | % | 6.8 | %
Maturities of lease liabilities | Maturities of lease liabilities (excluding short-term leases) were as follows as of December 31, 2021 (in thousands):
Year Ending December 31, | Amount
2022 | $ | 89,717 |
2023 | 69,923 |
2024 | 57,402 |
2025 | 89,898 |
2026 | 82,153 |
Thereafter | 195,539 |
Total lease payments | 584,632 |
Less: Imputed interest | (148,670) |
Present value of lease liabilities | 435,962 |
Less: Current portion of lease liabilities | (63,479) |
Total long-term lease liabilities | $ | 372,483 |

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=123408670&loc=SL77918686-209980 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types: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=123408670&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration