XML 201 R87.htm IDEA: XBRL DOCUMENT
v3.24.3

EARNINGS PER SHARE (Details 1) - shares | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Excluded from computation of diluted net loss per share | 8,561,476 | 4,203,063
Warrants [Member] |  |
Excluded from computation of diluted net loss per share | 8,561,476 | 4,194,236
Convertible Debt [Member] |  |
Excluded from computation of diluted net loss per share |  | 8,827

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=cosm_WarrantsMember
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: |