XML 100 R86.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

EARNINGS PER SHARE (Details) - USD ($) | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2024 | Jun. 30, 2023 | Dec. 31, 2023 | Dec. 31, 2022
Numerator for Basic and Diluted Earnings Per Share: |  |  |  |
Net loss attributable to common stockholders |  |  | $ (25,783,834) | $ (63,945,285)
Denominator for Basic Earnings Per Share: |  |  |  |
Weighted Average Shares | 17,025,203 | 10,718,010 | 11,968,665 | 1,928,172
Adjusted Weighted Average Shares |  |  | 11,968,665 | 1,928,172
Basic and Diluted Net (Loss) Income per Share |  |  | $ (2.15) | $ (33.16)

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

X
- References No definition available. + Details
Name: | cosm_EarningsPerShareBasicAndDiluted1
Namespace Prefix: | cosm_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | cosm_NetLossAttributableToCommonStockholders
Namespace Prefix: | cosm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition The sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482689/260-10-45-10 + Details
Name: | us-gaap_WeightedAverageNumberOfSharesOutstandingBasic
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration