XML 56 R46.htm IDEA: XBRL DOCUMENT
v3.23.2

CAPITAL STRUCTURE (Details Narrative) - USD ($) |  | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | --- | --- | ---
Apr. 03, 2023 | Jun. 15, 2023 | Jan. 24, 2023 | Feb. 28, 2022 | Jun. 30, 2023 | Jun. 30, 2023 | Jun. 30, 2022 | Dec. 31, 2022
Preferred stock, shares authorized |  |  |  |  | 100,000,000 | 100,000,000 |  | 100,000,000
Common stock, shares authorized |  |  |  |  | 300,000,000 | 300,000,000 |  | 300,000,000
Conversion of stock value |  |  |  |  |  | $ 0 | $ 2,427,693 |
Common stock issued |  |  |  |  | 10,951,757 | 10,951,757 |  | 10,605,412
Common stock, share issued |  |  |  |  | 10,951,757 | 10,951,757 |  | 10,605,412
Stock-based compensation expense |  |  |  |  |  | $ 104,869 |  |
Stock value |  |  |  |  | $ 10,952 | $ 10,952 |  | $ 10,606
Common stock, share outstanding |  |  |  |  | 10,936,260 | 10,936,260 |  | 10,589,915
Extinguishment of debt |  |  |  |  |  | $ 306,637 |  |
Debt Conversion [Member] |  |  |  |  |  |  |  |
Shares, Issued |  |  |  |  |  |  | 9,520 |
Conversion of Debt |  |  |  |  |  |  | $ 1,190,000 |
Capital contribution |  |  |  |  |  |  | 973,420 |
Increase in equity related to the conversion |  |  |  |  |  |  | 1,190,000 |
Extinguishment of debt |  |  |  |  |  |  | $ 216,580 |
Fair values of extinguishment of debt |  |  |  |  |  |  | $ 102.25 |
Mezzanine Equity [Member] |  |  |  |  |  |  |  |
Net carrying values of preferred equity |  |  |  |  |  | $ 5,452,300 |  |
Series A Preferred Stock [Member] |  |  |  |  |  |  |  |
Preferred stock, shares authorized |  |  |  |  | 6,000,000 | 6,000,000 |  | 6,000,000
Description of preferred stock convertible into common stock |  |  |  |  |  | Series A Preferred Stock was initially convertible into the Company’s common stock as determined by dividing the number of shares of Series A Preferred Stock to be converted by the lower of (i) $75.00 or (ii) 80% of the average volume weighted average price for the Company’s common stock for the five (5) trading days immediately following the effectiveness of the registration statement concerning the shares (the “Conversion Price”). On June 14, 2022, the Conversion Price was reset to $15.54 per share |  |
Dividend rate, per year |  |  |  |  |  | 8.00% |  |
Deemed dividend |  |  |  |  |  | $ 372,414 |  |
Preferred stock, shares issued |  |  |  |  | 0 | 0 |  | 0
Preferred stock, shares outstnading |  |  |  |  | 0 | 0 |  | 0
Preferred Stock [Member] |  |  |  |  |  |  |  |
Preferred stock, shares authorized |  |  |  |  | 100,000,000 | 100,000,000 |  |
Preferred stock, shares issued |  |  |  |  | 0 | 0 |  | 0
Preferred stock, shares outstnading |  |  |  |  | 0 | 0 |  | 0
Series A Convertible Preferred Stock [Member] |  |  |  |  |  |  |  |
Preferred stock, shares authorized |  |  |  |  | 6,000,000 | 6,000,000 |  |
Series A Convertible Preferred Stock [Member] | Private Placement [Member] |  |  |  |  |  |  |  |
Sales of shares |  |  |  | 6,000 |  |  |  |
Shares price, per share |  |  |  | $ 1,000 |  |  |  |
Warrants |  |  |  | 80,000 |  |  |  |
Aggregate gross proceeds warrants |  |  |  | $ 6,000,000 |  |  |  |
Warrants, Description |  |  |  | The Warrants were initially exercisable to purchase shares of common stock at $82.50 per share, or 110% of the Series A Shares initial conversion price and will expire five and one-half years following the initial exercise date of the Warrants |  |  |  |
Additional number of warrant |  |  |  | 80,000 |  |  |  |
Dividends |  |  |  | $ 5,788,493 |  |  |  |
Warrants Black-Scholes option pricing model , Description |  |  |  | The warrants were valued using the Black-Scholes option pricing model with the following terms: a) exercise price of $82.50, b) common stock fair value of $85.50, c) volatility of 118%, d) discount rate of 1.71%, e) term of 5.50 years and f) dividend rate of 0%. |  |  |  |
Treasury Stock [Member] |  |  |  |  |  |  |  |
Number of share held |  |  |  |  | 15,497 | 15,497 |  | 15,497
Price of held common share |  |  |  |  | $ 816,707 | $ 816,707 |  | $ 816,707
Common stock authorized to purchase |  |  | $ 3,000,000 |  |  |  |  |
Convertible stock |  |  |  |  |  |  |  | 6,000
Conversion of stock in to common stock |  |  |  |  |  |  |  | 386,588
Conversion of stock value |  |  |  |  |  |  |  | $ 5,452,300
Issuance of common stock [Member] |  |  |  |  |  |  |  |
Common stock, share issued |  |  |  |  | 15,258 | 15,258 |  |
Stock issued for acquisition |  | 99,710 |  |  | 46,377 |  |  |
Stock issued for acquisition, value |  | $ 316,081 |  |  | $ 138,667 |  |  |
Issuance of common stock [Member] | Equity Incentive Plan [Member] |  |  |  |  |  |  |  |
Unvested share issued | 185,000 |  |  |  |  |  |  |
Stock-based compensation expense |  |  |  |  | 104,869 |  |  |
Unamortized stock-based compensation |  |  |  |  | $ 185,000 | $ 185,000 |  |
Issuance of common stock [Member] | Equity Incentive Plan [Member] | Tranche One [Member] |  |  |  |  |  |  |  |
Vesting shares description | 50% vesting on October 2, 2023 |  |  |  |  |  |  |
Stock value | $ 653,050 |  |  |  |  |  |  |
Issuance of common stock [Member] | Equity Incentive Plan [Member] | Tranche Two [Member] |  |  |  |  |  |  |  |
Vesting shares description | 50% vesting on October 2, 2024 |  |  |  |  |  |  |
Stock value | $ 548,181 |  |  |  |  |  |  |
Exercise of Warrants [Member] |  |  |  |  |  |  |  |
Issue shares of common stock |  |  |  |  |  | 51,391 |  |
Cashless exercise warrants |  |  |  |  |  | 139,527 |  |

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

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

