XML 70 R60.htm IDEA: XBRL DOCUMENT
v3.19.1

CONVERTIBLE DEBT (Details Narrative) - USD ($) |  |  |  | 1 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | --- | ---
Dec. 13, 2018 | Dec. 12, 2018 | Sep. 04, 2018 | Feb. 20, 2018 | Feb. 19, 2018 | Nov. 15, 2017 | Dec. 31, 2018 | Dec. 31, 2017 | Apr. 24, 2018
Convertible notes payable, principal amount |  |  |  |  |  |  | $ 2,919,286 |  |
Common stock, par value |  |  |  |  |  |  | $ 0.001 | $ 0.001 |
Debt discount |  |  |  |  |  |  | $ 3,169,672 | $ 3,350,000 |
Fair Value of Warrants |  |  |  |  |  |  | 157,969 | 368,003 |
Debt outstanding amount |  |  |  |  |  |  | 1,514,583 |  |
Amortization of debt discount |  |  |  |  | $ 392,272 |  | 3,124,058 | 360,890 |
Purchase price of financing cost |  |  |  |  |  |  | 25,202 |  |
Beneficial conversion feature |  |  |  |  |  |  | 386,062 |  |
Loss on extinguishment of debt |  |  |  |  |  |  | (1,464,698) |  |
Outstanding principal balance |  |  |  |  |  |  | $ 149,938 |  |
Dividend yield |  |  |  |  |  |  |  |  |
Related Party Debt |  |  |  |  |  |  | $ 2,408,965 | $ 817,040 |
Third Amendment and Exchange Agreements [Member] |  |  |  |  |  |  |  |  |
Exercise price |  | $ 6.00 |  |  |  |  |  |  |
Warrants retired |  | 536,000 |  |  |  |  |  |  |
Warrants [Member] | Securities Purchase Agreement [Member] |  |  |  |  |  |  |  |  |
Common stock shares issuable upon conversion of debt/convertible securities |  |  | 357,334 | 536,000 |  | 536,000 |  |  |
Common stock, par value |  |  | $ 6.00 |  |  | $ 5.00 |  |  |
Proceeds from issuance of warrants |  |  |  |  |  | $ 2,686,000 |  |  |
Legal fees |  |  |  |  |  | $ 74,000 |  |  |
Debt instrument maturity date |  |  | Mar. 01, 2019 |  |  |  |  |  |
Maturity period |  |  | 5 years | 5 years |  | 5 years |  |  |
Warrants exercise price |  |  |  | $ 7.50 |  | $ 7.50 |  |  |
Fair Value of Warrants |  |  | $ 910,078 | $ 1,545,288 |  |  |  |  |
Terms of Blocker Provision |  |  | The Notes or the Warrants, into shares of common stock if its beneficial ownership of the common stock would exceed 9.99% of the Company’s issued and outstanding common stock (a “Blocker”). | A blocker provision which prevents any holder from converting or exercising, as applicable, the Notes or the Warrants, into shares of Common Stock if its beneficial ownership of the Common Stock would exceed 4.99% (subject to adjustment not to exceed 9.99%) of the Company’s issued and outstanding Common Stock (each, a “Blocker”). |  |  |  |  |
Conditional proceeds from sale of common stock under the agreement |  |  | $ 20,000 |  |  |  |  |  |
Debt original issue discount |  |  | $ 233,332 |  |  |  |  |  |
Amortization of interest expense |  |  |  | $ 347,418 |  |  |  |  |
Debt convertible conversion description |  |  | The Notes and Warrants on any trading day to not more than such Buyer’s pro rata allocation of the greater of (x) sales with net proceeds of an aggregate of $20,000 or (y) twenty-five (25%) percent of the daily average trading volume of the Company’s Common Stock. If after the closing of the Financing the VWAP of the Company’s common stock for three (3) trading days is less than $1.50 per share, the Company may further restrict the Buyers from selling at less than $1.50 per share |  |  |  |  |  |
Exercise price |  |  | $ 7.50 |  |  |  |  |  |
Roth Capital Partners, LLC [Member] | Placement agent [Member] |  |  |  |  |  |  |  |  |
Proceeds from issuance of warrants |  |  | $ 140,000 |  |  |  |  |  |
Debt instrument maturity date |  |  | Mar. 04, 2019 |  |  |  |  |  |
Maturity period |  |  | 5 years |  |  |  |  |  |
Fair Value of Warrants |  |  | $ 157,969 |  |  |  |  |  |
Terms of Blocker Provision |  |  | will receive seven (7%) percent of any cash proceeds received from the exercise of any Warrants sold in the offering with an expiration equal to or less than twenty-four (24) months. |  |  |  |  |  |
Roth Capital Partners, LLC [Member] | Placement agent [Member] | Warrants [Member] |  |  |  |  |  |  |  |  |
Common stock shares issuable upon conversion of debt/convertible securities |  |  | 26,056 |  |  |  |  |  |
Warrants exercise price |  |  | $ 6.00 |  |  |  |  |  |
Debt original issue discount |  |  | $ 140,000 |  |  |  |  |  |
November 15, 2017 Securities Purchase Agreement [Member] | Third Amendment and Exchange Agreements [Member] |  |  |  |  |  |  |  |  |
Debt instrument maturity date |  | Dec. 11, 2023 |  |  |  |  |  |  |
Warrants issued |  | 727,683 |  |  |  |  |  |  |
September 4, 2018 Securities Purchase Agreement [Member] | Third Amendment and Exchange Agreements [Member] |  |  |  |  |  |  |  |  |
Related Party Debt |  | $ 1,333,333 |  |  |  |  |  |  |
Conversion price |  | $ 3.478 |  |  |  |  |  |  |
Debt modification expense | $ 1,778,952 |  |  |  |  |  |  |  |
Common stock issued | 383,363 |  |  |  |  |  |  |  |
Leak-out Agreement [Member] | Warrants [Member] | Securities Purchase Agreement [Member] |  |  |  |  |  |  |  |  |
Convertible notes payable, principal amount |  |  |  |  |  | $ 3,350,000 |  |  |
Debt discount |  |  |  |  |  |  |  | 240,000 |
Fair Value of Warrants |  |  |  |  |  |  |  | $ 386,003 |
Terms of agreement |  |  |  | As a condition to the closing of the Financing, each Buyer, severally, was required to execute a leak-out agreement (each, a “Leak-Out Agreement”) restricting such Buyer’s sale of shares of Common Stock underlying the Notes and Warrants on any Trading Day to not more than such Buyer’s pro rata allocation of the greater of (x) sales with net proceeds of an aggregate of $20,000 or (y) twenty-five (25%) percent of the daily average trading volume of the Company’s Common Stock. If after the closing of the Financing there is no Event of Default under the Notes, the VWAP of the Company’s Common Stock for three (3) trading days is less than $1.50 per share, the Company may further restrict the Buyers from selling at less than $1.50 per share; provided that the portion of the Notes subject to redemption on each Installment Date shall thereafter double. |  |  |  |  |
Conditional proceeds from sale of common stock under the agreement |  |  |  | $ 20,000 |  |  |  |  |
Terms of commission to placement agent |  |  |  |  |  | Placement agent, received a cash commission for the transaction equal to eight (8%) percent of the total gross proceeds of the offering, or $240,000 and the issuance of five-year warrants to purchase eight (8%) percent of the shares of common stock issued or issuable in this offering (excluding shares of common stock issuable upon exercise of any warrants issued to investors), or 53,600 shares; and, will receive eight (8%) percent of any cash proceeds received from the exercise of any warrants sold in the offering with an expiration equal to or less than twenty-four (24) months. |  |  |
Post-modification [Member] | Third Amendment and Exchange Agreements [Member] |  |  |  |  |  |  |  |  |
Exercise price |  | $ 6 |  |  |  |  |  |  |
Fair value of common stock |  | $ 6 |  |  |  |  |  |  |
Expected volatility |  | 113.62% |  |  |  |  |  |  |
Dividend yield |  | 0.00% |  |  |  |  |  |  |
Risk-free rate |  | 2.77% |  |  |  |  |  |  |
Expected life |  | 5 years |  |  |  |  |  |  |
Pre-modification [Member] | Third Amendment and Exchange Agreements [Member] |  |  |  |  |  |  |  |  |
Exercise price |  | $ 7.50 |  |  |  |  |  |  |
Fair value of common stock |  | $ 6 |  |  |  |  |  |  |
Expected volatility |  | 243.69% |  |  |  |  |  |  |
Dividend yield |  | 0.00% |  |  |  |  |  |  |
Risk-free rate |  | 2.77% |  |  |  |  |  |  |
Expected life |  | 3 years 11 months 4 days |  |  |  |  |  |  |
Registration Rights Agreement [Member] | Warrants [Member] | Securities Purchase Agreement [Member] |  |  |  |  |  |  |  |  |
Debt instrument maturity date |  |  |  | Feb. 01, 2019 |  |  |  |  |
Terms of agreement |  |  |  | The Company filed, within thirty (30) days of the Closing, a registration statement covering one hundred fifty (150%) percent of the maximum number of shares, underlying the Notes and Warrants pursuant to a registration rights agreement with the Buyers (the “Registration Rights Agreement”). |  |  |  |  |
September 2018 Notes [Member] | Holder [Member] | Warrants [Member] | Securities Purchase Agreement [Member] |  |  |  |  |  |  |  |  |
Common stock, par value |  |  | $ 6.00 |  |  |  |  |  |
Event of default conversion price, description |  |  | Upon an Event of Default (regardless of whether such event has been cured), the Buyers may convert at an alternative conversion price equal to the lower of the then applicable Conversion Price or seventy-five (75%) percent of the then Volume-Weighted Average Price (as defined, the “VWAP”). |  |  |  |  |  |
Debt instrument maturity date |  |  | Nov. 01, 2018 |  |  |  |  |  |
Customary events of default, description |  |  | The Notes at a redemption premium of one hundred twenty-five (125%) percent, multiplied by the greater of the conversion rate and the then current market price. The Buyers may also require redemption of the Notes upon a Change of Control (as defined) at a premium of one hundred twenty-five (125%) percent. The Company has the right to redeem the Notes at any time, in whole or in part, in cash at a price equal to 120% of the then outstanding conversion amount. |  |  |  |  |  |
Debt original issue discount |  |  | $ 934,922 |  |  |  |  |  |
Per-delivery shares issued |  |  | 372,222 |  |  |  |  |  |
September 2018 Notes [Member] | Institutional investors [Member] | Securities Purchase Agreement [Member] |  |  |  |  |  |  |  |  |
Convertible notes payable, principal amount |  |  | $ 2,233,333 |  |  |  |  |  |
Common stock shares issuable upon conversion of debt/convertible securities |  |  | 372,222 |  |  |  |  |  |
Common stock, par value |  |  | $ 0.001 |  |  |  |  |  |
Proceeds from issuance of warrants |  |  | $ 1,845,000 |  |  |  |  |  |
Legal fees |  |  | $ 15,000 |  |  |  |  |  |
Debt instrument maturity date |  |  | May 01, 2019 |  |  |  |  |  |
Purchase price charged to financing costs |  |  | $ 140,000 |  |  |  |  |  |
Purchase price of financing cost |  |  | $ 2,000,000 |  |  |  |  |  |
Exercise price |  |  | $ 7.50 |  |  |  |  |  |
Convertible Notes [Member] |  |  |  |  |  |  |  |  |
Debt discount |  |  |  |  |  |  | 2,233,332 |  |
Amortization of debt discount |  |  |  |  |  |  | 2,049,232 |  |
Beneficial conversion feature |  |  |  |  |  |  | 1,333,333 |  |
Outstanding principal balance |  |  |  |  |  |  | $ 261,903 |  |
Conversion price |  |  |  |  |  |  | $ 3.478 |  |
Convertible Notes [Member] | Third Exchange Agreement [Member] |  |  |  |  |  |  |  |  |
Convertible notes payable, principal amount |  |  |  |  |  |  | $ 638,095 |  |
Convertible Notes [Member] | September 2018 [Member] |  |  |  |  |  |  |  |  |
Event of Default Interest rate |  |  |  |  |  |  | 18.00% |  |
Installment fees |  |  |  |  |  |  | $ 31,905 |  |
Interest Rate |  |  |  |  |  |  | 5.00% |  |
New Notes [Member] | Exchange Agreements [Member] |  |  |  |  |  |  |  |  |
Convertible notes payable, principal amount |  |  |  | $ 3,216,000 |  |  |  |  |
Debt discount |  |  |  | 3,216,000 | 1,140,711 |  |  |  |
Amortization of debt discount |  |  |  |  | $ 405,743 |  |  |  |
Debt original issue discount |  |  |  | 336,000 |  |  |  |  |
Beneficial conversion feature |  |  |  | 2,880,000 |  |  |  |  |
Loss on extinguishment of debt |  |  |  | 1,464,698 |  |  |  |  |
Adjustments to beneficial conversion feature and issue of debt discount |  |  |  | 1,739,289 |  |  |  |  |
Senior Convertible Notes [Member] | Securities Purchase Agreement [Member] |  |  |  |  |  |  |  |  |
Common stock shares issuable upon conversion of debt/convertible securities |  |  |  |  |  | 670,000 |  |  |
Common stock, par value |  |  |  |  |  | $ 0.001 |  |  |
Debt original issue discount |  |  |  |  |  | $ 350,000 |  |  |
Purchase price charged to financing costs |  |  |  |  |  | 240,000 |  |  |
Purchase price of financing cost |  |  |  |  |  | 3,000,000 |  |  |
Senior Convertible Notes [Member] | Exchange Agreements [Member] |  |  |  |  |  |  |  |  |
Convertible notes payable, principal amount |  |  |  | $ 2,871,429 |  |  |  |  |
Common stock, par value |  |  |  | $ 5.00 |  |  |  |  |
Convertible debt, description |  |  |  | The Company evaluated the debt modification in accordance with ASC 470-50 and concluded that the debt qualified for debt extinguishment as the 10% cash flow test was met. |  |  |  |  |
Event of default conversion price, description |  |  |  | Upon an Event of Default (as defined), the Buyers may convert at an alternative conversion price equal to the lower of the then applicable Conversion Price or seventy-five (75%) percent of the Volume-Weighted Average Price (as defined, the “VWAP”). |  |  |  |  |
Debt discount |  |  |  | $ 2,596,838 |  |  |  |  |
Customary events of default, description |  |  |  | The Notes include customary Events of Default and provide that the Buyers may require the Company to redeem (regardless of whether the Event of Default has been cured) all or a portion of the Notes at a redemption premium of one hundred twenty-five (125%) percent, multiplied by the greater of the conversion rate and the then current market price. The Buyers may also require redemption of the Notes upon a Change of Control (as defined) at a premium of one hundred twenty-five (125%) percent. |  |  |  |  |
Existing note description |  |  |  | (i) the New Note was not convertible into shares of the Company’s common stock (the “Common Stock”) until April 20, 2018; (ii) all future cash installment payments under such New Note will be made at a redemption price equal to 112% of the applicable installment amount; (iii) the Company’s existing obligation to initially deliver pre-delivery shares of its common stock to the holder of such New Note was deferred until April 20, 2018; and (iv) at any time on or before June 20, 2018, the Company had the right, at its option, to redeem all, or any part, of the amounts then outstanding under such New Note in cash at a redemption price equal to 125% of such amounts then outstanding under such New Note. |  |  |  |  |
Cash proceeds received by holders |  |  |  | 85.00% |  |  |  |  |
Additional paid in capital |  |  |  | $ 1,140,711 |  |  |  |  |
Aggregate indebtedness |  |  |  | $ 12,000,000 |  |  |  |  |
Per-delivery shares issued |  |  |  |  |  |  |  |  | 670,001
Senior Convertible Note 2 [Member] | Institutional investors [Member] | Securities Purchase Agreement [Member] |  |  |  |  |  |  |  |  |
Convertible notes payable, principal amount |  |  |  |  |  | 3,350,000 |  |  |
Senior Convertible Note 1 [Member] | Institutional investors [Member] | Securities Purchase Agreement [Member] |  |  |  |  |  |  |  |  |
Convertible notes payable, principal amount |  |  |  |  |  | $ 3,000,000 |  |  |

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

