XML 49 R28.htm IDEA: XBRL DOCUMENT
v3.21.1

Fair Value Measurements - Summary of Liabilities Measured at Fair Value on Recurring Basis (Details) - Recurring $ in Thousands | Dec. 31, 2020 USD ($)
--- | ---
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Amortized Cost | $ 181,848
Short-term investments, Gross Unrealized Holding Gains | 17
Short-term investments, Gross Unrealized Holding Losses | (9)
Short-term investments, Aggregated Fair Value | 181,856
Cash equivalents |
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Aggregated Fair Value | 75,410
Short-term investments |
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Aggregated Fair Value | 106,446
Level 1 |
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Aggregated Fair Value | 181,856
Within one year | 160,304
After one year through two years | 21,552
Level 1 | Money Market Funds |
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Amortized Cost | 46,134
Short-term investments, Aggregated Fair Value | 46,134
Level 2 | Commercial Paper |
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Amortized Cost | 76,605
Short-term investments, Gross Unrealized Holding Losses | (2)
Short-term investments, Aggregated Fair Value | 76,603
Level 2 | Agency bonds |
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Amortized Cost | 29,654
Short-term investments, Gross Unrealized Holding Gains | 15
Short-term investments, Aggregated Fair Value | 29,669
Level 2 | U.S. government bonds |
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Amortized Cost | 7,093
Short-term investments, Aggregated Fair Value | 7,093
Level 2 | Corporate Debt |
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Amortized Cost | 11,890
Short-term investments, Gross Unrealized Holding Losses | (6)
Short-term investments, Aggregated Fair Value | 11,884
Level 2 | U.S. treasury bills |
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Amortized Cost | 4,680
Short-term investments, Aggregated Fair Value | 4,680
Level 2 | Agency discount securities |
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Amortized Cost | 200
Short-term investments, Aggregated Fair Value | 200
Level 2 | Municipal Bonds |
Fair Value Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
Short-term investments, Amortized Cost | 5,592
Short-term investments, Gross Unrealized Holding Gains | 2
Short-term investments, Gross Unrealized Holding Losses | (1)
Short-term investments, Aggregated Fair Value | $ 5,593

X
- Definition Available for sale securities debt maturities after one through two years fair value. + References No definition available. + Details
Name: | etnb_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughTwoYearsFairValue
Namespace Prefix: | etnb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121558606&loc=SL82898722-210454 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -Section 50 -Paragraph 3A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=120252992&loc=SL120269850-112803 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27198-111563 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121558606&loc=SL82898722-210454 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121553693&loc=d3e26610-111562 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
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_CashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_ShortTermInvestmentsMember
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_InvestmentTypeAxis=us-gaap_MoneyMarketFundsMember
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_InvestmentTypeAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USGovernmentAgenciesShorttermDebtSecuritiesMember
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_USTreasuryBillSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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