XML 51 R17.htm IDEA: XBRL DOCUMENT v3.22.1
Balance Sheet Components (Tables)
3 Months Ended
Mar. 31, 2022
Balance Sheet Related Disclosures [Abstract]  
Schedule of Property and Equipment, Net
Property and equipment, net as of December 31, 2021 and March 31, 2022, was as follows (in thousands):
 As of
 December 31,
2021
March 31,
2022
Electronic equipment$12,761 $13,661 
Office and other equipment9,423 9,959 
Vehicles21,043 18,701 
Leasehold improvements11,984 10,245 
Buildings— 1,841 
Construction in progress5,258 570 
Property and equipment, gross60,469 54,977 
Accumulated depreciation and amortization(24,416)(24,249)
Property and equipment, net$36,053 $30,728 
Schedule of Accrued Expenses and Other Current Liabilities
Accrued expenses and other current liabilities as of December 31, 2021 and March 31, 2022 were as follows (in thousands):
 As of
 December 31,
2021
March 31,
2022
Accrued payroll$33,225 $13,161 
Accrued professional fees1,938 5,633 
Finance lease liabilities, current— 1,041 
Other6,535 4,805 
Accrued expenses and other current liabilities$41,698 $24,640 
Summary of Balances for Operating and Finance Leases
The balances for the operating and finance leases where the Company is the lessee are presented within the consolidated balance sheets follows (in thousands):
As of March 31, 2022
Operating leases:
Operating lease right-of-use assets$41,314 
Operating lease liabilities, current$4,741 
Operating lease liabilities, noncurrent38,268 
Total operating lease liabilities$43,009 
Finance leases:
Property and equipment, at cost$5,134 
Accumulated depreciation(363)
Property and equipment, net$4,771 
Accrued expenses and other current liabilities$1,041 
Other liabilities3,906 
Total finance lease obligations$4,947 
Components of Lease Expense and Supplemental Cash Flow Information
The components of lease expense were as follows (in thousands):
Three Months Ended March 31, 2022
Operating lease expense:
Operating lease expense (1)
$2,005 
Finance lease expense:
Amortization of leased assets$363 
Interest on lease liabilities153 
Total finance lease expense$516 
Total lease expense$2,521 
(1)     Includes short-term leases and variable lease costs, which are immaterial.
Other information related to leases where the Company is the lessee is as follows:
As of March 31, 2022
Weighted-average remaining lease term:
Operating leases9.4 years
Finance leases3.5 years
Weighted-average discount rate:
Operating leases4.4 %
Finance leases12.7 %
Supplemental cash flow information related to leases where the Company is the lessee is as follows (in thousands):
Three Months Ended March 31, 2022
Cash paid for amounts included in the measurement of lease liabilities:
Operating cash flows from operating leases$2,045 
Operating cash flows from finance leases (interest payments)$149 
Financing cash flows from finance leases$293 
Right-of-use assets obtained in exchange for lease obligations:
Operating lease liabilities$44,549 
Finance lease liabilities$5,240 
Schedule of Operating Leases
As of March 31, 2022, the maturities of the Company's operating and financing lease liabilities (excluding short-term leases) are as follows (in thousands):
Operating Leases
Finance Leases
Remainder of 2022$4,363 $1,221 
20236,666 1,401 
20246,112 1,398 
20255,870 2,200 
20266,013 106 
Thereafter24,053 — 
Total minimum lease payments53,077 6,326 
Less: imputed interest(10,068)(1,379)
Present value of minimum lease payments43,009 4,947 
Less: current portion(4,741)(1,041)
Lease obligations, noncurrent$38,268 $3,906 
Schedule of Finance Leases
As of March 31, 2022, the maturities of the Company's operating and financing lease liabilities (excluding short-term leases) are as follows (in thousands):
Operating Leases
Finance Leases
Remainder of 2022$4,363 $1,221 
20236,666 1,401 
20246,112 1,398 
20255,870 2,200 
20266,013 106 
Thereafter24,053 — 
Total minimum lease payments53,077 6,326 
Less: imputed interest(10,068)(1,379)
Present value of minimum lease payments43,009 4,947 
Less: current portion(4,741)(1,041)
Lease obligations, noncurrent$38,268 $3,906 
Schedule of Operating Leases Prior to Adoption of ASC 842
Prior to the adoption of ASC 842, future minimum lease payments for non-cancelable operating and capital leases as of December 31, 2021 were as follows (in thousands):
Operating LeasesCapital Leases
2022$7,660 $1,253 
20237,891 978 
20245,126 963 
20253,435 1,761 
20263,049 — 
Thereafter
22,524 — 
Total minimum lease payments
$49,685 4,955 
Amount representing interest
(1,317)
Present value of minimum lease payments
$3,638 
Schedule of Capital Leases
Prior to the adoption of ASC 842, future minimum lease payments for non-cancelable operating and capital leases as of December 31, 2021 were as follows (in thousands):
Operating LeasesCapital Leases
2022$7,660 $1,253 
20237,891 978 
20245,126 963 
20253,435 1,761 
20263,049 — 
Thereafter
22,524 — 
Total minimum lease payments
$49,685 4,955 
Amount representing interest
(1,317)
Present value of minimum lease payments
$3,638