X
- References No definition available. + Details
Name: | cosm_ConvertibleStock
Namespace Prefix: | cosm_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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

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

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

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

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

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

X
- References No definition available. + Details
Name: | cosm_NumberOfCommonShareHeld
Namespace Prefix: | cosm_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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

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

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

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

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

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

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

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

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 14.F) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479830/718-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Total number of shares of other common stock instruments held by shareholders, such as exchangeable shares. May be all or portion of the number of common shares authorized. + References No definition available. + Details
Name: | us-gaap_CommonStockOtherSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481372/852-10-55-10 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(22)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of common units issued of limited liability company (LLC). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_CommonUnitIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The value of the stock converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-4 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-3 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-5 + Details
Name: | us-gaap_ConversionOfStockAmountConverted1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of new shares issued in the conversion of stock in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-4 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-3 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-5 + Details
Name: | us-gaap_ConversionOfStockSharesIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Including the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + Details
Name: | us-gaap_ConvertibleDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The number of shares issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-3 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482913/230-10-50-5 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentSharesIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of paid and unpaid cash, stock, and paid-in-kind (PIK) dividends declared, for example, but not limited to, common and preferred stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 2 -SubTopic 405 -Topic 942 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481071/942-405-45-2 + Details
Name: | us-gaap_Dividends
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Gross amount of debt extinguished. + References No definition available. + Details
Name: | us-gaap_ExtinguishmentOfDebtAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of dividend income on nonoperating securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.7(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_InvestmentIncomeDividend
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow to reacquire common stock during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_PaymentsForRepurchaseOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The percentage rate used to calculate dividend payments on preferred stock. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.12-12A(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480032/946-320-S99-6 + Details
Name: | us-gaap_PreferredStockDividendRatePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PreferredStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(7)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483575/946-220-S99-3 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PreferredStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash inflow associated with the amount received by a corporation from a shareholder during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 14 -Subparagraph (a) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromContributedCapital
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of shares of stock issued as of the balance sheet date, including shares that had been issued and were previously outstanding but which are now held in the treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-2 + Details
Name: | us-gaap_SharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of stock issued during the period pursuant to acquisitions. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesAcquisitions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Value of stock issued pursuant to acquisitions during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 Reference 3: 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.29-31) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueAcquisitions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=cosm_DebtConversionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TradingActivityByTypeAxis=us-gaap_EquityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesAPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=cosm_PreferredStockShareMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=cosm_SeriesAConvertiblePreferredStockMember
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: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=cosm_TreasuryShareMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=cosm_IssuanceofcommonstockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=cosm_EquityIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=cosm_ExerciseofWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |