XML 31 R21.htm IDEA: XBRL DOCUMENT
v3.22.2

Fair value measurements (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2022
Fair Value Measurements [Abstract] |
Fair Value of the Company's Convertible Preferred Stock Warrants | The following table sets forth a summary of changes in the estimated fair value of the Company’s convertible preferred stock warrants during the six months ended:
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | June 30,
(in thousands) |  | 2022 |  | 2021
Beginning of the period | ​ | $ | — | ​ | $ | 3,911
Change in fair value | ​ |  | — | ​ |  | 15,140
Conversion to common stock warrants | ​ | ​ | — | ​ | ​ | —
End of the period | ​ | $ | — | ​ | $ | 19,051

X
- References No definition available. + Details
Name: | us-gaap_FairValueDisclosuresAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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