XML 53 R35.htm IDEA: XBRL DOCUMENT v3.22.0.1
Leases (Tables)
12 Months Ended
Dec. 31, 2021
Lessee Disclosure [Abstract]  
Summary of Operating Lease Assets and Liabilities
The table below presents the operating lease-related assets and liabilities (in thousands):
Year Ended December 31,
20212020Balance Sheet Classification
Operating lease right-of-use assets$70,975$84,336Operating lease right-of-use assets
Current operating lease liabilities$18,392$22,206Operating lease liabilities
Non-current operating lease liabilities$62,498$71,755Operating lease liabilities, non-current
Weighted-average remaining term (years)5.33.7
Weighted-average discount rate5.0%4.7%
Summary 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,
202120202019
Operating lease cost$28,676 $17,372 $3,520 
Short-term lease cost9,683 8,196 3,231 
Variable lease cost7,862 2,147 479 
Total lease cost$46,221 $27,715 $7,230 
Summary of Finance Lease Asstes and Liabilites
The table below presents the finance lease-related assets and liabilities (in thousands):
Year Ended December 31,
20212020Balance Sheet Classification
Finance lease right-of-use assets$44,575 $5,067 Property and equipment, net
Current finance lease liabilities$21,999 $2,821 Accrued liabilities
Non-current finance lease liabilities$24,085 $2,340 Other non-current liabilities
Weighted-average remaining term (years)2.50.6
Weighted-average discount rate5.0 %6.0 %
Summary of Operating Sublease For the years ended December 31, 2021 and 2020 we have the following operating sublease information (in thousands):
Year Ended December 31,
20212020
Fixed sublease expense$9,524 $5,769 
Variable sublease expense1,421 836 
Sublease income(9,421)(5,678)
Variable sublease income(1,407)(836)
Net Loss$117 $91 
Summary 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, 2021
Operating
Leases
Finance
Leases
Total
202221,683 23,561 45,244 
202315,143 15,163 30,306 
202413,655 6,237 19,892 
202513,648 2,885 16,533 
202612,310 975 13,285 
Thereafter15,365 — 15,365 
Total lease payments91,804 48,821 140,625 
Less: amount representing interest10,914 2,737 13,651 
Present value of future lease payments80,890 46,084 126,974 
Less: current obligations under leases18,392 21,999 40,391 
Non-current lease obligations$62,498 $24,085 $86,583