XML 44 R29.htm IDEA: XBRL DOCUMENT v3.22.1
Summary of significant accounting policies (Tables)
12 Months Ended
Dec. 31, 2021
Accounting Policies [Abstract]  
Schedule of Cash, Cash Equivalents, and Restricted Cash
December 31, December 31,
Reconciliation of cash, cash equivalents and restricted cash20212020
Cash and cash equivalents$533,868 $175,031 
Restricted cash, current— — 
Restricted cash, non-current2,900 2,900 
Total cash, cash equivalents and restricted cash$536,768 $177,931 
Schedule of Cash, Cash Equivalents, and Restricted Cash
December 31, December 31,
Reconciliation of cash, cash equivalents and restricted cash20212020
Cash and cash equivalents$533,868 $175,031 
Restricted cash, current— — 
Restricted cash, non-current2,900 2,900 
Total cash, cash equivalents and restricted cash$536,768 $177,931 
Accounts Receivable, Allowance for Credit Loss
Balance at Beginning of PeriodCharged to ExpensesCharges Utilized/Written-offBalance at End of Period
Allowance for doubtful accounts
Year Ended December 31, 2019
$422 $642 $(482)$582 
Year Ended December 31, 2020
$582 $182 $(121)$643 
Year Ended December 31, 2021
$643 $326 $(291)$678 
Fair Value, Assets Measured on Recurring Basis
The fair value measurements of assets that are measured at fair value on a recurring basis are as follows (in thousands):

Fair Value Hierarchy
Level 1Level 2Level 3
Year Ended December 31, 2020
Strategic investments$— $— $— 
Total as of December 31, 2020
$— $— $— 
Year Ended 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 measurements liabilities that are measured at fair value on a recurring basis are as follows (in thousands):
Fair Value Hierarchy
Level 1Level 2Level 3
Year Ended December 31, 2020
Cash settled stock appreciation rights$— $— $268 
Redeemable convertible preferred stock warrants— — 160
Total as of December 31, 2020
$— $— $428 
Year Ended 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 changes in warrant fair value and vesting and remeasurement of stock appreciation rights are recognized in the consolidated statements of operations, is as follows (in thousands):

WarrantsSARsStrategic InvestmentsTotal
Balance—January 1, 2019$50 $— $— $50 
Change in fair value of redeemable convertible preferred stock warrants58 — — 58 
Vesting and remeasurement of stock appreciation rights— 36 — 36 
Balance—December 31, 2019
108 36 — 144 
Change in fair value of redeemable convertible preferred stock warrants52 — — 52 
Vesting and remeasurement of stock appreciation rights— 232 — 232 
Balance—December 31, 2020
160 268 — 428 
Exercise of redeemable convertible preferred stock warrants(160)— (160)
Vesting and remeasurement of stock appreciation rights— 550 — 550 
Purchases of strategic investments— — 10,000 10,000 
Balance—December 31, 2021
$— $818 $10,000 $10,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 changes in warrant fair value and vesting and remeasurement of stock appreciation rights are recognized in the consolidated statements of operations, is as follows (in thousands):

WarrantsSARsStrategic InvestmentsTotal
Balance—January 1, 2019$50 $— $— $50 
Change in fair value of redeemable convertible preferred stock warrants58 — — 58 
Vesting and remeasurement of stock appreciation rights— 36 — 36 
Balance—December 31, 2019
108 36 — 144 
Change in fair value of redeemable convertible preferred stock warrants52 — — 52 
Vesting and remeasurement of stock appreciation rights— 232 — 232 
Balance—December 31, 2020
160 268 — 428 
Exercise of redeemable convertible preferred stock warrants(160)— (160)
Vesting and remeasurement of stock appreciation rights— 550 — 550 
Purchases of strategic investments— — 10,000 10,000 
Balance—December 31, 2021
$— $818 $10,000 $10,818