X
- References No definition available. + Details
Name: | COSM_CashProceedsReceviedByHolders
Namespace Prefix: | COSM_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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

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

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

X
- References No definition available. + Details
Name: | COSM_DebtOriginalIssueDiscount
Namespace Prefix: | COSM_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

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

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

X
- References No definition available. + Details
Name: | COSM_InterestRate
Namespace Prefix: | COSM_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | COSM_OutstandingPrincipalBalance
Namespace Prefix: | COSM_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

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

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

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

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

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

X
- Definition Exercise price of the warrants. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Article 12 -Section 13 -Sentence Column A + Details
Name: | invest_InvestmentWarrantsExercisePrice
Namespace Prefix: | invest_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) in additional paid in capital (APIC) resulting from recognition of deferred taxes for convertible debt with a beneficial conversion feature. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 55 -Paragraph 51 -URI http://asc.fasb.org/extlink&oid=109238393&loc=d3e34017-109320 + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalConvertibleDebtWithConversionFeature
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28541-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3602-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.8) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 + Details
Name: | us-gaap_AmortizationOfDebtDiscountPremium
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate number of common shares reserved for future issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Including the current and noncurrent portions, carrying value as of the balance sheet date of a written promise to pay a note, initially due after one year or beyond the operating cycle if longer, which can be exchanged for a specified amount of one or more securities (typically common stock), at the option of the issuer or the holder. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(13)) -URI http://asc.fasb.org/extlink&oid=6488278&loc=d3e603758-122996 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_ConvertibleNotesPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The name of the original debt issue that has been converted in a noncash (or part noncash) transaction during the accounting period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References No definition available. + Details
Name: | us-gaap_DebtConversionDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Discussion of the facts and amounts pertaining to each failure to comply with an affirmative or negative covenant of a short-term debt instrument, including violating payment terms or an inability to meet certain minimum financial requirements or achieve or maintain certain financial ratios. The discussion would generally be expected to also include whether or not the failure can and will be overcome and a description of the terms of any waivers, including the amount of the waiver and the period of time covered by the waiver. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(c)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6802200&loc=SL6230698-112601 + Details
Name: | us-gaap_DebtDefaultShorttermDebtDescriptionOfViolationOrEventOfDefault
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of a favorable spread to a debt holder between the amount of debt being converted and the value of the securities received upon conversion. This is an embedded conversion feature of convertible debt issued that is in-the-money at the commitment date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21538-112644 + Details
Name: | us-gaap_DebtInstrumentConvertibleBeneficialConversionFeature
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031898-161870 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The average effective interest rate during the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=99377789&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28541-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Period the derivative contract is outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DerivativeTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense (income) related to adjustment to fair value of warrant liability. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section 25 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=109262497&loc=d3e20148-110875 + Details
Name: | us-gaap_FairValueAdjustmentOfWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=114001942&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114001942&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the portion of interest incurred in the period on debt arrangements that was charged against earnings, excluding amortization of debt discount (premium) and financing costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph 8 -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 + Details
Name: | us-gaap_InterestExpenseDebtExcludingAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expense provided in the period for legal costs incurred on or before the balance sheet date pertaining to resolved, pending or threatened litigation, including arbitration and mediation proceedings. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.3) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 + Details
Name: | us-gaap_LegalFees
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of additional paid-in capital at the balance sheet date after fresh-start adjustments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 + Details
Name: | us-gaap_PostconfirmationAdditionalPaidInCapital
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow from issuance of rights to purchase common shares at predetermined price (usually issued together with corporate debt). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from a long-term borrowing made from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Proceeds from Advances from Affiliates. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromRelatedPartyDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(iii) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(ii) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The risk-free interest rate assumption that is used in valuing an option on its own shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(iv) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Expected term of share-based compensation awards, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(i) -URI http://asc.fasb.org/extlink&oid=109197908&loc=d3e5070-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 14.D.2) -URI http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of new stock issued during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition A device of credit enhancement where a part of the purchase price for the receivable/ payable is retained to serve as a cash collateral. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4332-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4304-108586 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4313-108586 + Details
Name: | us-gaap_SupplementalDeferredPurchasePrice
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_PurchaseCommitmentExcludingLongtermCommitmentAxis=COSM_ThirdAmendmentandExchangeAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_PurchaseCommitmentExcludingLongtermCommitmentAxis=COSM_SecuritiesPurchaseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=COSM_RothCapitalPartnersLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TitleOfIndividualAxis=COSM_PlacementAgentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

X
- Details
Name: | us-gaap_AwardDateAxis=COSM_SeptemberTwoThousandEighteenNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TitleOfIndividualAxis=COSM_HolderMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TitleOfIndividualAxis=COSM_InstitutionalInvestorsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=COSM_ConvertibleNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_AwardDateAxis=COSM_SeptemberTwoThousandEighteenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=COSM_NewNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PurchaseCommitmentExcludingLongtermCommitmentAxis=COSM_ExchangeAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=COSM_SeniorConvertibleNoteTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=COSM_SeniorConvertibleNoteOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |