XML 29 R19.htm IDEA: XBRL DOCUMENT v3.23.2
Balance Sheet Components (Tables)
9 Months Ended
Sep. 30, 2022
Balance Sheet Related Disclosures [Abstract]  
Schedule of Property and Equipment, Net
Property and equipment, net as of December 31, 2021 and September 30, 2022, was as follows (in thousands):
 As of
 December 31,
2021
September 30,
2022
Electronic equipment$12,761 $14,690 
Office and other equipment9,423 15,195 
Vehicles21,043 18,912 
Leasehold improvements11,984 13,058 
Buildings— 1,841 
Construction in progress5,258 2,788 
Property and equipment, gross60,469 66,484 
Accumulated depreciation and amortization(24,416)(28,258)
Property and equipment, net$36,053 $38,226 
Schedule of Accrued Expenses and Other Current Liabilities
Accrued expenses and other current liabilities as of December 31, 2021 and September 30, 2022 were as follows (in thousands):
 As of
 December 31,
2021
September 30,
2022
Accrued payroll$33,225 $27,036 
Accrued information technology services1,625 3,438 
Accrued professional fees1,938 1,769 
Finance lease liabilities, current— 1,258 
Other4,910 6,911 
Accrued expenses and other current liabilities$41,698 $40,412 
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 as follows (in thousands):
As of September 30, 2022
Operating leases:
Operating lease right-of-use assets$46,370 
Operating lease liabilities, current$5,983 
Operating lease liabilities, noncurrent41,920 
Total operating lease liabilities$47,903 
Finance leases:
Property and equipment, at cost$7,667 
Accumulated depreciation(1,123)
Property and equipment, net$6,544 
Accrued expenses and other current liabilities$1,258 
Other liabilities5,661 
Total finance lease obligations$6,919 
Components of Lease Expense and Supplemental Cash Flow Information
The components of lease expense were as follows (in thousands):
Three Months Ended September 30, 2022Nine Months Ended September 30, 2022
Operating lease expense:
Operating lease expense (1)
$2,105 $6,395 
Finance lease expense:
Amortization of leased assets$384 $1,111 
Interest on lease liabilities139 438 
Total finance lease expense$523 $1,549 
Total lease expense$2,628 $7,944 
(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 September 30, 2022
Weighted-average remaining lease term:
Operating leases8.6 years
Finance leases5.6 years
Weighted-average discount rate:
Operating leases4.4 %
Finance leases9.1 %
Supplemental cash flow information related to leases where the Company is the lessee is as follows (in thousands):
Nine Months Ended September 30, 2022
Cash paid for amounts included in the measurement of lease liabilities:
Operating cash flows from operating leases$5,369 
Operating cash flows from finance leases (interest payments)$326 
Financing cash flows from finance leases$929 
Right-of-use assets obtained in exchange for lease obligations:
Operating lease liabilities$48,404 
Finance lease liabilities$7,772 
Schedule of Operating Leases
As of September 30, 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$1,432 $453 
20237,993 1,664 
20247,592 1,669 
20257,452 2,468 
20267,658 421 
Thereafter28,106 1,911 
Total minimum lease payments60,233 8,586 
Less: lease incentive receivable(1)
(1,488)— 
Less: imputed interest(10,842)(1,667)
Present value of minimum lease payments47,903 6,919 
Less: current portion(5,983)(1,258)
Lease obligations, noncurrent$41,920 $5,661 
(1)Lease incentives receivable represent amounts relating to the Company's leasehold improvements that will be paid by the landlord pursuant to lease provisions with relevant landlord.
Schedule of Finance Leases
As of September 30, 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$1,432 $453 
20237,993 1,664 
20247,592 1,669 
20257,452 2,468 
20267,658 421 
Thereafter28,106 1,911 
Total minimum lease payments60,233 8,586 
Less: lease incentive receivable(1)
(1,488)— 
Less: imputed interest(10,842)(1,667)
Present value of minimum lease payments47,903 6,919 
Less: current portion(5,983)(1,258)
Lease obligations, noncurrent$41,920 $5,661 
(1)Lease incentives receivable represent amounts relating to the Company's leasehold improvements that will be paid by the landlord pursuant to lease provisions with relevant landlord.
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 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