XML 51 R32.htm IDEA: XBRL DOCUMENT v3.22.4
Leases (Tables)
12 Months Ended
Dec. 31, 2022
Lessee Disclosure [Abstract]  
Schedule of Operating Lease Assets and Liabilities
The table below presents the operating lease-related assets and liabilities (in thousands):
Year Ended December 31,
Balance Sheet Classification20222021
Operating lease right-of-use assets$60,379 $70,975 
Current operating lease liabilities$14,334 $18,392 
Non-current operating lease liabilities$54,153 $62,498 
Weighted-average remaining term (years)4.95.3
Weighted-average discount rate5.1 %5.0 %
Schedule of Lease, Cost
The table below presents certain information related to the lease costs for operating leases which are allocated to cost of revenue, sales and marketing, research and development, and general and administrative expenses (in thousands):
Year Ended December 31,
202220212020
Operating lease cost$20,783 $28,676 $17,372 
Short-term lease cost1,272 9,683 8,196 
Variable lease cost1,419 7,862 2,147 
Total lease cost$23,474 $46,221 $27,715 
Schedule of Finance Lease Asstes and Liabilites
The table below presents the finance lease-related assets and liabilities (in thousands):
Year Ended December 31,
20222021Balance Sheet Classification
Finance lease right-of-use assets$65,187 $44,575 Property and equipment, net
Current finance lease liabilities$22,304 $21,999 Accrued liabilities
Non-current finance lease liabilities$44,736 $24,085 Other non-current liabilities
Weighted-average remaining term (years)3.42.5
Weighted-average discount rate5.0 %5.0 %
Schedule of Operating Sublease For the years ended December 31, 2022 and 2021, the Company has the following operating sublease information (in thousands):
Year Ended December 31,
20222021
Fixed sublease expense$4,736 $9,524 
Variable sublease expense1,023 1,421 
Sublease income(5,334)(9,421)
Variable sublease income(1,023)(1,407)
Net sublease (income) loss$(598)$117 
Schedule of Lease Liability Maturity
Undiscounted cash flow—The tables below reconcile the undiscounted cash flows for each of the first five years and total of the remaining years to the operating and finance lease liabilities recorded in the consolidated balance sheets (in thousands):
As of December 31, 2022
Operating
Leases
Finance
Leases
Total
202317,289 25,019 42,308 
202415,559 19,425 34,984 
202514,535 15,868 30,403 
202612,864 9,048 21,912 
202711,247 3,471 14,718 
Thereafter5,495 — 5,495 
Total lease payments76,989 72,831 149,820 
Less: amount representing interest(8,502)(5,791)(14,293)
Present value of future lease payments68,487 67,040 135,527 
Less: current obligations under leases14,334 22,304 36,638 
Non-current lease obligations$54,153 $44,736 $98,889