XML 68 R57.htm IDEA: XBRL DOCUMENT
v3.23.2

SUBSEQUENT EVENTS (Details) - $ / shares shares in Millions | Jul. 13, 2023 | Jun. 30, 2023
--- | --- | ---
Warrants [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Warrants exercise price (in dollars per share) |  | $ 5.82
Warrants expiration term |  | 4 years 10 months 17 days
Subsequent Event [Member] | Warrants [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Warrants exercise price (in dollars per share) | $ 2.61 |
Warrants expiration term | 5 years |
Subsequent Event [Member] | Warrants [Member] | Condition One [Member] | Minimum [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Beneficial conversion feature percentage | 4.99% |
Subsequent Event [Member] | Warrants [Member] | Condition One [Member] | Maximum [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Beneficial conversion feature percentage | 9.99% |
Subsequent Event [Member] | Warrants [Member] | Condition Two [Member] | Minimum [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Beneficial conversion feature percentage | 9.99% |
Subsequent Event [Member] | Warrants [Member] | Condition Two [Member] | Maximum [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Beneficial conversion feature percentage | 19.99% |
Subsequent Event [Member] | Warrants [Member] | Condition Three [Member] | Minimum [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Beneficial conversion feature percentage | 19.99% |
Subsequent Event [Member] | Convertible Notes [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Interest rate | 6.00% |
Debt maturity date | Jul. 14, 2028 |
Initial conversion rate (in dollars per share) | $ 2.86 |
Repurchase price percentage | 100.00% |
Subsequent Event [Member] | Convertible Notes [Member] | Condition One [Member] | Minimum [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Beneficial conversion feature percentage | 4.99% |
Subsequent Event [Member] | Convertible Notes [Member] | Condition One [Member] | Maximum [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Beneficial conversion feature percentage | 9.99% |
Subsequent Event [Member] | Convertible Notes [Member] | Condition Two [Member] | Minimum [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Beneficial conversion feature percentage | 9.99% |
Subsequent Event [Member] | Convertible Notes [Member] | Condition Two [Member] | Maximum [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Beneficial conversion feature percentage | 19.99% |
Subsequent Event [Member] | Convertible Notes [Member] | Condition Three [Member] | Minimum [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Beneficial conversion feature percentage | 19.99% |
Subsequent Event [Member] | Private Placement [Member] | Warrants [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Warrants to purchase common shares (in shares) | 6.1 |
Subsequent Event [Member] | Private Placement [Member] | Convertible Notes [Member] |  |
Private Placement of Convertible Notes and Warrants [Abstract] |  |
Warrants to purchase common shares (in shares) | 8.7 |

X
- Definition The conversion limitations percentage on the aggregate number of shares of common stock beneficially owned by the holder thereof would exceed immediately after conversion rate. + References No definition available. + Details
Name: | erna_ConvertibleNotesBeneficialConversionFeaturePercentage
Namespace Prefix: | erna_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Percentage of notes repurchase price to principal amount. + References No definition available. + Details
Name: | erna_RepurchasePricePercentageToPrincipalAmount
Namespace Prefix: | erna_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-3 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-3 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-5 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_WarrantsAndRightsOutstandingTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

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

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_ConvertibleDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_PrivatePlacementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |