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 cash |  | 2021 |  | 2020
Cash and cash equivalents |  | $ | 533,868 |  |  | $ | 175,031 |
Restricted cash, current |  | — |  |  | — |
Restricted cash, non-current |  | 2,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 cash |  | 2021 |  | 2020
Cash and cash equivalents |  | $ | 533,868 |  |  | $ | 175,031 |
Restricted cash, current |  | — |  |  | — |
Restricted cash, non-current |  | 2,900 |  |  | 2,900 |
Total cash, cash equivalents and restricted cash |  | $ | 536,768 |  |  | $ | 177,931 |
Accounts Receivable, Allowance for Credit Loss |
|  | Balance at Beginning of Period |  | Charged to Expenses |  | Charges Utilized/Written-off |  | Balance 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 1 |  | Level 2 |  | Level 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 1 |  | Level 2 |  | Level 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):
|  | Warrants |  | SARs |  | Strategic Investments |  | Total
Balance—January 1, 2019 |  | $ | 50 |  |  | $ | — |  |  | $ | — |  |  | $ | 50 |
Change in fair value of redeemable convertible preferred stock warrants |  | 58 |  |  | — |  |  | — |  |  | 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 warrants |  | 52 |  |  | — |  |  | — |  |  | 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):
|  | Warrants |  | SARs |  | Strategic Investments |  | Total
Balance—January 1, 2019 |  | $ | 50 |  |  | $ | — |  |  | $ | — |  |  | $ | 50 |
Change in fair value of redeemable convertible preferred stock warrants |  | 58 |  |  | — |  |  | — |  |  | 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 warrants |  | 52 |  |  | — |  |  | — |  |  | 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 |

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of assets, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, by class that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, by class that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3). Where the quoted price in an active market for the identical liability is not available, the Level 1 input is the quoted price of an identical liability when traded as an asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the fair value measurement of liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets), and gains or losses recognized in other comprehensive income (loss) and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs) by class of liability. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258 + Details
Name: | us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the components of cash and cash equivalents. + References No definition available. + Details
Name: | us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of cash and cash equivalents restricted as to withdrawal or usage. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(1)(a)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(2)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ScheduleOfRestrictedCashAndCashEquivalentsTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration