XML 49 R33.htm IDEA: XBRL DOCUMENT
v3.21.2

Fair Value Hierarchy for Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail) - Fair Value, Measurements, Recurring - USD ($) $ in Thousands | Jun. 30, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | ---
Assets |  |  |
Total assets | $ 328,796 |  | $ 157,091
Money Market Funds |  |  |
Assets |  |  |
Total assets | 112,600 |  | 23,128
U.S. Treasuries |  |  |
Assets |  |  |
Total assets | 23,352 |  | 32,579
U.S. Government Agency Securities |  |  |
Assets |  |  |
Total assets | 41,725 |  | 40,321
Corporate Debt Securities |  |  |
Assets |  |  |
Total assets | 151,119 |  | 61,063
Warrant Liability |  |  |
Liabilities |  |  |
Total liabilities | 29,639 | $ 10,736 |
Fair Value, Inputs, Level 1 |  |  |
Assets |  |  |
Total assets | 112,600 |  | 23,128
Fair Value, Inputs, Level 1 | Money Market Funds |  |  |
Assets |  |  |
Total assets | 112,600 |  | 23,128
Fair Value, Inputs, Level 2 |  |  |
Assets |  |  |
Total assets | 216,196 |  | 133,963
Fair Value, Inputs, Level 2 | U.S. Treasuries |  |  |
Assets |  |  |
Total assets | 23,352 |  | 32,579
Fair Value, Inputs, Level 2 | U.S. Government Agency Securities |  |  |
Assets |  |  |
Total assets | 41,725 |  | 40,321
Fair Value, Inputs, Level 2 | Corporate Debt Securities |  |  |
Assets |  |  |
Total assets | 151,119 |  | $ 61,063
Fair Value, Inputs, Level 3 | Warrant Liability |  |  |
Liabilities |  |  |
Total liabilities | $ 29,639 | $ 10,736 |

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + 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 (a) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Fair value of financial and nonfinancial obligations. + 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 (a) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_LiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_WarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |