XML 38 R26.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of significant accounting policies (Tables)
6 Months Ended
Jun. 30, 2022
Accounting Policies [Abstract]  
Schedule of Cash, Cash Equivalents, and Restricted Cash
June 30,December 31,
Reconciliation of cash, cash equivalents and restricted cash20222021
Cash and cash equivalents$512,166 $533,868 
Restricted cash, non-current3,629 2,900 
Total cash, cash equivalents and restricted cash$515,795 $536,768 
Restrictions on Cash and Cash Equivalents
June 30,December 31,
Reconciliation of cash, cash equivalents and restricted cash20222021
Cash and cash equivalents$512,166 $533,868 
Restricted cash, non-current3,629 2,900 
Total cash, cash equivalents and restricted cash$515,795 $536,768 
Accounts Receivable, Allowance for Credit Loss
Balance at Beginning of PeriodCharged to ExpensesCharges Utilized/Written-offBalance at End of Period
Allowance for doubtful accounts
Six months ended June 30, 2022$678 $517 $(117)$1,078 
Six months ended June 30, 2021$643 $170 $(310)$503 
Fair Value, Assets Measured on Recurring Basis
The fair value of assets that are measured at fair value on a recurring basis are as follows (in thousands):

Fair Value Hierarchy
Level 1Level 2Level 3
June 30, 2022
Strategic investments$— $— $15,000 
Total as of June 30, 2022
$— $— $15,000 
December 31, 2021
Strategic investments$— $— $10,000 
Total as of December 31, 2021
$— $— $10,000 
Fair Value, Liabilities Measured on Recurring Basis
The fair value of liabilities that are measured at fair value on a recurring basis are as follows (in thousands):

Fair Value Hierarchy
Level 1Level 2Level 3
June 30, 2022
Cash settled stock appreciation rights$— $— $419 
Total as of June 30, 2022
$— $— $419 
December 31, 2021
Cash settled stock appreciation rights$— $— $818 
Total as of December 31, 2021
$— $— $818 
Summary of the Changes in the Fair Value of Level 3 Financial Instruments A summary of the changes in the fair value of Level 3 financial instruments, of which remeasurement of stock appreciation rights are recognized in the condensed consolidated statements of operations, is as follows (in thousands):
WarrantsStock Appreciation RightsStrategic Investments
Balance— March 31, 2022
$— $508 $15,000 
Vesting and remeasurement of stock appreciation rights, net of exercises— (89)— 
Balance— June 30, 2022
$— $419 $15,000 
Balance— March 31, 2021
$— $674 $— 
Vesting and remeasurement of stock appreciation rights— 117 — 
Balance— June 30, 2021
$— $791 $— 
Balance— December 31, 2021
$— $818 $10,000 
Vesting and remeasurement of stock appreciation rights, net of exercises— (399)— 
Purchases of strategic investments— — 5,000 
Balance— June 30, 2022
$— $419 $15,000 
Balance— December 31, 2020
$160 $268 $— 
Exercise of redeemable convertible preferred stock warrants(160)— — 
Vesting and remeasurement of stock appreciation rights— 523— 
Balance— June 30, 2021
$— $791 $— 
Summary of the Changes in the Fair Value of Level 3 Financial Instruments A summary of the changes in the fair value of Level 3 financial instruments, of which remeasurement of stock appreciation rights are recognized in the condensed consolidated statements of operations, is as follows (in thousands):
WarrantsStock Appreciation RightsStrategic Investments
Balance— March 31, 2022
$— $508 $15,000 
Vesting and remeasurement of stock appreciation rights, net of exercises— (89)— 
Balance— June 30, 2022
$— $419 $15,000 
Balance— March 31, 2021
$— $674 $— 
Vesting and remeasurement of stock appreciation rights— 117 — 
Balance— June 30, 2021
$— $791 $— 
Balance— December 31, 2021
$— $818 $10,000 
Vesting and remeasurement of stock appreciation rights, net of exercises— (399)— 
Purchases of strategic investments— — 5,000 
Balance— June 30, 2022
$— $419 $15,000 
Balance— December 31, 2020
$160 $268 $— 
Exercise of redeemable convertible preferred stock warrants(160)— — 
Vesting and remeasurement of stock appreciation rights— 523— 
Balance— June 30, 2021
$— $791 $—