{
 "instance": {
  "gecc-20221231.htm": {
   "axisCustom": 0,
   "axisStandard": 26,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap-sup/2022q3": 327,
    "http://fasb.org/us-gaap/2022": 1877,
    "http://xbrl.sec.gov/cef/2022": 100,
    "http://xbrl.sec.gov/dei/2022": 48
   },
   "contextCount": 948,
   "dts": {
    "calculationLink": {
     "local": [
      "gecc-20221231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "gecc-20221231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "gecc-20221231.htm"
     ]
    },
    "labelLink": {
     "local": [
      "gecc-20221231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "gecc-20221231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "gecc-20221231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/2006/xbrldi-2006.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/srt/2022q3/srt-sup-2022q3.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022q3/us-gaap-sup-2022q3.xsd",
      "https://xbrl.sec.gov/cef/2022/cef-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022_lab.xsd"
     ]
    }
   },
   "elementCount": 999,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 6,
    "http://xbrl.sec.gov/dei/2022": 4,
    "total": 10
   },
   "keyCustom": 95,
   "keyStandard": 266,
   "memberCustom": 286,
   "memberStandard": 44,
   "nsprefix": "gecc",
   "nsuri": "http://www.greatelmcc.com/20221231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "100000 - Document - Document and Entity Information",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentPeriodEndDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedPercentOfNetAssets",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100090 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Parenthetical) (unaudited)",
     "menuCat": "Statements",
     "order": "10",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (Parenthetical) (unaudited)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "4",
      "lang": null,
      "name": "gecc:PercentageOfNonQualifyingAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100100 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Investment Consisted)",
     "menuCat": "Statements",
     "order": "11",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (Investment Consisted)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_15b389cd-aeb5-4f90-86a9-8c5164d044b5",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100110 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Geographic Composition of Portfolio At Fair Value)",
     "menuCat": "Statements",
     "order": "12",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (Geographic Composition of Portfolio At Fair Value)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_50d63d99-25f3-4fa8-8877-46f1eebc9988",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100120 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Industry Composition of Portfolio At Fair Value)",
     "menuCat": "Statements",
     "order": "13",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (Industry Composition of Portfolio At Fair Value)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_900560ce-5c1c-4a54-ab73-0a8698063e23",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityFileNumber",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995470 - Disclosure - N-2",
     "menuCat": "Notes",
     "order": "14",
     "role": "http://xbrl.sec.gov/cef/role/N2",
     "shortName": "N-2",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "cef:AnnualExpensesTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "lang": "en-US",
      "name": "cef:ShareholderTransactionExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995480 - Disclosure - Organization",
     "menuCat": "Notes",
     "order": "15",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganization",
     "shortName": "Organization",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995490 - Disclosure - Significant Accounting Policies",
     "menuCat": "Notes",
     "order": "16",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPolicies",
     "shortName": "Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995500 - Disclosure - Significant Agreements and Related Parties",
     "menuCat": "Notes",
     "order": "17",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedParties",
     "shortName": "Significant Agreements and Related Parties",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995510 - Disclosure - Fair Value Measurement",
     "menuCat": "Notes",
     "order": "18",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurement",
     "shortName": "Fair Value Measurement",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995520 - Disclosure - Debt",
     "menuCat": "Notes",
     "order": "19",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebt1",
     "shortName": "Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (unaudited)",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
     "shortName": "CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap-supplement:ReceivableInvestmentSale",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995530 - Disclosure - Capital Activity",
     "menuCat": "Notes",
     "order": "20",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureCapitalActivity1",
     "shortName": "Capital Activity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995540 - Disclosure - Commitment and Contingencies",
     "menuCat": "Notes",
     "order": "21",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingencies",
     "shortName": "Commitment and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gecc:IndemnificationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995550 - Disclosure - Indemnification",
     "menuCat": "Notes",
     "order": "22",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureIndemnification",
     "shortName": "Indemnification",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gecc:IndemnificationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995560 - Disclosure - Tax Information",
     "menuCat": "Notes",
     "order": "23",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformation1",
     "shortName": "Tax Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995570 - Disclosure - Financial Highlights",
     "menuCat": "Notes",
     "order": "24",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFinancialHighlights1",
     "shortName": "Financial Highlights",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995580 - Disclosure - Affiliates and Controlled Investments",
     "menuCat": "Notes",
     "order": "25",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestments2",
     "shortName": "Affiliates and Controlled Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995590 - Disclosure - Subsequent Events",
     "menuCat": "Notes",
     "order": "26",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEvents1",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995600 - Disclosure - Significant Accounting Policies (Policies)",
     "menuCat": "Policies",
     "order": "27",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies",
     "shortName": "Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995610 - Disclosure - Fair Value Measurement (Tables)",
     "menuCat": "Tables",
     "order": "28",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementTables",
     "shortName": "Fair Value Measurement (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995620 - Disclosure - Debt (Tables)",
     "menuCat": "Tables",
     "order": "29",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtTables",
     "shortName": "Debt (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100020 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (unaudited) (Parenthetical)",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (unaudited) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentUnamortizedDiscount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gecc:SummaryOfTaxCharacterOfDistributionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995630 - Disclosure - Tax Information (Tables)",
     "menuCat": "Tables",
     "order": "30",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationTables",
     "shortName": "Tax Information (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gecc:SummaryOfTaxCharacterOfDistributionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995640 - Disclosure - Financial Highlights (Tables)",
     "menuCat": "Tables",
     "order": "31",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsTables",
     "shortName": "Financial Highlights (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995650 - Disclosure - Affiliates and Controlled Investments (Tables)",
     "menuCat": "Tables",
     "order": "32",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsTables",
     "shortName": "Affiliates and Controlled Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityIncorporationDateOfIncorporation",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995660 - Disclosure - Organization - Additional Information (Details)",
     "menuCat": "Details",
     "order": "33",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails",
     "shortName": "Organization - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityIncorporationDateOfIncorporation",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "gecc:RetroactiveAdjustmentsForReverseStockSplitPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gecc:ReverseStockSplitEffectiveDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995670 - Disclosure - Significant Accounting Policies - Additional Information (Details)",
     "menuCat": "Details",
     "order": "34",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
     "shortName": "Significant Accounting Policies - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "gecc:RetroactiveAdjustmentsForReverseStockSplitPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gecc:ReverseStockSplitEffectiveDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_e56f5fb4-a00d-4aeb-9f43-3334a88f1b49",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "gecc:CapitalGainsIncentiveFeesEliminated",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995680 - Disclosure - Significant Agreements and Related Parties - Additional Information (Details)",
     "menuCat": "Details",
     "order": "35",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
     "shortName": "Significant Agreements and Related Parties - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_e56f5fb4-a00d-4aeb-9f43-3334a88f1b49",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "gecc:CapitalGainsIncentiveFeesEliminated",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995690 - Disclosure - Fair Value Measurement - Summary of Investment Assets Categorized within Fair Value Hierarchy (Details)",
     "menuCat": "Details",
     "order": "36",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails",
     "shortName": "Fair Value Measurement - Summary of Investment Assets Categorized within Fair Value Hierarchy (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_0e147713-69ec-4ec3-aff2-0c13a360cb21",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_8a206309-0f99-4fd1-a857-9a0c91bb133a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995700 - Disclosure - Fair Value Measurement - Summary of Reconciliation of Level 3 Assets (Details)",
     "menuCat": "Details",
     "order": "37",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
     "shortName": "Fair Value Measurement - Summary of Reconciliation of Level 3 Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_e9f7e9e2-ff58-4a3d-b0b4-a4da9e879a02",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_e81c4268-b0b3-4504-94cd-06ec0856c7f9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gecc:FairValueAssetRecurringBasisNetChangeInUnrealizedAppreciationStillHeld",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995710 - Disclosure - Fair Value Measurement - Summary of Reconciliation of Level 3 Assets (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "38",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
     "shortName": "Fair Value Measurement - Summary of Reconciliation of Level 3 Assets (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_e81c4268-b0b3-4504-94cd-06ec0856c7f9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gecc:FairValueAssetRecurringBasisNetChangeInUnrealizedAppreciationStillHeld",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_e81c4268-b0b3-4504-94cd-06ec0856c7f9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995720 - Disclosure - Fair Value Measurement - Additional Information (Details)",
     "menuCat": "Details",
     "order": "39",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
     "shortName": "Fair Value Measurement - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_3df93c69-c535-437d-a0de-da4535220ec3",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestIncomeOperating",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100030 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherInterestAndDividendIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995730 - Disclosure - Fair Value Measurement - Ranges of Significant Unobservable Inputs to Value Level 3 Assets (Details)",
     "menuCat": "Details",
     "order": "40",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
     "shortName": "Fair Value Measurement - Ranges of Significant Unobservable Inputs to Value Level 3 Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisValuationTechniquesTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_530eb3f1-93e2-4976-a27c-a6e18a13795e",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCredit",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995740 - Disclosure - Debt - Additional Information (Details)",
     "menuCat": "Details",
     "order": "41",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
     "shortName": "Debt - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "1",
      "lang": null,
      "name": "us-gaap:RatioOfIndebtednessToNetCapital1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_5632d0f2-e93a-4268-8f9e-0a68db2351ac",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995750 - Disclosure - Debt - Schedule of Senior Securities (Including Debt Securities and Other Indebtedness) (Details)",
     "menuCat": "Details",
     "order": "42",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
     "shortName": "Debt - Schedule of Senior Securities (Including Debt Securities and Other Indebtedness) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_5632d0f2-e93a-4268-8f9e-0a68db2351ac",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_cf2d4d9f-7238-49c1-9bbe-ce1434385a29",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gecc:AmountOfAssetCoveragePerUnitExpressedIndebtedness",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995760 - Disclosure - Debt - Schedule of Senior Securities (Including Debt Securities and Other Indebtedness) (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "43",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
     "shortName": "Debt - Schedule of Senior Securities (Including Debt Securities and Other Indebtedness) (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_cf2d4d9f-7238-49c1-9bbe-ce1434385a29",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gecc:AmountOfAssetCoveragePerUnitExpressedIndebtedness",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gecc:SummaryOfComponentsOfInterestExpenseTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebtExcludingAmortization",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995770 - Disclosure - Debt - Summary of Components of Interest Expense (Details)",
     "menuCat": "Details",
     "order": "44",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails",
     "shortName": "Debt - Summary of Components of Interest Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gecc:SummaryOfComponentsOfInterestExpenseTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebtExcludingAmortization",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f341c06f-721d-421a-8e8c-11218a992517",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995780 - Disclosure - Debt - Summary of Commitments, Borrowings Outstanding and Fair Value of Notes (Details)",
     "menuCat": "Details",
     "order": "45",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
     "shortName": "Debt - Summary of Commitments, Borrowings Outstanding and Fair Value of Notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f341c06f-721d-421a-8e8c-11218a992517",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_536a683a-81eb-4c6e-8e3e-7878a806df7d",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "gecc:NumberOfNewSharesOfCommonStockPurchased",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_NewShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995790 - Disclosure - Capital Activity - Additional Information (Details)",
     "menuCat": "Details",
     "order": "46",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
     "shortName": "Capital Activity - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_536a683a-81eb-4c6e-8e3e-7878a806df7d",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "gecc:NumberOfNewSharesOfCommonStockPurchased",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_NewShare",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_fb0bf9b7-a9e2-495f-b28c-7dd3066a3148",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LossContingencyDamagesSoughtValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995800 - Disclosure - Commitment and Contingencies - Additional Information (Details)",
     "menuCat": "Details",
     "order": "47",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
     "shortName": "Commitment and Contingencies - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_fb0bf9b7-a9e2-495f-b28c-7dd3066a3148",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LossContingencyDamagesSoughtValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gecc:SummaryOfTaxCharacterOfDistributionsTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995810 - Disclosure - Tax Information - Summary of Tax Character of Distributions (Details)",
     "menuCat": "Details",
     "order": "48",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfTaxCharacterOfDistributionsDetails",
     "shortName": "Tax Information - Summary of Tax Character of Distributions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gecc:SummaryOfTaxCharacterOfDistributionsTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gecc:SummaryOfComponentsOfDistributableEarningsLossesOnTaxBasisTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gecc:InvestmentCompanyUndistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995820 - Disclosure - Tax Information - Summary of Components of Distributable Earnings (Losses) on a Tax Basis (Details)",
     "menuCat": "Details",
     "order": "49",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfComponentsOfDistributableEarningsLossesOnATaxBasisDetails",
     "shortName": "Tax Information - Summary of Components of Distributable Earnings (Losses) on a Tax Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gecc:SummaryOfComponentsOfDistributableEarningsLossesOnTaxBasisTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gecc:InvestmentCompanyUndistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentIncomeNet",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (unaudited)",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentCompanyDividendDistribution",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TaxBasisOfInvestmentsCostForIncomeTaxPurposes",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995830 - Disclosure - Tax Information - Schedule of Aggregate Unrealized Appreciation and Depreciation on Investment for U.S. Federal Income Tax Purpose (Details)",
     "menuCat": "Details",
     "order": "50",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfAggregateUnrealizedAppreciationAndDepreciationOnInvestmentForUsFederalIncomeTaxPurposeDetails",
     "shortName": "Tax Information - Schedule of Aggregate Unrealized Appreciation and Depreciation on Investment for U.S. Federal Income Tax Purpose (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FederalIncomeTaxNoteTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedUnrecognizedUnrealizedAppreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gecc:ScheduleOfReclassificationOfCapitalAccountsOnTaxBasisTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gecc:InvestmentCompanyTaxBasisReclassificationOfPaidInCapitalInExcessOfPar",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995840 - Disclosure - Tax Information - Schedule of Reclassification of Capital Accounts on Tax Basis (Details)",
     "menuCat": "Details",
     "order": "51",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfReclassificationOfCapitalAccountsOnTaxBasisDetails",
     "shortName": "Tax Information - Schedule of Reclassification of Capital Accounts on Tax Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gecc:ScheduleOfReclassificationOfCapitalAccountsOnTaxBasisTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gecc:InvestmentCompanyTaxBasisReclassificationOfPaidInCapitalInExcessOfPar",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gecc:CapitalLossCarryforward",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995850 - Disclosure - Tax Information - Additional Information (Details)",
     "menuCat": "Details",
     "order": "52",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails",
     "shortName": "Tax Information - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "lang": null,
      "name": "gecc:CapitalLossCarryforwardCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_daba6050-1c8b-4692-b75a-f35f3d683ce5",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995860 - Disclosure - Financial Highlights - Schedule of Financial Highlights of the Company (Details)",
     "menuCat": "Details",
     "order": "53",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails",
     "shortName": "Financial Highlights - Schedule of Financial Highlights of the Company (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_9ddbf425-4179-4df5-9cb5-d44005397ffb",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gecc:AverageNetAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995870 - Disclosure - Financial Highlights - Schedule of Financial Highlights of the Company (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "54",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyParentheticalDetails",
     "shortName": "Financial Highlights - Schedule of Financial Highlights of the Company (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "gecc:AverageNetAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "gecc:PercentageOfAggregateFairValueOfNonControlledAffiliatedInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995880 - Disclosure - Affiliates and Controlled Investments - Additional Information (Details)",
     "menuCat": "Details",
     "order": "55",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
     "shortName": "Affiliates and Controlled Investments - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "gecc:PercentageOfAggregateFairValueOfNonControlledAffiliatedInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RealizedInvestmentGainsLosses",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995890 - Disclosure - Affiliates and Controlled Investments - Schedule of Fair Value with Transactions in Affiliated investments and controlled investments (Details)",
     "menuCat": "Details",
     "order": "56",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
     "shortName": "Affiliates and Controlled Investments - Schedule of Fair Value with Transactions in Affiliated investments and controlled investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_713b3191-0c64-4a61-9c2e-014059933885",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_e9190af2-1950-44b8-a4cc-dee8e47f472f",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "gecc:PercentageOfClassInAffiliatedInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995900 - Disclosure - Affiliates and Controlled Investments - Schedule of Fair Value with Transactions in Affiliated investments and controlled investments (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "57",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
     "shortName": "Affiliates and Controlled Investments - Schedule of Fair Value with Transactions in Affiliated investments and controlled investments (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_e9190af2-1950-44b8-a4cc-dee8e47f472f",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "gecc:PercentageOfClassInAffiliatedInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCredit",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995910 - Disclosure - Subsequent Events - Additional Information (Details)",
     "menuCat": "Details",
     "order": "58",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
     "shortName": "Subsequent Events - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_d4f5244c-5091-4be7-813c-73881eff7f56",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:DividendsPayableAmountPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": null,
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100050 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parenthetical) (unaudited)",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSParentheticalUnaudited",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parenthetical) (unaudited)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100060 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_f3723f08-e285-4ed4-86ce-fb189f6cf3b5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100070 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (PARENTHETICAL)",
     "menuCat": "Statements",
     "order": "8",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS (PARENTHETICAL)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_ff220dc3-6722-47e6-82a7-a2d80f634629",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100080 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (unaudited)",
     "menuCat": "Statements",
     "order": "9",
     "role": "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "gecc-20221231.htm",
      "contextRef": "C_82338f9f-0ee4-47bf-a800-a6aa47fc5383",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:NonInvestmentAssetsLessNonInvestmentLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 340,
   "tag": {
    "cef_AcquiredFundFeesAndExpensesNoteTextBlock": {
     "auth_ref": [
      "r518"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundFeesAndExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundFeesAndExpensesPercent": {
     "auth_ref": [
      "r519"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses [Percent]"
       }
      }
     },
     "localname": "AcquiredFundFeesAndExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AcquiredFundFeesEstimatedNoteTextBlock": {
     "auth_ref": [
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees Estimated, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundFeesEstimatedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundIncentiveAllocationNoteTextBlock": {
     "auth_ref": [
      "r521"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Incentive Allocation, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundIncentiveAllocationNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundTotalAnnualExpensesNoteTextBlock": {
     "auth_ref": [
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Total Annual Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundTotalAnnualExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AllRisksMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Risks:"
       }
      }
     },
     "localname": "AllRisksMember",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "cef_AllSecuritiesMember": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Securities:"
       }
      }
     },
     "localname": "AllSecuritiesMember",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "cef_AnnualCoverageReturnRatePercent": {
     "auth_ref": [
      "r548"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Coverage Return Rate [Percent]"
       }
      }
     },
     "localname": "AnnualCoverageReturnRatePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualDividendPayment": {
     "auth_ref": [
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment"
       }
      }
     },
     "localname": "AnnualDividendPayment",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualDividendPaymentCurrent": {
     "auth_ref": [
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Current"
       }
      }
     },
     "localname": "AnnualDividendPaymentCurrent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualDividendPaymentInitial": {
     "auth_ref": [
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Initial"
       }
      }
     },
     "localname": "AnnualDividendPaymentInitial",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualExpensesTableTextBlock": {
     "auth_ref": [
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Expenses [Table Text Block]"
       }
      }
     },
     "localname": "AnnualExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AnnualInterestRateCurrentPercent": {
     "auth_ref": [
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Current [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRateCurrentPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualInterestRateInitialPercent": {
     "auth_ref": [
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Initial [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRateInitialPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualInterestRatePercent": {
     "auth_ref": [
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRatePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_BasisOfTransactionFeesNoteTextBlock": {
     "auth_ref": [
      "r524"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Transaction Fees, Note [Text Block]"
       }
      }
     },
     "localname": "BasisOfTransactionFeesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_BdcFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BDC File Number"
       }
      }
     },
     "localname": "BdcFileNumber",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "cef_BusinessDevelopmentCompanyFlag": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Development Company [Flag]"
       }
      }
     },
     "localname": "BusinessDevelopmentCompanyFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_CapitalStockLongTermDebtAndOtherSecuritiesAbstract": {
     "auth_ref": [
      "r492"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock, Long-Term Debt, and Other Securities [Abstract]"
       }
      }
     },
     "localname": "CapitalStockLongTermDebtAndOtherSecuritiesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_CapitalStockTableTextBlock": {
     "auth_ref": [
      "r493"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock [Table Text Block]"
       }
      }
     },
     "localname": "CapitalStockTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_DistributionServicingFeesPercent": {
     "auth_ref": [
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution/Servicing Fees [Percent]"
       }
      }
     },
     "localname": "DistributionServicingFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DistributionsMayReducePrincipalTextBlock": {
     "auth_ref": [
      "r500"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distributions May Reduce Principal [Text Block]"
       }
      }
     },
     "localname": "DistributionsMayReducePrincipalTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_DividendAndInterestExpensesOnShortSalesPercent": {
     "auth_ref": [
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend and Interest Expenses on Short Sales [Percent]"
       }
      }
     },
     "localname": "DividendAndInterestExpensesOnShortSalesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DividendExpenseOnPreferredSharesPercent": {
     "auth_ref": [
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Expenses on Preferred Shares [Percent]"
       }
      }
     },
     "localname": "DividendExpenseOnPreferredSharesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DividendReinvestmentAndCashPurchaseFees": {
     "auth_ref": [
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Reinvestment and Cash Purchase Fees"
       }
      }
     },
     "localname": "DividendReinvestmentAndCashPurchaseFees",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_EffectsOfLeveragePurposeTextBlock": {
     "auth_ref": [
      "r549"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage, Purpose [Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeveragePurposeTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_EffectsOfLeverageTableTextBlock": {
     "auth_ref": [
      "r549"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Table Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeverageTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_EffectsOfLeverageTextBlock": {
     "auth_ref": [
      "r546"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeverageTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ExpenseExampleTableTextBlock": {
     "auth_ref": [
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example [Table Text Block]"
       }
      }
     },
     "localname": "ExpenseExampleTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ExpenseExampleYear01": {
     "auth_ref": [
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Year 01"
       }
      }
     },
     "localname": "ExpenseExampleYear01",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to10": {
     "auth_ref": [
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 10"
       }
      }
     },
     "localname": "ExpenseExampleYears1to10",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to3": {
     "auth_ref": [
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 3"
       }
      }
     },
     "localname": "ExpenseExampleYears1to3",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to5": {
     "auth_ref": [
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 5"
       }
      }
     },
     "localname": "ExpenseExampleYears1to5",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_FeeTableAbstract": {
     "auth_ref": [
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Table [Abstract]"
       }
      }
     },
     "localname": "FeeTableAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_FinancialHighlightsAbstract": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Highlights [Abstract]"
       }
      }
     },
     "localname": "FinancialHighlightsAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_GeneralDescriptionOfRegistrantAbstract": {
     "auth_ref": [
      "r543"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General Description of Registrant [Abstract]"
       }
      }
     },
     "localname": "GeneralDescriptionOfRegistrantAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_HighestPriceOrBid": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid"
       }
      }
     },
     "localname": "HighestPriceOrBid",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_HighestPriceOrBidNav": {
     "auth_ref": [
      "r554"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, NAV"
       }
      }
     },
     "localname": "HighestPriceOrBidNav",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_HighestPriceOrBidPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r555"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "HighestPriceOrBidPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationMaximumPercent": {
     "auth_ref": [
      "r521"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Maximum [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationMaximumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationMinimumPercent": {
     "auth_ref": [
      "r521"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Minimum [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationMinimumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationPercent": {
     "auth_ref": [
      "r521"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveFeesPercent": {
     "auth_ref": [
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Fees [Percent]"
       }
      }
     },
     "localname": "IncentiveFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_InterestExpensesOnBorrowingsPercent": {
     "auth_ref": [
      "r529"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expenses on Borrowings [Percent]"
       }
      }
     },
     "localname": "InterestExpensesOnBorrowingsPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IntervalFundFlag": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interval Fund [Flag]"
       }
      }
     },
     "localname": "IntervalFundFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_InvestmentObjectivesAndPracticesTextBlock": {
     "auth_ref": [
      "r544"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Objectives and Practices [Text Block]"
       }
      }
     },
     "localname": "InvestmentObjectivesAndPracticesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LatestNav": {
     "auth_ref": [
      "r556"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest NAV"
       }
      }
     },
     "localname": "LatestNav",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LatestPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r556"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "LatestPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_LatestSharePrice": {
     "auth_ref": [
      "r556"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Share Price"
       }
      }
     },
     "localname": "LatestSharePrice",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LoanServicingFeesPercent": {
     "auth_ref": [
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Servicing Fees [Percent]"
       }
      }
     },
     "localname": "LoanServicingFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_LongTermDebtDividendsAndCovenantsTextBlock": {
     "auth_ref": [
      "r507"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Dividends and Covenants [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtDividendsAndCovenantsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtIssuanceAndSubstitutionTextBlock": {
     "auth_ref": [
      "r508"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Issuance and Substitution [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtIssuanceAndSubstitutionTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtPrincipal": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Principal"
       }
      }
     },
     "localname": "LongTermDebtPrincipal",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_LongTermDebtRightsLimitedByOtherSecuritiesTextBlock": {
     "auth_ref": [
      "r509"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtRightsLimitedByOtherSecuritiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtStructuringTextBlock": {
     "auth_ref": [
      "r506"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Structuring [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtStructuringTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtTableTextBlock": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt [Table Text Block]"
       }
      }
     },
     "localname": "LongTermDebtTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtTitleTextBlock": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Title [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LowestPriceOrBid": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid"
       }
      }
     },
     "localname": "LowestPriceOrBid",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LowestPriceOrBidNav": {
     "auth_ref": [
      "r554"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, NAV"
       }
      }
     },
     "localname": "LowestPriceOrBidNav",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LowestPriceOrBidPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r555"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "LowestPriceOrBidPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ManagementFeeNotBasedOnNetAssetsNoteTextBlock": {
     "auth_ref": [
      "r528"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fee not based on Net Assets, Note [Text Block]"
       }
      }
     },
     "localname": "ManagementFeeNotBasedOnNetAssetsNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ManagementFeesPercent": {
     "auth_ref": [
      "r527"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fees [Percent]"
       }
      }
     },
     "localname": "ManagementFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_NetExpenseOverAssetsPercent": {
     "auth_ref": [
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Expense over Assets [Percent]"
       }
      }
     },
     "localname": "NetExpenseOverAssetsPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_NewCefOrBdcRegistrantFlag": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New CEF or BDC Registrant [Flag]"
       }
      }
     },
     "localname": "NewCefOrBdcRegistrantFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_NoPublicTradingTextBlock": {
     "auth_ref": [
      "r553"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Public Trading [Text Block]"
       }
      }
     },
     "localname": "NoPublicTradingTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_NoTradingHistoryTextBlock": {
     "auth_ref": [
      "r557"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Trading History [Text Block]"
       }
      }
     },
     "localname": "NoTradingHistoryTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherAnnualExpense1Percent": {
     "auth_ref": [
      "r530"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 1.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 1 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense1Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpense2Percent": {
     "auth_ref": [
      "r530"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 2.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 2 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense2Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpense3Percent": {
     "auth_ref": [
      "r530"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 3.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 3 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense3Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpensesAbstract": {
     "auth_ref": [
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Abstract]"
       }
      }
     },
     "localname": "OtherAnnualExpensesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_OtherAnnualExpensesPercent": {
     "auth_ref": [
      "r530"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherExpensesNoteTextBlock": {
     "auth_ref": [
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "OtherExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherFeederFundExpensesPercent": {
     "auth_ref": [
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Feeder Fund Expenses [Percent]"
       }
      }
     },
     "localname": "OtherFeederFundExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherMasterFundExpensesPercent": {
     "auth_ref": [
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Master Fund Expenses [Percent]"
       }
      }
     },
     "localname": "OtherMasterFundExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherSecuritiesTableTextBlock": {
     "auth_ref": [
      "r510"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Securities [Table Text Block]"
       }
      }
     },
     "localname": "OtherSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherSecurityDescriptionTextBlock": {
     "auth_ref": [
      "r510"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Description [Text Block]"
       }
      }
     },
     "localname": "OtherSecurityDescriptionTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherSecurityTitleTextBlock": {
     "auth_ref": [
      "r510"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Title [Text Block]"
       }
      }
     },
     "localname": "OtherSecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherTransactionExpense1Percent": {
     "auth_ref": [
      "r525"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 1.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 1 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense1Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpense2Percent": {
     "auth_ref": [
      "r525"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 2.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 2 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense2Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpense3Percent": {
     "auth_ref": [
      "r525"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 3.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 3 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense3Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpensesAbstract": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Abstract]"
       }
      }
     },
     "localname": "OtherTransactionExpensesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_OtherTransactionExpensesPercent": {
     "auth_ref": [
      "r525"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionFeesBasisMaximum": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisMaximum",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_OtherTransactionFeesBasisMaximumPercent": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum [Percent]"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisMaximumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionFeesBasisNoteTextBlock": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Note [Text Block]"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherTransactionFeesNoteTextBlock": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees, Note [Text Block]"
       }
      }
     },
     "localname": "OtherTransactionFeesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OutstandingSecuritiesTableTextBlock": {
     "auth_ref": [
      "r511"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Securities [Table Text Block]"
       }
      }
     },
     "localname": "OutstandingSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OutstandingSecurityAuthorizedShares": {
     "auth_ref": [
      "r513"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Authorized [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityAuthorizedShares",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityHeldShares": {
     "auth_ref": [
      "r514"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Held [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityHeldShares",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityNotHeldShares": {
     "auth_ref": [
      "r515"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Not Held [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityNotHeldShares",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityTitleTextBlock": {
     "auth_ref": [
      "r512"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Title [Text Block]"
       }
      }
     },
     "localname": "OutstandingSecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PreferredStockRestrictionsArrearageTextBlock": {
     "auth_ref": [
      "r501"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Arrearage [Text Block]"
       }
      }
     },
     "localname": "PreferredStockRestrictionsArrearageTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PreferredStockRestrictionsOtherTextBlock": {
     "auth_ref": [
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Other [Text Block]"
       }
      }
     },
     "localname": "PreferredStockRestrictionsOtherTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PrimaryShelfFlag": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf [Flag]"
       }
      }
     },
     "localname": "PrimaryShelfFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_PrimaryShelfQualifiedFlag": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf Qualified [Flag]"
       }
      }
     },
     "localname": "PrimaryShelfQualifiedFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_ProspectusLineItems": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Line Items]"
       }
      }
     },
     "localname": "ProspectusLineItems",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "xbrltype": "stringItemType"
    },
    "cef_ProspectusTable": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus:"
       }
      }
     },
     "localname": "ProspectusTable",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_PurposeOfFeeTableNoteTextBlock": {
     "auth_ref": [
      "r517"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purpose of Fee Table , Note [Text Block]"
       }
      }
     },
     "localname": "PurposeOfFeeTableNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RegisteredClosedEndFundFlag": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registered Closed-End Fund [Flag]"
       }
      }
     },
     "localname": "RegisteredClosedEndFundFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_ReturnAtMinusFivePercent": {
     "auth_ref": [
      "r549"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Five [Percent]"
       }
      }
     },
     "localname": "ReturnAtMinusFivePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtMinusTenPercent": {
     "auth_ref": [
      "r549"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Ten [Percent]"
       }
      }
     },
     "localname": "ReturnAtMinusTenPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtPlusFivePercent": {
     "auth_ref": [
      "r549"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Five [Percent]"
       }
      }
     },
     "localname": "ReturnAtPlusFivePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtPlusTenPercent": {
     "auth_ref": [
      "r549"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Ten [Percent]"
       }
      }
     },
     "localname": "ReturnAtPlusTenPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtZeroPercent": {
     "auth_ref": [
      "r549"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Zero [Percent]"
       }
      }
     },
     "localname": "ReturnAtZeroPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_RightsLimitedByOtherSecuritiesTextBlock": {
     "auth_ref": [
      "r504"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "localname": "RightsLimitedByOtherSecuritiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RightsSubjectToOtherThanMajorityVoteTextBlock": {
     "auth_ref": [
      "r503"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Subject to Other than Majority Vote [Text Block]"
       }
      }
     },
     "localname": "RightsSubjectToOtherThanMajorityVoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RiskAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Axis]"
       }
      }
     },
     "localname": "RiskAxis",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_RiskFactorsTableTextBlock": {
     "auth_ref": [
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Factors [Table Text Block]"
       }
      }
     },
     "localname": "RiskFactorsTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RiskTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Text Block]"
       }
      }
     },
     "localname": "RiskTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SalesLoadPercent": {
     "auth_ref": [
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales Load [Percent]"
       }
      }
     },
     "localname": "SalesLoadPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_SecurityAxis": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security [Axis]"
       }
      }
     },
     "localname": "SecurityAxis",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_SecurityDividendsTextBlock": {
     "auth_ref": [
      "r494"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Dividends [Text Block]"
       }
      }
     },
     "localname": "SecurityDividendsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityLiabilitiesTextBlock": {
     "auth_ref": [
      "r497"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liabilities [Text Block]"
       }
      }
     },
     "localname": "SecurityLiabilitiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityLiquidationRightsTextBlock": {
     "auth_ref": [
      "r496"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liquidation Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityLiquidationRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityObligationsOfOwnershipTextBlock": {
     "auth_ref": [
      "r499"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Obligations of Ownership [Text Block]"
       }
      }
     },
     "localname": "SecurityObligationsOfOwnershipTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityPreemptiveAndOtherRightsTextBlock": {
     "auth_ref": [
      "r498"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Preemptive and Other Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityPreemptiveAndOtherRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityTitleTextBlock": {
     "auth_ref": [
      "r493"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Title [Text Block]"
       }
      }
     },
     "localname": "SecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityVotingRightsTextBlock": {
     "auth_ref": [
      "r495"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Voting Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityVotingRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesAmount": {
     "auth_ref": [
      "r536"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Amount"
       }
      }
     },
     "localname": "SeniorSecuritiesAmount",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_SeniorSecuritiesAverageMarketValuePerUnit": {
     "auth_ref": [
      "r539"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Average Market Value per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesAverageMarketValuePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesAveragingMethodNoteTextBlock": {
     "auth_ref": [
      "r541"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Averaging Method, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesAveragingMethodNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesCoveragePerUnit": {
     "auth_ref": [
      "r537"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Coverage per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesCoveragePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesHeadingsNoteTextBlock": {
     "auth_ref": [
      "r542"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Headings, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHeadingsNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesHighlightsAnnualizedNoteTextBlock": {
     "auth_ref": [
      "r533",
      "r540"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Annualized, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHighlightsAnnualizedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesHighlightsAuditedNoteTextBlock": {
     "auth_ref": [
      "r534",
      "r540"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Audited, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHighlightsAuditedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit": {
     "auth_ref": [
      "r538"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Involuntary Liquidating Preference per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesNoteTextBlock": {
     "auth_ref": [
      "r532",
      "r540"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesTableTextBlock": {
     "auth_ref": [
      "r535"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities [Table Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SharePriceTableTextBlock": {
     "auth_ref": [
      "r551"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Price [Table Text Block]"
       }
      }
     },
     "localname": "SharePriceTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SharePricesNotActualTransactionsTextBlock": {
     "auth_ref": [
      "r552"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Prices Not Actual Transactions [Text Block]"
       }
      }
     },
     "localname": "SharePricesNotActualTransactionsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ShareholderTransactionExpensesTableTextBlock": {
     "auth_ref": [
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Transaction Expenses [Table Text Block]"
       }
      }
     },
     "localname": "ShareholderTransactionExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_TotalAnnualExpensesPercent": {
     "auth_ref": [
      "r529"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Annual Expenses [Percent]"
       }
      }
     },
     "localname": "TotalAnnualExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_UnderwritersCompensationPercent": {
     "auth_ref": [
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underwriters Compensation [Percent]"
       }
      }
     },
     "localname": "UnderwritersCompensationPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_WaiversAndReimbursementsOfFeesPercent": {
     "auth_ref": [
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Waivers and Reimbursements of Fees [Percent]"
       }
      }
     },
     "localname": "WaiversAndReimbursementsOfFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_WarrantsOrRightsCalledAmount": {
     "auth_ref": [
      "r510"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Amount"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledAmount",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_WarrantsOrRightsCalledPeriodDate": {
     "auth_ref": [
      "r510"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Period [Date]"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledPeriodDate",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "cef_WarrantsOrRightsCalledTitleTextBlock": {
     "auth_ref": [
      "r510"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Title"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_WarrantsOrRightsExercisePrice": {
     "auth_ref": [
      "r510"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Exercise Price"
       }
      }
     },
     "localname": "WarrantsOrRightsExercisePrice",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "country_CA": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CANADA",
        "terseLabel": "Canada"
       }
      }
     },
     "localname": "CA",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "xbrltype": "domainItemType"
    },
    "country_GB": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED KINGDOM",
        "terseLabel": "United Kingdom"
       }
      }
     },
     "localname": "GB",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "xbrltype": "domainItemType"
    },
    "country_US": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED STATES",
        "terseLabel": "United States"
       }
      }
     },
     "localname": "US",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AdditionalSecurities462b": {
     "auth_ref": [
      "r568"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities. 462(b)"
       }
      }
     },
     "localname": "AdditionalSecurities462b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AdditionalSecurities462bFileNumber": {
     "auth_ref": [
      "r568"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities, 462(b), File Number"
       }
      }
     },
     "localname": "AdditionalSecurities462bFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_AdditionalSecuritiesEffective413b": {
     "auth_ref": [
      "r567"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities Effective, 413(b)"
       }
      }
     },
     "localname": "AdditionalSecuritiesEffective413b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AddressTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types.",
        "label": "Address Type [Domain]"
       }
      }
     },
     "localname": "AddressTypeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of changes contained within amended document.",
        "label": "Amendment Description"
       }
      }
     },
     "localname": "AmendmentDescription",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_ApproximateDateOfCommencementOfProposedSaleToThePublic": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The approximate date of a commencement of a proposed sale of securities to the public. This element is disclosed in S-1, S-3, S-4, S-11, F-1, F-3 and F-10 filings.",
        "label": "Approximate Date of Commencement of Proposed Sale to Public"
       }
      }
     },
     "localname": "ApproximateDateOfCommencementOfProposedSaleToThePublic",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateOrAsapItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r487",
      "r488",
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm ID",
        "terseLabel": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r487",
      "r488",
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location",
        "terseLabel": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r487",
      "r488",
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name",
        "terseLabel": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_BusinessContactMember": {
     "auth_ref": [
      "r488",
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business contact for the entity",
        "label": "Business Contact [Member]"
       }
      }
     },
     "localname": "BusinessContactMember",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelName": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of contact personnel",
        "label": "Contact Personnel Name"
       }
      }
     },
     "localname": "ContactPersonnelName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DelayedOrContinuousOffering": {
     "auth_ref": [
      "r490",
      "r491",
      "r561"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Delayed or Continuous Offering"
       }
      }
     },
     "localname": "DelayedOrContinuousOffering",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DividendOrInterestReinvestmentPlanOnly": {
     "auth_ref": [
      "r490",
      "r491",
      "r561"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend or Interest Reinvestment Plan Only"
       }
      }
     },
     "localname": "DividendOrInterestReinvestmentPlanOnly",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r487",
      "r488",
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Document Information [Line Items]",
        "terseLabel": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]",
        "terseLabel": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentRegistrationStatement": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a registration statement.",
        "label": "Document Registration Statement"
       }
      }
     },
     "localname": "DocumentRegistrationStatement",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r562"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_DocumentsIncorporatedByReferenceTextBlock": {
     "auth_ref": [
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Documents incorporated by reference.",
        "label": "Documents Incorporated by Reference [Text Block]",
        "terseLabel": "Documents Incorporated by Reference"
       }
      }
     },
     "localname": "DocumentsIncorporatedByReferenceTextBlock",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "dei_EffectiveAfter60Days486a": {
     "auth_ref": [
      "r572"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective after 60 Days, 486(a)"
       }
      }
     },
     "localname": "EffectiveAfter60Days486a",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveOnDate486a": {
     "auth_ref": [
      "r572"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(a)"
       }
      }
     },
     "localname": "EffectiveOnDate486a",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_EffectiveOnDate486b": {
     "auth_ref": [
      "r573"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(b)"
       }
      }
     },
     "localname": "EffectiveOnDate486b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_EffectiveOnSetDate486a": {
     "auth_ref": [
      "r572"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(a)"
       }
      }
     },
     "localname": "EffectiveOnSetDate486a",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveOnSetDate486b": {
     "auth_ref": [
      "r573"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(b)"
       }
      }
     },
     "localname": "EffectiveOnSetDate486b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveUponFiling462e": {
     "auth_ref": [
      "r571"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Upon Filing, 462(e)"
       }
      }
     },
     "localname": "EffectiveUponFiling462e",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveUponFiling486b": {
     "auth_ref": [
      "r573"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective upon Filing, 486(b)"
       }
      }
     },
     "localname": "EffectiveUponFiling486b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveWhenDeclaredSection8c": {
     "auth_ref": [
      "r575"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective when Declared, Section 8(c)"
       }
      }
     },
     "localname": "EffectiveWhenDeclaredSection8c",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address, Address Line Two",
        "terseLabel": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 3 such as an Office Park",
        "label": "Entity Address, Address Line Three"
       }
      }
     },
     "localname": "EntityAddressAddressLine3",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Addresses, Address Type [Axis]"
       }
      }
     },
     "localname": "EntityAddressesAddressTypeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r484"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]",
        "terseLabel": "Entity"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r484"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r574"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Securities Act File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r484"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationDateOfIncorporation": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date when an entity was incorporated",
        "label": "Entity Incorporation, Date of Incorporation",
        "terseLabel": "Date of incorporation"
       }
      }
     },
     "localname": "EntityIncorporationDateOfIncorporation",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r565"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityInvCompanyType": {
     "auth_ref": [
      "r564"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product).",
        "label": "Entity Inv Company Type"
       }
      }
     },
     "localname": "EntityInvCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "invCompanyType"
    },
    "dei_EntityPublicFloat": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter.",
        "label": "Entity Public Float"
       }
      }
     },
     "localname": "EntityPublicFloat",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "monetaryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r484"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r484"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r484"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r484"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r566"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_ExhibitsOnly462d": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d)"
       }
      }
     },
     "localname": "ExhibitsOnly462d",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_ExhibitsOnly462dFileNumber": {
     "auth_ref": [
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d), File Number"
       }
      }
     },
     "localname": "ExhibitsOnly462dFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r487",
      "r488",
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyActFileNumber": {
     "auth_ref": [
      "r491",
      "r558",
      "r559",
      "r560"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act File Number"
       }
      }
     },
     "localname": "InvestmentCompanyActFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_InvestmentCompanyActRegistration": {
     "auth_ref": [
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act Registration"
       }
      }
     },
     "localname": "InvestmentCompanyActRegistration",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyRegistrationAmendment": {
     "auth_ref": [
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment"
       }
      }
     },
     "localname": "InvestmentCompanyRegistrationAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyRegistrationAmendmentNumber": {
     "auth_ref": [
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment Number"
       }
      }
     },
     "localname": "InvestmentCompanyRegistrationAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_NewEffectiveDateForPreviousFiling": {
     "auth_ref": [
      "r491",
      "r558",
      "r559",
      "r560"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Effective Date for Previous Filing"
       }
      }
     },
     "localname": "NewEffectiveDateForPreviousFiling",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_NoSubstantiveChanges462c": {
     "auth_ref": [
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c)"
       }
      }
     },
     "localname": "NoSubstantiveChanges462c",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_NoSubstantiveChanges462cFileNumber": {
     "auth_ref": [
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c), File Number"
       }
      }
     },
     "localname": "NoSubstantiveChanges462cFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_PostEffectiveAmendment": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-Effective Amendment"
       }
      }
     },
     "localname": "PostEffectiveAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_PostEffectiveAmendmentNumber": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 after the registration becomes effective.",
        "label": "Post-Effective Amendment Number"
       }
      }
     },
     "localname": "PostEffectiveAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_PreEffectiveAmendment": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pre-Effective Amendment"
       }
      }
     },
     "localname": "PreEffectiveAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_PreEffectiveAmendmentNumber": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 before the registration becomes effective.",
        "label": "Pre-Effective Amendment Number"
       }
      }
     },
     "localname": "PreEffectiveAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r483"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r486"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "gecc_ABBConCiseOpticalGroupLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ABB/Con-Cise Optical Group LLC.",
        "label": "ABB/Con-Cise Optical Group LLC 12301 NW 39th Street Coral Springs, FL 33065",
        "terseLabel": "ABB/Con-Cise Optical Group LLC 12301 NW 39th Street Coral Springs, FL 33065"
       }
      }
     },
     "localname": "ABBConCiseOpticalGroupLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_APTIMCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A P T I M Corp.",
        "label": "A P T I M Corp [Member]",
        "terseLabel": "APTIM Corp. 4171 Essen Lane Baton Rouge, LA 70809"
       }
      }
     },
     "localname": "APTIMCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AccelerateAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accelerate Acquisition Corp.",
        "label": "Accelerate Acquisition Corp [Member]",
        "terseLabel": "Accelerate Acquisition Corp. 51 John F Kennedy Parkway Short Hills, NJ 07078"
       }
      }
     },
     "localname": "AccelerateAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AccruedIncentiveFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued incentive fees payable.",
        "label": "Accrued Incentive Fees Payable",
        "terseLabel": "Accrued incentive fees payable",
        "verboseLabel": "Accrued incentive fees payable"
       }
      }
     },
     "localname": "AccruedIncentiveFeesPayable",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_AdTheorentHoldingCompanyIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AdTheorent Holding Company, Inc.",
        "label": "Ad Theorent Holding Company Inc [Member]",
        "terseLabel": "AdTheorent Holding Company, Inc 330 Hudson Street, 13th Floor New York, NY 10013"
       }
      }
     },
     "localname": "AdTheorentHoldingCompanyIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AdministrativeFeesExpensePayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Administrative fees expense payable.",
        "label": "Administrative Fees Expense Payable",
        "terseLabel": "Administrative expense payable"
       }
      }
     },
     "localname": "AdministrativeFeesExpensePayable",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_AdvancedMergerPartnersIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Advanced Merger Partners Inc.",
        "label": "Advanced Merger Partners Inc [Member]",
        "terseLabel": "Advanced Merger Partners Inc 555 West 57th Street, Suite 1326 New York, NY 10019"
       }
      }
     },
     "localname": "AdvancedMergerPartnersIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AffiliatedInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Affiliated investments.",
        "label": "Affiliated Investments [Member]",
        "terseLabel": "Affiliated Investments"
       }
      }
     },
     "localname": "AffiliatedInvestmentsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AffiliatedInvestmentsPIKMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Affiliated investments (PIK).",
        "label": "Affiliated Investments P I K [Member]",
        "terseLabel": "Affiliated investments (PIK)"
       }
      }
     },
     "localname": "AffiliatedInvestmentsPIKMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AggregateCumulativeRealizedCapitalGainsPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate cumulative realized capital gains percentage.",
        "label": "Aggregate Cumulative Realized Capital Gains Percentage",
        "terseLabel": "Aggregate cumulative realized capital gains percentage"
       }
      }
     },
     "localname": "AggregateCumulativeRealizedCapitalGainsPercentage",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_AgileGrowthCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agile Growth Corp.",
        "label": "Agile Growth Corp [Member]",
        "terseLabel": "Agile Growth Corp Riverside Center 275 Grove Street, Suite 2-400 Newton, MA 02466"
       }
      }
     },
     "localname": "AgileGrowthCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AgroFreshIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AgroFresh Inc.",
        "label": "Agro Fresh Inc [Member]",
        "terseLabel": "AgroFresh Inc. One Washington Square, 510-530 Walnut Street, Suite 1350, Philadelphia, PA 19106"
       }
      }
     },
     "localname": "AgroFreshIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AircraftMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aircraft.",
        "label": "Aircraft [Member]",
        "terseLabel": "Aircraft"
       }
      }
     },
     "localname": "AircraftMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AllegoNVIndustrieparkKleefseWaardWestervoortsedijkMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allego N.V. Industriepark Kleefse Waard Westervoortsedijk.",
        "label": "Allego N V Industriepark Kleefse Waard Westervoortsedijk [Member]",
        "terseLabel": "Allego N.V. Industriepark Kleefse Waard Westervoortsedijk 73 KB 6827 AV Arnhem, The Netherlands"
       }
      }
     },
     "localname": "AllegoNVIndustrieparkKleefseWaardWestervoortsedijkMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AltusMidstreamLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Altus Midstream LP,",
        "label": "Altus Midstream L P [Member]",
        "terseLabel": "Altus Midstream LP One Post Oak Central, 2000 Post Oak Boulevard, Suite 100, Houston, TX 77056"
       }
      }
     },
     "localname": "AltusMidstreamLPMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AmericanTowerCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "American tower corporation.",
        "label": "American Tower Corporation [Member]",
        "terseLabel": "American Tower Corporation 116 Huntington Avenue Boston, MA 02116"
       }
      }
     },
     "localname": "AmericanTowerCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AmortizationOfAcquisitionPremium": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpenseDebt",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortization of acquisition premium.",
        "label": "Amortization Of Acquisition Premium",
        "terseLabel": "Amortization of acquisition premium"
       }
      }
     },
     "localname": "AmortizationOfAcquisitionPremium",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_AmountOfAssetCoveragePerUnitExpressedIndebtedness": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset coverage per unit expressed indebtedness.",
        "label": "Amount of Asset Coverage Per Unit Expressed Indebtedness",
        "terseLabel": "Amount of asset coverage per unit expressed indebtedness"
       }
      }
     },
     "localname": "AmountOfAssetCoveragePerUnitExpressedIndebtedness",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_AmountOfIndebtedness": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of indebtedness.",
        "label": "Amount of Indebtedness",
        "terseLabel": "Amount of indebtedness"
       }
      }
     },
     "localname": "AmountOfIndebtedness",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_AngusChemicalCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ANGUS chemical company [Member].",
        "label": "ANGUS Chemical Company [Member]",
        "terseLabel": "ANGUS Chemical Company 1500 E Lake Cook Rd Buffalo Grove, IL 60089"
       }
      }
     },
     "localname": "AngusChemicalCompanyMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AnnualizedHurdleRateOnIncomeIncentiveFeeCalculation": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annualized hurdle rate on income incentive fee calculation.",
        "label": "Annualized Hurdle Rate On Income Incentive Fee Calculation",
        "terseLabel": "Annualized hurdle rate on income incentive fee calculation"
       }
      }
     },
     "localname": "AnnualizedHurdleRateOnIncomeIncentiveFeeCalculation",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_ApolloStrategicGrowthCapitalIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Apollo Strategic Growth Capital II.",
        "label": "Apollo Strategic Growth Capital I I [Member]",
        "terseLabel": "Apollo Strategic Growth Capital II 9 West 57th Street, 43rd Floor New York, NY 10019"
       }
      }
     },
     "localname": "ApolloStrategicGrowthCapitalIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ApparelMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Apparel.",
        "label": "Apparel [Member]",
        "terseLabel": "Apparel"
       }
      }
     },
     "localname": "ApparelMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ArcLightCleanTransitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ArcLight Clean Transition Corp.",
        "label": "Arc Light Clean Transition Corp [Member]",
        "terseLabel": "ArcLight Clean Transition Corp 200 Clarendon Street, 55th Floor Boston, MA 02116"
       }
      }
     },
     "localname": "ArcLightCleanTransitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ArctosNorthStarAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Arctos NorthStar Acquisition Corp.",
        "label": "Arctos North Star Acquisition Corp [Member]",
        "terseLabel": "Arctos NorthStar Acquisition Corp. 2021 McKinney Avenue, Suite 200 Dallas, TX 75201"
       }
      }
     },
     "localname": "ArctosNorthStarAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AresAcquisitionCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ares acquisition corporation.",
        "label": "Ares Acquisition Corporation [Member]",
        "terseLabel": "Ares Acquisition Corp 245 Park Avenue, 44th Floor New York, NY 10167"
       }
      }
     },
     "localname": "AresAcquisitionCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AsiaAndOceaniaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asia and Oceania.",
        "label": "Asia And Oceania [Member]",
        "terseLabel": "Asia/Oceania"
       }
      }
     },
     "localname": "AsiaAndOceaniaMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AssetRecoveryLiquidationValuationTechniqueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset recovery/liquidation valuation technique.",
        "label": "Asset Recovery Liquidation Valuation Technique [Member]",
        "terseLabel": "Asset Recovery Liquidation Valuation Technique"
       }
      }
     },
     "localname": "AssetRecoveryLiquidationValuationTechniqueMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AtlasCrestInvestmentCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Atlas Crest Investment Corp. II.",
        "label": "Atlas Crest Investment Corp I I [Member]",
        "terseLabel": "Atlas Crest Investment Corp. II 399 Park Avenue New York, NY 10022"
       }
      }
     },
     "localname": "AtlasCrestInvestmentCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AusterlitzAcquisitionCorporationIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Austerlitz Acquisition Corporation II.",
        "label": "Austerlitz Acquisition Corporation I I [Member]",
        "terseLabel": "Austerlitz Acquisition Corp. II 1701 Village Center Circle Las Vegas, NV 89134"
       }
      }
     },
     "localname": "AusterlitzAcquisitionCorporationIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AusterlitzAcquisitionCorporationIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Austerlitz Acquisition Corporation I.",
        "label": "Austerlitz Acquisition Corporation I [Member]",
        "terseLabel": "Austerlitz Acquisition Corp. I 1701 Village Center Circle Las Vegas, NV 89134"
       }
      }
     },
     "localname": "AusterlitzAcquisitionCorporationIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AutoManufacturerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Auto manufacturer.",
        "label": "Auto Manufacturer [Member]",
        "terseLabel": "Auto Manufacturer"
       }
      }
     },
     "localname": "AutoManufacturerMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AvantiCommunicationsGroupPLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Avanti Communications Group PLC.",
        "label": "Avanti Communications Group P L C [Member]",
        "terseLabel": "Avanti Communications Group PLC Cobham House 20 Black Friars Lane London, UK EC4V 6EB",
        "verboseLabel": "Avanti Communications Group PLC"
       }
      }
     },
     "localname": "AvantiCommunicationsGroupPLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AvantiSpaceLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Avanti space limited.",
        "label": "Avanti Space Limited [Member]",
        "terseLabel": "Avanti Space Limited Cobham House 20 Black Friars Lane London, UK EC4V 6EB"
       }
      }
     },
     "localname": "AvantiSpaceLimitedMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AvationCapitalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Avation capital.",
        "label": "Avation Capital [Member]",
        "terseLabel": "Avation Capital SA 65 Kampong Bahru Road, #01-01 Singapore 169370"
       }
      }
     },
     "localname": "AvationCapitalMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_AverageNetAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average net assets.",
        "label": "Average Net Assets",
        "terseLabel": "Average net assets"
       }
      }
     },
     "localname": "AverageNetAssets",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_BankDebtTermLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank Debt Term Loan [Member]",
        "label": "Bank Debt Term Loan [Member]",
        "terseLabel": "Bank Debt Term Loan"
       }
      }
     },
     "localname": "BankDebtTermLoanMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_BigBearAiHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "BigBear.ai Holdings, Inc.",
        "label": "Big Bear Ai Holdings Inc [Member]",
        "terseLabel": "BigBear.ai Holdings, Inc. 6811 Benjamin Franklin Dr, Suite 200 Columbia, MD 21046"
       }
      }
     },
     "localname": "BigBearAiHoldingsIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_BigBearAiMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "BigBear.ai.",
        "label": "Big Bear Ai [Member]",
        "terseLabel": "BigBear.ai 6811 Benjamin Franklin Drive, Suite 200 Columbia, Maryland 21046"
       }
      }
     },
     "localname": "BigBearAiMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_BioteCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Biote Corp.",
        "label": "Biote Corp [Member]",
        "terseLabel": "Biote Corp. 1875 W. Walnut Hill Ln #100 Irving, TX 75038"
       }
      }
     },
     "localname": "BioteCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_BiotechnologyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Biotechnology.",
        "label": "Biotechnology [Member]",
        "terseLabel": "Biotechnology"
       }
      }
     },
     "localname": "BiotechnologyMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_BlackstoneSecuredLendingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Blackstone secured lending [Member].",
        "label": "Blackstone Secured Lending [Member]",
        "terseLabel": "Blackstone Secured Lending 345 Park Avenue New York, NY 10154"
       }
      }
     },
     "localname": "BlackstoneSecuredLendingMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_BorrowingsUnderCreditFacility": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowings under credit facility.",
        "label": "Borrowings Under Credit Facility",
        "terseLabel": "Borrowings under credit facility"
       }
      }
     },
     "localname": "BorrowingsUnderCreditFacility",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_BrokerQuotesValuationTechniqueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Broker quotes valuation technique.",
        "label": "Broker Quotes Valuation Technique [Member]",
        "terseLabel": "Broker Quotes"
       }
      }
     },
     "localname": "BrokerQuotesValuationTechniqueMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CCNeubergerPrincipalHoldingsIIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CC Neuberger Principal Holdings III.",
        "label": "C C Neuberger Principal Holdings I I I [Member]",
        "terseLabel": "CC Neuberger Principal Holdings III 200 Park Avenue, 58th Floor New York, NY 10166"
       }
      }
     },
     "localname": "CCNeubergerPrincipalHoldingsIIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CFAcquisitionCorpVIIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CF Acquisition Corp VIII.",
        "label": "C F Acquisition Corp V I I I [Member]",
        "terseLabel": "CF Acquisition Corp VIII 110 East 59th Street New York, NY 10022"
       }
      }
     },
     "localname": "CFAcquisitionCorpVIIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CFAcquisitionCorpVIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CF Acquisition Corp VI.",
        "label": "C F Acquisition Corp V I [Member]",
        "terseLabel": "CF Acquisition Corp VI 110 East 59th Street New York, NY 10022"
       }
      }
     },
     "localname": "CFAcquisitionCorpVIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CaliforniaPizzaKitchenIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "California Pizza Kitchen Inc,",
        "label": "California Pizza Kitchen Inc [Member]",
        "terseLabel": "California Pizza Kitchen, Inc. 12181 Bluff Creek Drive Playa Vista, CA 90094"
       }
      }
     },
     "localname": "CaliforniaPizzaKitchenIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CapitalGainsIncentiveFeesAccrual": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital gains incentive fees accrual.",
        "label": "Capital Gains Incentive Fees Accrual",
        "terseLabel": "Capital gains incentive fees accrual"
       }
      }
     },
     "localname": "CapitalGainsIncentiveFeesAccrual",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_CapitalGainsIncentiveFeesEliminated": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital gains incentive fees eliminated.",
        "label": "Capital Gains Incentive Fees Eliminated",
        "terseLabel": "Capital gains incentive fees eliminated"
       }
      }
     },
     "localname": "CapitalGainsIncentiveFeesEliminated",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_CapitalLossCarryforward": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital loss carryforward.",
        "label": "Capital Loss Carryforward",
        "terseLabel": "Capital loss carryforward"
       }
      }
     },
     "localname": "CapitalLossCarryforward",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_CapitalLossCarryforwardCurrent": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital loss carryforward current.",
        "label": "Capital Loss Carryforward Current",
        "terseLabel": "Capital loss carryforward, short-term"
       }
      }
     },
     "localname": "CapitalLossCarryforwardCurrent",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_CapitalLossCarryforwardLongTerm": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital loss carryforward, long-term.",
        "label": "Capital Loss Carryforward Long Term",
        "terseLabel": "Capital loss carryforward, long-term"
       }
      }
     },
     "localname": "CapitalLossCarryforwardLongTerm",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_CapitalLossCarryforwardNoncurrent": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital loss carryforward noncurrent.",
        "label": "Capital Loss Carryforward Noncurrent",
        "terseLabel": "Capital loss carryforward, long-term"
       }
      }
     },
     "localname": "CapitalLossCarryforwardNoncurrent",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_CapitalLossCarryforwardShortTerm": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital loss carryforward, short-term.",
        "label": "Capital Loss Carryforward Short Term",
        "terseLabel": "Capital loss carryforward, short-term"
       }
      }
     },
     "localname": "CapitalLossCarryforwardShortTerm",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_CapitalizedPaymentInKindInterest": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capitalized payment-in-kind Interest.",
        "label": "Capitalized Payment-in-kind Interest",
        "negatedLabel": "Capitalized payment-in-kind interest"
       }
      }
     },
     "localname": "CapitalizedPaymentInKindInterest",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_CartesianGrowthCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cartesian Growth Corporation.",
        "label": "Cartesian Growth Corporation [Member]",
        "terseLabel": "Cartesian Growth Corporation 505 5th Avenue, 15th Floor New York, NY 10017"
       }
      }
     },
     "localname": "CartesianGrowthCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CasinosAndGamingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Casinos and gaming.",
        "label": "Casinos And Gaming [Member]",
        "terseLabel": "Casinos &amp; Gaming"
       }
      }
     },
     "localname": "CasinosAndGamingMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CatchaInvestmentCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Catcha Investment Corp.",
        "label": "Catcha Investment Corp [Member]",
        "terseLabel": "Catcha Investment Corp Level 42, Suntec Tower Three, 8 Temasek Blvd, Singapore 038988"
       }
      }
     },
     "localname": "CatchaInvestmentCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CityNationalBankMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "City national bank.",
        "label": "City National Bank [Member]",
        "terseLabel": "City National Bank"
       }
      }
     },
     "localname": "CityNationalBankMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ClassAPreferredEquityUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class A preferred equity units.",
        "label": "Class A Preferred Equity Units [Member]",
        "terseLabel": "Class A Preferred Equity Units"
       }
      }
     },
     "localname": "ClassAPreferredEquityUnitsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CleaverBrooksIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cleaver-Brooks, Inc.",
        "label": "Cleaver Brooks Inc [Member]",
        "terseLabel": "Cleaver-Brooks, Inc. 221 Law Street Thomasville, GA 31792"
       }
      }
     },
     "localname": "CleaverBrooksIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ClimateRealImpactSolutionsIIAcquisitionCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Climate Real Impact Solutions II Acquisition Corporation.",
        "label": "Climate Real Impact Solutions I I Acquisition Corporation [Member]",
        "terseLabel": "Climate Real Impact Solutions II Acquisition Corporation"
       }
      }
     },
     "localname": "ClimateRealImpactSolutionsIIAcquisitionCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ClosedEndFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Closed-End Fund.",
        "label": "Closed-End Fund [Member]",
        "terseLabel": "Closed-End Fund"
       }
      }
     },
     "localname": "ClosedEndFundMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ColicityIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Colicity Inc.",
        "label": "Colicity Inc [Member]",
        "terseLabel": "Colicity Inc"
       }
      }
     },
     "localname": "ColicityIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ColonnadeAcquisitionCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Colonnade Acquisition Corp II.",
        "label": "Colonnade Acquisition Corp I I [Member]",
        "terseLabel": "Colonnade Acquisition Corp II"
       }
      }
     },
     "localname": "ColonnadeAcquisitionCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CommercialPrintingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commercial Printing.",
        "label": "Commercial Printing [Member]",
        "terseLabel": "Commercial Printing"
       }
      }
     },
     "localname": "CommercialPrintingMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CommitmentsAndContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitments and contingencies.",
        "label": "Commitments And Contingencies [Line Items]",
        "terseLabel": "Commitments And Contingencies [Line Items]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesLineItems",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gecc_CommitmentsAndContingenciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitments and contingencies.",
        "label": "Commitments And Contingencies [Table]",
        "terseLabel": "Commitments And Contingencies [Table]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesTable",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gecc_CommonEquityEightyPercentageOfClassMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common equity eighty percentage of class.",
        "label": "Common Equity Eighty Percentage Of Class [Member]",
        "terseLabel": "Equity (80% of class)"
       }
      }
     },
     "localname": "CommonEquityEightyPercentageOfClassMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CommonEquityEightySevenPercentageOfClassMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common equity eighty seven percentage of class.",
        "label": "Common Equity Eighty Seven Percentage Of Class [Member]",
        "terseLabel": "Equity (87% of class)"
       }
      }
     },
     "localname": "CommonEquityEightySevenPercentageOfClassMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CommonEquityFivePercentageOfClassMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common equity five percentage of class.",
        "label": "Common Equity Five Percentage Of Class [Member]",
        "terseLabel": "Common Equity (5% of class)"
       }
      }
     },
     "localname": "CommonEquityFivePercentageOfClassMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CommonEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common equity.",
        "label": "Common Equity [Member]",
        "terseLabel": "Common Equity"
       }
      }
     },
     "localname": "CommonEquityMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CommonEquitySixtyThreePercentageOfClassMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common equity zero percentage of class.",
        "label": "Common Equity Sixty Three Percentage Of Class [Member]",
        "terseLabel": "Equity (63% of class)"
       }
      }
     },
     "localname": "CommonEquitySixtyThreePercentageOfClassMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CommonEquityZeroPercentageOfClassMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common equity zero percentage of class.",
        "label": "Common Equity Zero Percentage Of Class [Member]",
        "terseLabel": "Common Equity (0% of class)"
       }
      }
     },
     "localname": "CommonEquityZeroPercentageOfClassMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CommonStockDistributed": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "order": 0.0,
       "parentTag": "gecc_NetIncreaseDecreaseInNetAssetsResultingFromCapitalTransactions",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock distributed.",
        "label": "Common Stock Distributed",
        "terseLabel": "Common stock distributed"
       }
      }
     },
     "localname": "CommonStockDistributed",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_CommonStockIssuedInKind": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock issued in-kind.",
        "label": "Common Stock Issued In Kind",
        "terseLabel": "Common stock issued in-kind"
       }
      }
     },
     "localname": "CommonStockIssuedInKind",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_CommonStockSharesDistributed": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock distributed.",
        "label": "Common Stock Shares Distributed",
        "terseLabel": "Common stock distributed"
       }
      }
     },
     "localname": "CommonStockSharesDistributed",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "gecc_CommunicationsEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Communications equipment.",
        "label": "Communications Equipment [Member]",
        "terseLabel": "Communications Equipment"
       }
      }
     },
     "localname": "CommunicationsEquipmentMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ComputeHealthAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Compute Health Acquisition Corp.",
        "label": "Compute Health Acquisition Corp [Member]",
        "terseLabel": "Compute Health Acquisition Corp."
       }
      }
     },
     "localname": "ComputeHealthAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ConstructionMaterialsManufacturingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Construction materials manufacturing.",
        "label": "Construction Materials Manufacturing [Member]",
        "terseLabel": "Construction Materials Manufacturing"
       }
      }
     },
     "localname": "ConstructionMaterialsManufacturingMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ConsumerFinanceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consumer finance.",
        "label": "Consumer Finance [Member]",
        "terseLabel": "Consumer Finance"
       }
      }
     },
     "localname": "ConsumerFinanceMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ConsumerProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consumer Products.",
        "label": "Consumer Products [Member]",
        "terseLabel": "Consumer Products"
       }
      }
     },
     "localname": "ConsumerProductsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ConsumerServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consumer services.",
        "label": "Consumer Services [Member]",
        "terseLabel": "Consumer Services"
       }
      }
     },
     "localname": "ConsumerServicesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ContractualObligationsAndCashRequirementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual obligations and cash requirements.",
        "label": "Contractual Obligations and Cash Requirements [Member]"
       }
      }
     },
     "localname": "ContractualObligationsAndCashRequirementsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ContributionsToInvestmentsPaidInAdvanceOfTradeDate": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contributions to investments paid in advance of trade date.",
        "label": "Contributions to Investments Paid in Advance of Trade Date",
        "terseLabel": "Contributions to investments paid in advance of trade date"
       }
      }
     },
     "localname": "ContributionsToInvestmentsPaidInAdvanceOfTradeDate",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_ControlledInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Controlled investments.",
        "label": "Controlled Investments [Member]",
        "terseLabel": "Controlled Investments"
       }
      }
     },
     "localname": "ControlledInvestmentsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ConvertibleBondMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible Bond.",
        "label": "Convertible Bond [Member]",
        "terseLabel": "Convertible Bond"
       }
      }
     },
     "localname": "ConvertibleBondMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CoreScientificIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Core Scientific, Inc.",
        "label": "Core Scientific Inc [Member]",
        "terseLabel": "Core Scientific, Inc"
       }
      }
     },
     "localname": "CoreScientificIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CorporateBondSecuritiesOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Corporate bond securities one.",
        "label": "Corporate Bond Securities One [Member]",
        "terseLabel": "Corporate Bond"
       }
      }
     },
     "localname": "CorporateBondSecuritiesOneMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_CrestwoodEquityPartnersLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Crestwood Equity Partners LP.",
        "label": "Crestwood Equity Partners L P [Member]",
        "terseLabel": "Crestwood Equity Partners LP 811 Main Street, Suite 3400 Houston, TX 77002"
       }
      }
     },
     "localname": "CrestwoodEquityPartnersLPMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_DAndZMediaAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "D and Z Media Acquisition Corp.",
        "label": "D And Z Media Acquisition Corp [Member]",
        "terseLabel": "D &amp; Z Media Acquisition Corp"
       }
      }
     },
     "localname": "DAndZMediaAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_DaveIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Dave Inc.",
        "label": "Dave Inc [Member]",
        "terseLabel": "Dave Inc."
       }
      }
     },
     "localname": "DaveIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_DebtInstrumentAssetCoverageRatioPerUnitAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument, asset coverage ratio per unit amount.",
        "label": "Debt Instrument Asset Coverage Ratio Per Unit Amount",
        "terseLabel": "Asset Coverage Ratio Per Unit"
       }
      }
     },
     "localname": "DebtInstrumentAssetCoverageRatioPerUnitAmount",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_DebtInstrumentAverageMarketValuePerUnit": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument, average market value per unit.",
        "label": "Debt Instrument Average Market Value Per Unit",
        "terseLabel": "Average Market Value Per Unit"
       }
      }
     },
     "localname": "DebtInstrumentAverageMarketValuePerUnit",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gecc_DebtInstrumentDenominationIntegralMultiples": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument Denomination integral multiples.",
        "label": "Debt Instrument Denomination Integral Multiples",
        "terseLabel": "Debt instrument denomination integral multiples"
       }
      }
     },
     "localname": "DebtInstrumentDenominationIntegralMultiples",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_DebtInstrumentFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument Four [Member]",
        "label": "Debt Instrument Four [Member]",
        "terseLabel": "Debt Instrument Four"
       }
      }
     },
     "localname": "DebtInstrumentFourMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_DebtInstrumentMinimumDenomination": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument, minimum denomination.",
        "label": "Debt Instrument Minimum Denomination",
        "terseLabel": "Debt instrument, minimum denomination"
       }
      }
     },
     "localname": "DebtInstrumentMinimumDenomination",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_DebtInstrumentOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument One [Member]",
        "label": "Debt Instrument One [Member]",
        "terseLabel": "Debt Instrument One"
       }
      }
     },
     "localname": "DebtInstrumentOneMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_DebtInstrumentThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument Three [Member]",
        "label": "Debt Instrument Three [Member]",
        "terseLabel": "Debt Instrument Three"
       }
      }
     },
     "localname": "DebtInstrumentThreeMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_DebtInstrumentTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument Two [Member]",
        "label": "Debt Instrument Two [Member]",
        "terseLabel": "Debt Instrument Two"
       }
      }
     },
     "localname": "DebtInstrumentTwoMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_DeferredFinancingCostsAndDeferredOfferingCostsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred financing costs and deferred offering costs.",
        "label": "Deferred Financing Costs And Deferred Offering Costs Policy [Text Block]",
        "terseLabel": "Deferred Financing Costs and Deferred Offering Costs"
       }
      }
     },
     "localname": "DeferredFinancingCostsAndDeferredOfferingCostsPolicyTextBlock",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gecc_DigitalTransformationOpportunitiesCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Digital Transformation Opportunities Corp.",
        "label": "Digital Transformation Opportunities Corp [Member]",
        "terseLabel": "Digital Transformation Opportunities Corp."
       }
      }
     },
     "localname": "DigitalTransformationOpportunitiesCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_DistributionsToStockholders": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distributions to stockholders.",
        "label": "Distributions to Stockholders",
        "negatedTotalLabel": "Total distributions to stockholders",
        "totalLabel": "Total distributions to stockholders"
       }
      }
     },
     "localname": "DistributionsToStockholders",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_DiversifiedFinancialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Diversified financial.",
        "label": "Diversified Financial [Member]",
        "terseLabel": "Diversified Financial"
       }
      }
     },
     "localname": "DiversifiedFinancialMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_DueFromPortfolioCompany": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Due from portfolio company.",
        "label": "Due From Portfolio Company",
        "terseLabel": "Due from portfolio company"
       }
      }
     },
     "localname": "DueFromPortfolioCompany",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_ECLEntertainmentLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ECL Entertainment, LLC.",
        "label": "E C L Entertainment L L C [Member]",
        "terseLabel": "ECL Entertainment, LLC 8978 Spanish Ridge Ave Las Vegas, NV 89148"
       }
      }
     },
     "localname": "ECLEntertainmentLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ESMAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ESM Acquisition Corp.",
        "label": "E S M Acquisition Corp [Member]",
        "terseLabel": "ESM Acquisition Corp"
       }
      }
     },
     "localname": "ESMAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EaglePointCreditCompanyIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eagle point credit company Inc [Member].",
        "label": "Eagle Point Credit Company Inc [Member]",
        "terseLabel": "Eagle Point Credit Company Inc 600 Steamboat Road, Suite 202 Greenwich, CT 06830"
       }
      }
     },
     "localname": "EaglePointCreditCompanyIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EnergyMidstreamMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Energy midstream.",
        "label": "Energy Midstream [Member]",
        "terseLabel": "Energy Midstream"
       }
      }
     },
     "localname": "EnergyMidstreamMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EnservcoHeatWavesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Enservco / Heat waves.",
        "label": "Enservco Heat Waves [Member]",
        "terseLabel": "Enservco / Heat Waves 14133 County Rd 9 1/2 Longmont, CO 80504"
       }
      }
     },
     "localname": "EnservcoHeatWavesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EquitransMidstreamCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equitrans Midstream Corp.",
        "label": "Equitrans Midstream Corp [Member]",
        "terseLabel": "Equitrans Midstream Corp. 2200 Energy Drive Canonsburg, PA 15317"
       }
      }
     },
     "localname": "EquitransMidstreamCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EquityEightyEightPercentOfClassMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Eighty Eight Percent of Class [Member]",
        "label": "Equity Eighty Eight Percent of Class [Member]",
        "terseLabel": "Equity (88% of Class)"
       }
      }
     },
     "localname": "EquityEightyEightPercentOfClassMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EquityFundsFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Funds Five [Member]",
        "label": "Equity Funds Five [Member]",
        "terseLabel": "Equity Funds Five"
       }
      }
     },
     "localname": "EquityFundsFiveMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EquityFundsFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Funds Four [Member]",
        "label": "Equity Funds Four [Member]",
        "terseLabel": "Equity Funds Four"
       }
      }
     },
     "localname": "EquityFundsFourMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EquityFundsOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Funds One [Member]",
        "label": "Equity Funds One [Member]",
        "terseLabel": "Equity Funds One"
       }
      }
     },
     "localname": "EquityFundsOneMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EquityFundsSevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity funds seven.",
        "label": "Equity Funds Seven [Member]",
        "terseLabel": "Equity Funds Seven"
       }
      }
     },
     "localname": "EquityFundsSevenMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EquityFundsSixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Funds Six [Member]",
        "label": "Equity Funds Six [Member]",
        "terseLabel": "Equity Funds Six"
       }
      }
     },
     "localname": "EquityFundsSixMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EquityFundsThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Funds Three [Member]",
        "label": "Equity Funds Three [Member]",
        "terseLabel": "Equity Funds Three"
       }
      }
     },
     "localname": "EquityFundsThreeMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_EquityFundsTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Funds Two [Member]",
        "label": "Equity Funds Two [Member]",
        "terseLabel": "Equity Funds Two"
       }
      }
     },
     "localname": "EquityFundsTwoMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ExciseTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excise tax.",
        "label": "Excise Tax",
        "terseLabel": "Excise tax"
       }
      }
     },
     "localname": "ExciseTax",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_FASTAcquisitionCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "FAST Acquisition Corp II.",
        "label": "F A S T Acquisition Corp I I [Member]",
        "terseLabel": "FAST Acquisition Corp II"
       }
      }
     },
     "localname": "FASTAcquisitionCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FTACAthenaAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "FTAC Athena Acquisition Corp.",
        "label": "F T A C Athena Acquisition Corp [Member]",
        "terseLabel": "FTAC Athena Acquisition Corp."
       }
      }
     },
     "localname": "FTACAthenaAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FTACHeraAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "FTAC Hera Acquisition Corp.",
        "label": "F T A C Hera Acquisition Corp [Member]",
        "terseLabel": "FTAC Hera Acquisition Corp."
       }
      }
     },
     "localname": "FTACHeraAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FTAIInfrastructureIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "FTAI Infrastructure Inc.",
        "label": "F T A I Infrastructure Inc [Member]",
        "terseLabel": "FTAI Infrastructure Inc. 1345 Avenue of the Americas, 45th Floor New York, NY 10105"
       }
      }
     },
     "localname": "FTAIInfrastructureIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FairValueAssetRecurringBasisNetChangeInUnrealizedAppreciationStillHeld": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value asset recurring basis net change in unrealized appreciation still held.",
        "label": "Fair Value Asset Recurring Basis Net Change In Unrealized Appreciation Still Held",
        "terseLabel": "Fair value, net change in unrealized appreciation"
       }
      }
     },
     "localname": "FairValueAssetRecurringBasisNetChangeInUnrealizedAppreciationStillHeld",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_FairValueAssetRecurringBasisNetChangeInUnrealizedDepreciationStillHeld": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value asset recurring basis net change in unrealized depreciation still held.",
        "label": "Fair Value Asset Recurring Basis Net Change In Unrealized Depreciation Still Held",
        "terseLabel": "Fair value, net change in unrealized depreciation"
       }
      }
     },
     "localname": "FairValueAssetRecurringBasisNetChangeInUnrealizedDepreciationStillHeld",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetAmortizationOfPremiumDiscount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis asset net amortization of premium/ discount.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Net Amortization Of Premium Discount",
        "terseLabel": "Net Amortization of Premium/ Discount"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetAmortizationOfPremiumDiscount",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetChangeInUnrealizedAppreciationDepreciation": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis asset net change in unrealized appreciation (depreciation).",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Net Change In Unrealized Appreciation Depreciation",
        "terseLabel": "Net Change in Unrealized Appreciation (Depreciation)"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetChangeInUnrealizedAppreciationDepreciation",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetRealizedGainLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis asset net realized gain (loss).",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Net Realized Gain Loss",
        "terseLabel": "Net Realized Gain (Loss)"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetRealizedGainLoss",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_FastRadiusIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fast Radius, Inc.",
        "label": "Fast Radius Inc [Member]",
        "terseLabel": "Fast Radius, Inc."
       }
      }
     },
     "localname": "FastRadiusIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FathomDigitalManufacturingCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fathom Digital Manufacturing Corporation.",
        "label": "Fathom Digital Manufacturing Corporation [Member]",
        "terseLabel": "Fathom Digital Manufacturing Corporation"
       }
      }
     },
     "localname": "FathomDigitalManufacturingCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FigureAcquisitionCorpIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Figure Acquisition Corp I.",
        "label": "Figure Acquisition Corp I [Member]",
        "terseLabel": "Figure Acquisition Corp I"
       }
      }
     },
     "localname": "FigureAcquisitionCorpIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FinServAcquisitionCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "FinServ Acquisition Corp II.",
        "label": "Fin Serv Acquisition Corp I I [Member]",
        "terseLabel": "FinServ Acquisition Corp II"
       }
      }
     },
     "localname": "FinServAcquisitionCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FinastraGroupHoldingsLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finastra Group Holdings, Ltd.",
        "label": "Finastra Group Holdings Ltd [Member]",
        "terseLabel": "Finastra Group Holdings, Ltd. 285 Madison Avenue New York, NY 10017"
       }
      }
     },
     "localname": "FinastraGroupHoldingsLtdMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstBrandsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Brands, Inc.",
        "label": "First Brands Inc [Member]",
        "terseLabel": "First Brands, Inc. 3255 West Hamlin Road Rochester Hills, MI 48309"
       }
      }
     },
     "localname": "FirstBrandsIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienRevolverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First lien revolver.",
        "label": "First Lien Revolver [Member]",
        "terseLabel": "1st Lien, Revolver"
       }
      }
     },
     "localname": "FirstLienRevolverMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienRevolverUnfundedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First lien revolver-unfunded.",
        "label": "First Lien Revolver Unfunded [Member]",
        "terseLabel": "1st Lien, Revolver - Unfunded"
       }
      }
     },
     "localname": "FirstLienRevolverUnfundedMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienSecuredBondMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "1st lien, secured bond.",
        "label": "First Lien Secured Bond [Member]",
        "terseLabel": "1st Lien, Secured Bond"
       }
      }
     },
     "localname": "FirstLienSecuredBondMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienSecuredBondTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First lien secured bond two.",
        "label": "First Lien Secured Bond Two [Member]",
        "terseLabel": "1st Lien, Secured Bond"
       }
      }
     },
     "localname": "FirstLienSecuredBondTwoMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienSecuredConvertibleBondMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First lien secured convertible bond.",
        "label": "First Lien Secured Convertible Bond [Member]",
        "terseLabel": "1st Lien Secured Convertible Bond"
       }
      }
     },
     "localname": "FirstLienSecuredConvertibleBondMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienSecuredLoanBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First lien secured loan B.",
        "label": "First Lien Secured Loan B [Member]",
        "terseLabel": "1st Lien, Secured Loan B"
       }
      }
     },
     "localname": "FirstLienSecuredLoanBMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienSecuredLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First lien, secured loan.",
        "label": "First Lien Secured Loan [Member]",
        "terseLabel": "1st Lien, Secured Loan"
       }
      }
     },
     "localname": "FirstLienSecuredLoanMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienSecuredNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First lien secured note.",
        "label": "First Lien Secured Note [Member]",
        "terseLabel": "1st Lien Secured Note"
       }
      }
     },
     "localname": "FirstLienSecuredNoteMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienSecuredRevolverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Lien Secured Revolver.",
        "label": "First Lien Secured Revolver [Member]",
        "terseLabel": "1st Lien, Secured Revolver"
       }
      }
     },
     "localname": "FirstLienSecuredRevolverMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienSecuredRevolverUnfundedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Lien, Secured Revolver - Unfunded.",
        "label": "First Lien Secured Revolver Unfunded [Member]",
        "terseLabel": "1st Lien, Secured Revolver - Unfunded"
       }
      }
     },
     "localname": "FirstLienSecuredRevolverUnfundedMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienSecuredTermLoanBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Lien Secured Term Loan B.",
        "label": "First Lien Secured Term Loan B [Member]",
        "terseLabel": "1st Lien, Secured Term Loan B"
       }
      }
     },
     "localname": "FirstLienSecuredTermLoanBMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienTermLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First lien term loan.",
        "label": "First Lien Term Loan [Member]",
        "terseLabel": "1st Lien, Term Loan"
       }
      }
     },
     "localname": "FirstLienTermLoanMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstLienUnsecuredNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Lien Unsecured Note.",
        "label": "First Lien Unsecured Note [Member]",
        "terseLabel": "1st Lien Unsecured Note"
       }
      }
     },
     "localname": "FirstLienUnsecuredNoteMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FirstReserveSustainableGrowthCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Reserve Sustainable Growth Corp.",
        "label": "First Reserve Sustainable Growth Corp [Member]",
        "terseLabel": "First Reserve Sustainable Growth Corp."
       }
      }
     },
     "localname": "FirstReserveSustainableGrowthCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FivePointEightSevenFivePercentNotesDueTwoThousandTwentySixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Five point eight seven five percent notes due two thousand twenty six.",
        "label": "Five Point Eight Seven Five Percent Notes Due Two Thousand Twenty Six [Member]",
        "terseLabel": "5.875% Notes due 2026",
        "verboseLabel": "GECCO Notes"
       }
      }
     },
     "localname": "FivePointEightSevenFivePercentNotesDueTwoThousandTwentySixMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FlexsysHoldingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Flexsys Holdings.",
        "label": "Flexsys Holdings [Member]",
        "terseLabel": "Flexsys Holdings 260 Springside Drive Akron, OH 44333"
       }
      }
     },
     "localname": "FlexsysHoldingsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FlexsysHoldingsTbdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Flexsys Holdings (TBD) [Member]",
        "label": "Flexsys Holdings (TBD) [Member]",
        "terseLabel": "Flexsys Holdings 260 Springside Drive Akron, OH 44333"
       }
      }
     },
     "localname": "FlexsysHoldingsTbdMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FoodAndStaplesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Food And Staples.",
        "label": "Food And Staples [Member]",
        "terseLabel": "Food &amp; Staples"
       }
      }
     },
     "localname": "FoodAndStaplesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ForesightEnergyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foresight Energy.",
        "label": "Foresight Energy [Member]",
        "terseLabel": "Foresight Energy 211 North Broadway, Suite 2600 St. Louis, MO 63102"
       }
      }
     },
     "localname": "ForesightEnergyMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ForestRoadAcquisitionCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Forest Road Acquisition Corp. II.",
        "label": "Forest Road Acquisition Corp I I [Member]",
        "terseLabel": "Forest Road Acquisition Corp. II"
       }
      }
     },
     "localname": "ForestRoadAcquisitionCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FortistarSustainableSolutionsCorp1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fortistar Sustainable Solutions Corp. 1.",
        "label": "Fortistar Sustainable Solutions Corp1 [Member]",
        "terseLabel": "Fortistar Sustainable Solutions Corp. 1"
       }
      }
     },
     "localname": "FortistarSustainableSolutionsCorp1Member",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FortressValueAcquisitionCorpIVMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fortress Value Acquisition Corp. IV.",
        "label": "Fortress Value Acquisition Corp I V [Member]",
        "terseLabel": "Fortress Value Acquisition Corp. IV"
       }
      }
     },
     "localname": "FortressValueAcquisitionCorpIVMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ForumEnergyTechnologiesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Forum Energy Technologies, Inc.",
        "label": "Forum Energy Technologies Inc [Member]",
        "terseLabel": "Forum Energy Technologies, Inc. 10344 Sam Houston Park Drive, Suite 300 Houston, TX 77064"
       }
      }
     },
     "localname": "ForumEnergyTechnologiesIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ForumMergerIVCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Forum Merger IV Corp.",
        "label": "Forum Merger I V Corp [Member]",
        "terseLabel": "Forum Merger IV Corp"
       }
      }
     },
     "localname": "ForumMergerIVCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FractionalSharesRedeemedForCashInLieuOfReverseStockSplitShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fractional shares redeemed for cash in lieu of reverse stock split, shares.",
        "label": "Fractional Shares Redeemed For Cash In Lieu Of Reverse Stock Split Shares",
        "negatedLabel": "Fractional shares redeemed for cash in lieu of reverse stock split",
        "terseLabel": "Fractional shares redeemed for cash in lieu of reverse stock split"
       }
      }
     },
     "localname": "FractionalSharesRedeemedForCashInLieuOfReverseStockSplitShares",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "gecc_FractionalSharesRedeemedForCashInLieuOfReverseStockSplitValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "order": 1.0,
       "parentTag": "gecc_NetIncreaseDecreaseInNetAssetsResultingFromCapitalTransactions",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fractional shares redeemed for cash in lieu of reverse stock split, value.",
        "label": "Fractional Shares Redeemed For Cash In Lieu Of Reverse Stock Split Value",
        "terseLabel": "Fractional shares redeemed for cash in lieu of reverse stock split"
       }
      }
     },
     "localname": "FractionalSharesRedeemedForCashInLieuOfReverseStockSplitValue",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_FreedomAcquisitionICorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Freedom Acquisition I Corp.",
        "label": "Freedom Acquisition I Corp [Member]",
        "terseLabel": "Freedom Acquisition I Corp"
       }
      }
     },
     "localname": "FreedomAcquisitionICorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FrontierAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frontier Acquisition Corp.",
        "label": "Frontier Acquisition Corp [Member]",
        "terseLabel": "Frontier Acquisition Corp"
       }
      }
     },
     "localname": "FrontierAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FullCircleCapitalCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Full Circle Capital Corporation.",
        "label": "Full Circle Capital Corporation"
       }
      }
     },
     "localname": "FullCircleCapitalCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_FusionAcquisitionCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fusion Acquisition Corp II.",
        "label": "Fusion Acquisition Corp I I [Member]",
        "terseLabel": "Fusion Acquisition Corp II"
       }
      }
     },
     "localname": "FusionAcquisitionCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GACHoldCoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GAC HoldCo Inc.",
        "label": "G A C Hold Co Inc [Member]",
        "terseLabel": "GAC HoldCo Inc. Suite 1220, 407 - 2nd Street S.W. Calgary, AB T2P 2Y3"
       }
      }
     },
     "localname": "GACHoldCoIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GSFinancialSquareTreasuryObligationsFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GS Financial Square Treasury Obligations Fund.",
        "label": "G S Financial Square Treasury Obligations Fund [Member]",
        "terseLabel": "GS Financial Square Treasury Obligations Fund"
       }
      }
     },
     "localname": "GSFinancialSquareTreasuryObligationsFundMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GSquaredAscendIIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "G Squared Ascend I Inc.",
        "label": "G Squared Ascend I Inc [Member]",
        "terseLabel": "G Squared Ascend I Inc."
       }
      }
     },
     "localname": "GSquaredAscendIIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GecclNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GECCL notes.",
        "label": "GECCL Notes [Member]",
        "terseLabel": "GECCL Notes"
       }
      }
     },
     "localname": "GecclNotesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GeccmNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GECCM notes.",
        "label": "GECCM Notes [Member]"
       }
      }
     },
     "localname": "GeccmNotesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GeccnNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GECCN notes.",
        "label": "GECCN Notes [Member]"
       }
      }
     },
     "localname": "GeccnNotesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GeccoNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GECCO notes.",
        "label": "GECCO Notes [Member]"
       }
      }
     },
     "localname": "GeccoNotesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GinkoBioworksHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ginko Bioworks Holdings, Inc.",
        "label": "Ginko Bioworks Holdings Inc [Member]",
        "terseLabel": "Ginko Bioworks Holdings, Inc."
       }
      }
     },
     "localname": "GinkoBioworksHoldingsIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GoresHoldingsVIIIIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gores Holdings VIII, Inc.",
        "label": "Gores Holdings V I I I Inc [Member]",
        "terseLabel": "Gores Holdings VIII, Inc."
       }
      }
     },
     "localname": "GoresHoldingsVIIIIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GoresHoldingsVIIIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gores Holdings VII, Inc.",
        "label": "Gores Holdings V I I Inc [Member]",
        "terseLabel": "Gores Holdings VII, Inc."
       }
      }
     },
     "localname": "GoresHoldingsVIIIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GoresTechnologyPartnersIIIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gores Technology Partners II, Inc.",
        "label": "Gores Technology Partners I I Inc [Member]",
        "terseLabel": "Gores Technology Partners II, Inc"
       }
      }
     },
     "localname": "GoresTechnologyPartnersIIIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GoresTechnologyPartnersIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gores Technology Partners, Inc.",
        "label": "Gores Technology Partners Inc [Member]",
        "terseLabel": "Gores Technology Partners, Inc"
       }
      }
     },
     "localname": "GoresTechnologyPartnersIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GreatElmCapitalManagementIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Great Elm Capital Management Incorporation.",
        "label": "Great Elm Capital Management Incorporation [Member]",
        "terseLabel": "Great Elm Capital Management, Inc.,"
       }
      }
     },
     "localname": "GreatElmCapitalManagementIncorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GreatElmHealthcareFinanceLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Great Elm Healthcare Finance, LLC.",
        "label": "Great Elm Healthcare Finance, LLC [Member]",
        "terseLabel": "Great Elm Healthcare Finance, LLC 3100 West End Ave, Suite 750 Nashville, TN 37203"
       }
      }
     },
     "localname": "GreatElmHealthcareFinanceLlcMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GreatElmHealthcareFinanceLlcTbdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Great Elm Healthcare Finance, LLC (TBD) [Member]",
        "label": "Great Elm Healthcare Finance, LLC (TBD) [Member]",
        "terseLabel": "Great Elm Healthcare Finance, LLC 3100 West End Ave, Suite 750 Nashville, TN 37203"
       }
      }
     },
     "localname": "GreatElmHealthcareFinanceLlcTbdMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GreatElmHealthcareFinancingLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Great Elm Healthcare Financing, LLC",
        "label": "Great Elm Healthcare Financing, LLC [Member]",
        "terseLabel": "Great Elm Healthcare Financing, LLC"
       }
      }
     },
     "localname": "GreatElmHealthcareFinancingLlcMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GreenwayHealthLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Greenway Health, LLC.",
        "label": "Greenway Health L L C [Member]",
        "terseLabel": "Greenway Health, LLC 4301 W. Boy Scout Blvd, Suite 800 Tampa, FL 33607"
       }
      }
     },
     "localname": "GreenwayHealthLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_GroveCollaborativeHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Grove Collaborative Holdings, Inc.",
        "label": "Grove Collaborative Holdings Inc [Member]",
        "terseLabel": "Grove Collaborative Holdings, Inc."
       }
      }
     },
     "localname": "GroveCollaborativeHoldingsIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_HarveyGulfHoldingsLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Harvey gulf holdings LLC [Member].",
        "label": "Harvey Gulf Holdings LLC [Member]",
        "terseLabel": "Harvey Gulf Holdings LLC 701 Poydras Street, Suite 3700 New Orleans, LA 70139"
       }
      }
     },
     "localname": "HarveyGulfHoldingsLlcMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_HealthcareSuppliesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Healthcare Supplies.",
        "label": "Healthcare Supplies [Member]",
        "terseLabel": "Healthcare Supplies"
       }
      }
     },
     "localname": "HealthcareSuppliesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_HomeSecurityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Home Security.",
        "label": "Home Security [Member]",
        "terseLabel": "Home Security"
       }
      }
     },
     "localname": "HomeSecurityMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_HospitalityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hospitality.",
        "label": "Hospitality [Member]",
        "terseLabel": "Hospitality"
       }
      }
     },
     "localname": "HospitalityMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_HouseholdAndPersonalProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Household &amp; Personal Products.",
        "label": "Household And Personal Products [Member]",
        "terseLabel": "Household &amp; Personal Products"
       }
      }
     },
     "localname": "HouseholdAndPersonalProductsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_HudsonExecutiveInvestmentCorpIIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hudson Executive Investment Corp. III.",
        "label": "Hudson Executive Investment Corp I I I [Member]",
        "terseLabel": "Hudson Executive Investment Corp. III 570 Lexington Avenue, 35th Floor New York, NY"
       }
      }
     },
     "localname": "HudsonExecutiveInvestmentCorpIIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_HudsonExecutiveInvestmentCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hudson Executive Investment Corp. II.",
        "label": "Hudson Executive Investment Corp I I [Member]",
        "terseLabel": "Hudson Executive Investment Corp. II 570 Lexington Avenue, 35th Floor New York, NY 10022"
       }
      }
     },
     "localname": "HudsonExecutiveInvestmentCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_HurdleRateIncomeIncentiveFeeCalculationOnQuarterlyBasis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hurdle rate income incentive fee calculation on quarterly basis.",
        "label": "Hurdle Rate Income Incentive Fee Calculation On Quarterly Basis",
        "terseLabel": "Hurdle rate income incentive fee calculation on quarterly basis"
       }
      }
     },
     "localname": "HurdleRateIncomeIncentiveFeeCalculationOnQuarterlyBasis",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_ITPLiveProductionGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ITP Live Production Group.",
        "label": "I T P Live Production Group [Member]",
        "terseLabel": "ITP Live Production Group 101 Greenwich Street, Floor 26 New York, NY 10006"
       }
      }
     },
     "localname": "ITPLiveProductionGroupMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ITServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "IT services.",
        "label": "I T Services [Member]",
        "terseLabel": "IT Services"
       }
      }
     },
     "localname": "ITServicesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_IncentiveFeeExpenseReversal": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incentive fee expense (reversal).",
        "label": "Incentive Fee Expense (Reversal)",
        "terseLabel": "Incentive fees"
       }
      }
     },
     "localname": "IncentiveFeeExpenseReversal",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_IncentiveFeeWaiver": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incentive fee waiver.",
        "label": "Incentive Fee Waiver",
        "terseLabel": "Incentive fee waiver"
       }
      }
     },
     "localname": "IncentiveFeeWaiver",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_IncreaseDecreaseInDueFromPortfolioCompany": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "(Increase) decrease in due from portfolio company.",
        "label": "Increase Decrease In Due From Portfolio Company",
        "negatedLabel": "(Increase) decrease in due from portfolio company"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueFromPortfolioCompany",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_IndemnificationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indemnification abstract.",
        "label": "Indemnification [Abstract]"
       }
      }
     },
     "localname": "IndemnificationAbstract",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "xbrltype": "stringItemType"
    },
    "gecc_IndemnificationTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indemnification.",
        "label": "Indemnification [Text Block]",
        "terseLabel": "Indemnification"
       }
      }
     },
     "localname": "IndemnificationTextBlock",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureIndemnification"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gecc_IndustrialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Industrial.",
        "label": "Industrial [Member]",
        "terseLabel": "Industrial"
       }
      }
     },
     "localname": "IndustrialMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_InsuranceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Insurance member",
        "label": "Insurance [Member]",
        "terseLabel": "Insurance"
       }
      }
     },
     "localname": "InsuranceMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_InternetMediaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internet Media.",
        "label": "Internet Media [Member]",
        "terseLabel": "Internet Media"
       }
      }
     },
     "localname": "InternetMediaMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_InvestmentCompanyAccretionFromShareBuybacks": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company accretion from share buybacks.",
        "label": "Investment Company Accretion from Share Buybacks",
        "terseLabel": "Accretion from share buybacks"
       }
      }
     },
     "localname": "InvestmentCompanyAccretionFromShareBuybacks",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gecc_InvestmentCompanyCapitalShareActivityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company capital share activity.",
        "label": "Investment Company Capital Share Activity [Abstract]",
        "terseLabel": "Capital share activity"
       }
      }
     },
     "localname": "InvestmentCompanyCapitalShareActivityAbstract",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "gecc_InvestmentCompanyIncentiveFeeExpenseReversalToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company incentive fee expense (reversal) to average net assets.",
        "label": "Investment Company Incentive Fee Expense Reversal to Average Net Assets",
        "terseLabel": "Ratio of incentive fees to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyIncentiveFeeExpenseReversalToAverageNetAssets",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_InvestmentCompanyIssuanceOfCommonStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of investment company, Issuance of common stock.",
        "label": "Investment Company Issuance Of Common Stock",
        "terseLabel": "Issuance of common stock"
       }
      }
     },
     "localname": "InvestmentCompanyIssuanceOfCommonStock",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gecc_InvestmentCompanyNetChangesInUnrealizedAppreciationDepreciation": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of investment company, Net changes in unrealized appreciation (depreciation).",
        "label": "Investment Company Net Changes In Unrealized Appreciation Depreciation",
        "terseLabel": "Net change in unrealized appreciation (depreciation)"
       }
      }
     },
     "localname": "InvestmentCompanyNetChangesInUnrealizedAppreciationDepreciation",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gecc_InvestmentCompanyRatioOfTotalExpensesToAverageNetAssetsBeforeWaiver": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company, Ratio of total expenses to average net assets before waiver.",
        "label": "Investment Company Ratio Of Total Expenses To Average Net Assets Before Waiver",
        "terseLabel": "Ratio of total expenses to average net assets before waiver"
       }
      }
     },
     "localname": "InvestmentCompanyRatioOfTotalExpensesToAverageNetAssetsBeforeWaiver",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_InvestmentCompanyTaxBasisReclassificationOfAccumulatedNetRealizedGainLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company tax basis reclassification of accumulated net realized gain (loss).",
        "label": "Investment Company Tax Basis Reclassification of Accumulated Net Realized Gain (Loss)",
        "terseLabel": "Accumulated net realized gain (loss)"
       }
      }
     },
     "localname": "InvestmentCompanyTaxBasisReclassificationOfAccumulatedNetRealizedGainLoss",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfReclassificationOfCapitalAccountsOnTaxBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_InvestmentCompanyTaxBasisReclassificationOfAccumulatedUndistributedNetInvestmentIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company tax basis reclassification of accumulated undistributed net investment income.",
        "label": "Investment Company Tax Basis Reclassification of Accumulated Undistributed Net Investment Income",
        "terseLabel": "Accumulated undistributed net investment income"
       }
      }
     },
     "localname": "InvestmentCompanyTaxBasisReclassificationOfAccumulatedUndistributedNetInvestmentIncome",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfReclassificationOfCapitalAccountsOnTaxBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_InvestmentCompanyTaxBasisReclassificationOfPaidInCapitalInExcessOfPar": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company tax basis reclassification of paid in capital in excess of par.",
        "label": "Investment Company Tax Basis Reclassification of Paid in Capital in Excess of Par",
        "terseLabel": "Paid-in capital in excess of par"
       }
      }
     },
     "localname": "InvestmentCompanyTaxBasisReclassificationOfPaidInCapitalInExcessOfPar",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfReclassificationOfCapitalAccountsOnTaxBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_InvestmentCompanyUndistributableEarningsLossAccumulatedOrdinaryIncomeLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company Undistributed Earnings Loss Accumulated Ordinary Income Loss",
        "label": "Investment Company Undistributed Earnings Loss Accumulated Ordinary Income Loss",
        "terseLabel": "Undistributed ordinary income, net"
       }
      }
     },
     "localname": "InvestmentCompanyUndistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfComponentsOfDistributableEarningsLossesOnATaxBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_InvestmentCompanyUndistributedEarnings": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfComponentsOfDistributableEarningsLossesOnATaxBasisDetails": {
       "order": 1.0,
       "parentTag": "gecc_UndistributedAccumulatedEarningsLossesNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company Undistributed Earnings",
        "label": "Investment Company Undistributed Earnings",
        "terseLabel": "Total undistributed earnings",
        "totalLabel": "Investment Company Undistributed Earnings, Total"
       }
      }
     },
     "localname": "InvestmentCompanyUndistributedEarnings",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfComponentsOfDistributableEarningsLossesOnATaxBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_InvestmentCompanyUndistributedEarningsLossAccumulatedCapitalLossCarryforward": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company Undistributed Earnings Loss Accumulated Capital Loss Carryforward",
        "label": "Investment Company Undistributed Earnings Loss Accumulated Capital Loss Carryforward",
        "terseLabel": "Capital loss carryforwards"
       }
      }
     },
     "localname": "InvestmentCompanyUndistributedEarningsLossAccumulatedCapitalLossCarryforward",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfComponentsOfDistributableEarningsLossesOnATaxBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_InvestmentDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment debt.",
        "label": "Investment Debt [Member]",
        "terseLabel": "Debt"
       }
      }
     },
     "localname": "InvestmentDebtMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_InvestmentEquityAndOtherMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment equity and other.",
        "label": "Investment Equity And Other [Member]",
        "terseLabel": "Equity/Other"
       }
      }
     },
     "localname": "InvestmentEquityAndOtherMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_InvestmentEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment equity.",
        "label": "Investment Equity [Member]",
        "terseLabel": "Equity"
       }
      }
     },
     "localname": "InvestmentEquityMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_InvestmentInterestRateOfPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment interest rate of percentage.",
        "label": "Investment Interest Rate Of Percentage",
        "terseLabel": "Investment interest rate of percentage"
       }
      }
     },
     "localname": "InvestmentInterestRateOfPercentage",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_InvestmentOwnedAtCostNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment owned at cost net.",
        "label": "Investment Owned at Cost Net",
        "terseLabel": "Cost"
       }
      }
     },
     "localname": "InvestmentOwnedAtCostNet",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_InvestmentOwnedAtFairValueNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment owned at fair value net.",
        "label": "Investment Owned at Fair Value Net",
        "terseLabel": "Fair Value"
       }
      }
     },
     "localname": "InvestmentOwnedAtFairValueNet",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_InvestmentRepaymentOfBorrowerToPayPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment repayment of borrower to pay percentage.",
        "label": "Investment Repayment Of Borrower To Pay Percentage",
        "terseLabel": "Investment owned, amount being repaid percentage"
       }
      }
     },
     "localname": "InvestmentRepaymentOfBorrowerToPayPercentage",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_InvestmentsExcludingShortTermInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments excluding short term investments.",
        "label": "Investments Excluding Short Term Investments [Member]",
        "terseLabel": "Investments excluding Short-Term Investments"
       }
      }
     },
     "localname": "InvestmentsExcludingShortTermInvestmentsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_IrisAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Iris acquisition corp [Member].",
        "label": "Iris Acquisition Corp [Member]",
        "terseLabel": "Iris Acquisition Corp 2700 19th Street San Francisco, CA 94110"
       }
      }
     },
     "localname": "IrisAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_JawsMustangAcquisitionCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Jaws mustang acquisition corporation.",
        "label": "Jaws Mustang Acquisition Corporation [Member]",
        "terseLabel": "Jaws Mustang Acquisition Corporation 1601 Washington Avenue, Suite 800 Miami Beach, FL 33139"
       }
      }
     },
     "localname": "JawsMustangAcquisitionCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_JuniorPriorityE2NotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Junior priority E2 notes.",
        "label": "Junior Priority E2 Notes [Member]",
        "terseLabel": "Junior Priority E2 Notes"
       }
      }
     },
     "localname": "JuniorPriorityE2NotesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_JuniorPriorityFNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Junior priority F notes.",
        "label": "Junior Priority F Notes [Member]",
        "terseLabel": "Junior Priority F Notes"
       }
      }
     },
     "localname": "JuniorPriorityFNotesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_JuniorPriorityGNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Junior priority G notes.",
        "label": "Junior Priority G Notes [Member]",
        "terseLabel": "Junior Priority G Notes"
       }
      }
     },
     "localname": "JuniorPriorityGNotesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_KKRAcquisitionHoldingsICorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "KKR Acquisition Holdings I Corp.",
        "label": "K K R Acquisition Holdings I Corp [Member]",
        "terseLabel": "KKR Acquisition Holdings I Corp. 30 Hudson Yards, Suite 7500 New York, NY 10001"
       }
      }
     },
     "localname": "KKRAcquisitionHoldingsICorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_KismetAcquisitionThreeCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kismet Acquisition Three Corp.",
        "label": "Kismet Acquisition Three Corp [Member]",
        "terseLabel": "Kismet Acquisition Three Corp. 850 Library Avenue, Suite 204 Newark, DE 19715"
       }
      }
     },
     "localname": "KismetAcquisitionThreeCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_KismetAcquisitionTwoCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kismet Acquisition Two Corp.",
        "label": "Kismet Acquisition Two Corp [Member]",
        "terseLabel": "Kismet Acquisition Two Corp. 850 Library Avenue, Suite 204 Newark, DE 19715"
       }
      }
     },
     "localname": "KismetAcquisitionTwoCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_LCattertonAsiaAcquisitionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "L Catterton Asia Acquisition.",
        "label": "L Catterton Asia Acquisition [Member]",
        "terseLabel": "L Catterton Asia Acquisition C 8 Marina View Asia Square Tower 1, No 41-03 Singapore, 018960"
       }
      }
     },
     "localname": "LCattertonAsiaAcquisitionMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_LanvinGroupHoldingsLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lanvin Group Holdings Ltd.",
        "label": "Lanvin Group Holdings Ltd [Member]",
        "terseLabel": "Lanvin Group Holdings Ltd"
       }
      }
     },
     "localname": "LanvinGroupHoldingsLtdMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_LazardGrowthAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lazard Growth Acquisition Corp.",
        "label": "Lazard Growth Acquisition Corp [Member]",
        "terseLabel": "Lazard Growth Acquisition Corp 30 Rockefeller Plaza New York, NY 10112"
       }
      }
     },
     "localname": "LazardGrowthAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_LendersFundingLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lenders' Funding, LLC.",
        "label": "Lenders Funding L L C [Member]",
        "terseLabel": "Lenders Funding, LLC 523 A Avenue Coronado, CA 92118",
        "verboseLabel": "Lenders Funding LLC"
       }
      }
     },
     "localname": "LendersFundingLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_LevyStormerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Levy/Stormer.",
        "label": "Levy Stormer [Member]",
        "terseLabel": "Levy/Stormer 905 South Boulevard East Rochester Hills, MI 48307"
       }
      }
     },
     "localname": "LevyStormerMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_LibertyMediaAcquisitionCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liberty Media Acquisition Corporation.",
        "label": "Liberty Media Acquisition Corporation [Member]",
        "terseLabel": "Liberty Media Acquisition Corporation 12300 Liberty Blvd Englewood, CO 80112"
       }
      }
     },
     "localname": "LibertyMediaAcquisitionCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_LimitedLossesOnCapitalLossesCarryforward": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Limited losses on capital losses carryforward.",
        "label": "Limited Losses on Capital Losses Carryforward",
        "terseLabel": "Limited losses on capital losses carryforward"
       }
      }
     },
     "localname": "LimitedLossesOnCapitalLossesCarryforward",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_LineOfCreditFacilityCovenantNetAssetPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line of credit facility covenant net asset percentage.",
        "label": "Line Of Credit Facility Covenant Net Asset Percentage",
        "terseLabel": "Line of credit facility covenant net assets percentage"
       }
      }
     },
     "localname": "LineOfCreditFacilityCovenantNetAssetPercentage",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_LineOfCreditFacilityCovenantNetAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line of credit facility covenant net assets.",
        "label": "Line Of Credit Facility Covenant Net Assets",
        "terseLabel": "Line of credit facility covenant net assets"
       }
      }
     },
     "localname": "LineOfCreditFacilityCovenantNetAssets",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_LiveOakMobilityAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Live Oak Mobility Acquisition Corp.",
        "label": "Live Oak Mobility Acquisition Corp [Member]",
        "terseLabel": "Live Oak Mobility Acquisition Corp. 4921 William Arnold Road Memphis, TN 38117"
       }
      }
     },
     "localname": "LiveOakMobilityAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_LoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan.",
        "label": "Loan [Member]",
        "terseLabel": "Loan"
       }
      }
     },
     "localname": "LoanMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_LoansHeldForInvestmentUnfundedLoanCommitments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loans held for investment unfunded loan commitments.",
        "label": "Loans Held For Investment Unfunded Loan Commitments",
        "terseLabel": "Loans held for investment"
       }
      }
     },
     "localname": "LoansHeldForInvestmentUnfundedLoanCommitments",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_LongviewAcquisitionCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Longview Acquisition Corp. II.",
        "label": "Longview Acquisition Corp I I [Member]",
        "terseLabel": "Longview Acquisition Corp. II 767 Fifth Avenue, 44th Floor New York, NY 10153"
       }
      }
     },
     "localname": "LongviewAcquisitionCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_LummusTechnologyHoldingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lummus Technology Holdings.",
        "label": "Lummus Technology Holdings [Member]",
        "terseLabel": "Lummus Technology Holdings 5825 N. Sam Houston Parkway West, #600 Houston, TX 77086"
       }
      }
     },
     "localname": "LummusTechnologyHoldingsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_M3BrigadeAcquisitionIICorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "M3-Brigade Acquisition II Corp.",
        "label": "M3 Brigade Acquisition I I Corp [Member]",
        "terseLabel": "M3-Brigade Acquisition II Corp. 1700 Broadway, 19th Floor New York, NY 10019"
       }
      }
     },
     "localname": "M3BrigadeAcquisitionIICorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_MadEngineGlobalLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mad Engine Global, LLC.",
        "label": "Mad Engine Global L L C [Member]",
        "terseLabel": "Mad Engine Global, LLC 6740 Cobra Way San Diego, CA, 92121"
       }
      }
     },
     "localname": "MadEngineGlobalLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_MartinMidstreamPartnersLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Martin Midstream Partners LP.",
        "label": "Martin Midstream Partners L P [Member]",
        "terseLabel": "Martin Midstream Partners LP 4200 Stone Road Kilgore, TX 75662"
       }
      }
     },
     "localname": "MartinMidstreamPartnersLPMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_MaverickGamingLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maverick Gaming LLC.",
        "label": "Maverick Gaming L L C [Member]",
        "terseLabel": "Maverick Gaming LLC 12530 NE 144th Street Kirkland, WA 98034"
       }
      }
     },
     "localname": "MaverickGamingLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_MeasurementInputImpliedYieldMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement Input implied yield.",
        "label": "Measurement Input Implied Yield [Member]",
        "terseLabel": "Implied Yield"
       }
      }
     },
     "localname": "MeasurementInputImpliedYieldMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_MergerCompletionDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Merger completion date",
        "label": "Merger completion date"
       }
      }
     },
     "localname": "MergerCompletionDate",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "gecc_MetalsAndMiningMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Metals &amp; mining.",
        "label": "Metals And Mining [Member]",
        "terseLabel": "Metals &amp; Mining"
       }
      }
     },
     "localname": "MetalsAndMiningMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_MicroStrategyIncorporatedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MicroStrategy Incorporated.",
        "label": "Micro Strategy Incorporated [Member]",
        "terseLabel": "MicroStrategy Incorporated 1850 Towers Crescent Plaza Tysons Corner, VA 22182"
       }
      }
     },
     "localname": "MicroStrategyIncorporatedMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_MiscellaneousMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Miscellaneous.",
        "label": "Miscellaneous [Member]",
        "terseLabel": "Miscellaneous"
       }
      }
     },
     "localname": "MiscellaneousMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_MissionAdvancementCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mission Advancement Corp.",
        "label": "Mission Advancement Corp [Member]",
        "terseLabel": "Mission Advancement Corp. 2525 East Camelback Road, Suite 850 Phoenix, AZ 85016"
       }
      }
     },
     "localname": "MissionAdvancementCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_MonitronicsInternationalIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Monitronics International, Inc.",
        "label": "Monitronics International Inc [Member]",
        "terseLabel": "Monitronics International, Inc. 1990 Wittington Place Dallas, TX 75234"
       }
      }
     },
     "localname": "MonitronicsInternationalIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NaturalResourcePartnersLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Natural Resource Partners LP.",
        "label": "Natural Resource Partners L P [Member]",
        "terseLabel": "Natural Resource Partners LP 1201 Louisiana Street, Suite 3400 Houston, TX 77002"
       }
      }
     },
     "localname": "NaturalResourcePartnersLPMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NetChangeInShortTermInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net change in short-term investments.",
        "label": "Net Change In Short Term Investments",
        "terseLabel": "Net change in short-term investments"
       }
      }
     },
     "localname": "NetChangeInShortTermInvestments",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_NetIncreaseDecreaseInNetAssetsResultingFromCapitalTransactions": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net increase (decrease) in net assets resulting from capital transactions.",
        "label": "Net Increase Decrease In Net Assets Resulting From Capital Transactions",
        "totalLabel": "Net increase (decrease) in net assets resulting from capital transactions"
       }
      }
     },
     "localname": "NetIncreaseDecreaseInNetAssetsResultingFromCapitalTransactions",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_NetRealizedGainLossOnInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net realized (gain) loss on investments.",
        "label": "Net Realized (Gain) Loss on Investments",
        "negatedLabel": "Net realized (gain) loss on investments"
       }
      }
     },
     "localname": "NetRealizedGainLossOnInvestments",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_NetRealizedGainLossOnRepurchaseOfDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_RealizedInvestmentGainsLosses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net realized gain on repurchase of debt.",
        "label": "Net Realized Gain Loss On Repurchase Of Debt",
        "negatedTerseLabel": "Net realized gain on repurchase of debt",
        "terseLabel": "Net realized gain on repurchase of debt",
        "verboseLabel": "Realized gain on repurchase of debt"
       }
      }
     },
     "localname": "NetRealizedGainLossOnRepurchaseOfDebt",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_NetRealizedGainsLossesAndNetChangeInUnrealizedAppreciationDepreciationPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net realized gains (losses) and net change in unrealized appreciation (depreciation),",
        "label": "Net Realized Gains Losses And Net Change In Unrealized Appreciation Depreciation Policy [Text Block]",
        "terseLabel": "Net Realized Gains (Losses) and Net Change in Unrealized Appreciation (Depreciation)"
       }
      }
     },
     "localname": "NetRealizedGainsLossesAndNetChangeInUnrealizedAppreciationDepreciationPolicyTextBlock",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gecc_NewVistaAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "New Vista Acquisition Corp.",
        "label": "New Vista Acquisition Corp [Member]",
        "terseLabel": "New Vista Acquisition Corp. 125 South Wacker Drive, Suite 300 Chicago, IL 60606"
       }
      }
     },
     "localname": "NewVistaAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NewfoldDigitalIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Newfold Digital Inc.",
        "label": "Newfold Digital Inc [Member]",
        "terseLabel": "Newfold Digital Inc. 5335 Gate Parkway Jacksonville, FL 32256"
       }
      }
     },
     "localname": "NewfoldDigitalIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NicePakProductsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "NICE-PAK products, Inc [Member].",
        "label": "NICE-PAK Products, Inc [Member]",
        "terseLabel": "NICE-PAK Products, Inc.Two Nice-Pak Park Orangeburg, NY 10962"
       }
      }
     },
     "localname": "NicePakProductsIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NonAffiliatedNonControlledInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-affiliated, non-controlled Investments.",
        "label": "Non Affiliated Non Controlled Investments [Member]",
        "terseLabel": "Non-affiliated, Non-controlled Investments"
       }
      }
     },
     "localname": "NonAffiliatedNonControlledInvestmentsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NonAffiliatedNonControlledInvestmentsPIKMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-affiliated, non-controlled investments (PIK).",
        "label": "Non Affiliated Non Controlled Investments P I K [Member]",
        "terseLabel": "Non-affiliated, non-controlled investments (PIK)"
       }
      }
     },
     "localname": "NonAffiliatedNonControlledInvestmentsPIKMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NonAffiliatedNonControlledShortTermInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-affiliated, non-controlled short-term investments.",
        "label": "Non Affiliated Non Controlled Short Term Investments [Member]",
        "terseLabel": "Non-affiliated, Non-controlled Short-term Investments"
       }
      }
     },
     "localname": "NonAffiliatedNonControlledShortTermInvestmentsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NonControlledAffiliatedInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-controlled, affiliated investments.",
        "label": "Non Controlled Affiliated Investments [Member]",
        "terseLabel": "Non-Controlled, Affiliated Investments"
       }
      }
     },
     "localname": "NonControlledAffiliatedInvestmentsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NorthernStarInvestmentCorpIIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Northern Star Investment Corp. III.",
        "label": "Northern Star Investment Corp I I I [Member]",
        "terseLabel": "Northern Star Investment Corp. III The Chrysler Building 405 Lexington Avenue New York, NY 10174"
       }
      }
     },
     "localname": "NorthernStarInvestmentCorpIIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NorthernStarInvestmentCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Northern Star Investment Corp.",
        "label": "Northern Star Investment Corp I I [Member]",
        "terseLabel": "Northern Star Investment Corp. II The Chrysler Building 405 Lexington Avenue New York, NY 10174"
       }
      }
     },
     "localname": "NorthernStarInvestmentCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NorthernStarInvestmentCorpIVMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Northern Star Investment Corp. IV.",
        "label": "Northern Star Investment Corp I V [Member]",
        "terseLabel": "Northern Star Investment Corp. IV The Chrysler Building 405 Lexington Avenue New York, NY 10174"
       }
      }
     },
     "localname": "NorthernStarInvestmentCorpIVMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NotSubjectToCapitalGainIncentiveFeeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not subject to capital gain incentive fee.",
        "label": "Not Subject To Capital Gain Incentive Fee [Member]",
        "terseLabel": "Not Subject to Capital Gain Incentive Fee [Member]"
       }
      }
     },
     "localname": "NotSubjectToCapitalGainIncentiveFeeMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NotePayableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Note payable.",
        "label": "Note Payable [Member]"
       }
      }
     },
     "localname": "NotePayableMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NumberOfNewSharesOfCommonStockPurchased": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new shares of common stock purchased.",
        "label": "Number Of New Shares Of Common Stock Purchased",
        "terseLabel": "Number of new shares of common stock purchased."
       }
      }
     },
     "localname": "NumberOfNewSharesOfCommonStockPurchased",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "gecc_NustarEnergyLpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "NuStar energy LP.",
        "label": "NuStar Energy LP [Member]",
        "terseLabel": "NuStar Energy LP 19003 1H-10 West San Antonio, TX 78257"
       }
      }
     },
     "localname": "NustarEnergyLpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_NustarEnergyLpOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nustar energy LP one.",
        "label": "Nustar Energy LP One [Member]",
        "terseLabel": "NuStar Energy LP 19003 1H-10 West San Antonio, TX 78257"
       }
      }
     },
     "localname": "NustarEnergyLpOneMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OPSAcquisitionsLimitedAndOceanProductionServicesLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "O P S Acquisitions Limited and Ocean Production Services Limited.",
        "label": "O P S Acquisitions Limited and Ocean Production Services Limited [Member]",
        "terseLabel": "OPS Acquisitions Limited and Ocean Production Services Limited"
       }
      }
     },
     "localname": "OPSAcquisitionsLimitedAndOceanProductionServicesLimitedMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OilAndGasExplorationProductionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Oil &amp; Gas Exploration &amp; Production.",
        "label": "Oil And Gas Exploration Production [Member]",
        "terseLabel": "Oil &amp; Gas Exploration &amp; Production"
       }
      }
     },
     "localname": "OilAndGasExplorationProductionMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OilGasRefiningMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Oil &amp; Gas Refining.",
        "label": "Oil Gas Refining [Member]",
        "terseLabel": "Oil &amp; Gas Refining"
       }
      }
     },
     "localname": "OilGasRefiningMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OneEquityPartnersOpenWaterICorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One Equity Partners Open Water I Corp.",
        "label": "One Equity Partners Open Water I Corp [Member]",
        "terseLabel": "One Equity Partners Open Water I Corp"
       }
      }
     },
     "localname": "OneEquityPartnersOpenWaterICorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OneMonthLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One month LIBOR.",
        "label": "One Month L I B O R [Member]",
        "terseLabel": "1 Month LIBOR"
       }
      }
     },
     "localname": "OneMonthLIBORMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OneMonthSofrMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One month SOFR.",
        "label": "One Month SOFR [Member]",
        "terseLabel": "1 Month SOFR"
       }
      }
     },
     "localname": "OneMonthSofrMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OnePointFiveLienSecuredLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One point five lien, secured loan.",
        "label": "One Point Five Lien Secured Loan [Member]",
        "terseLabel": "1.5 Lien, Secured Loan"
       }
      }
     },
     "localname": "OnePointFiveLienSecuredLoanMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OnePointOneTwoFiveLienSecuredLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One point one two five lien, secured loan.",
        "label": "One Point One Two Five Lien Secured Loan [Member]",
        "terseLabel": "1.125 Lien Secured Loan"
       }
      }
     },
     "localname": "OnePointOneTwoFiveLienSecuredLoanMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OnePointTwoFiveLienSecuredLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One point two five lien, secured loan.",
        "label": "One Point Two Five Lien Secured Loan [Member]",
        "terseLabel": "1.25 Lien Secured Loan"
       }
      }
     },
     "localname": "OnePointTwoFiveLienSecuredLoanMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Organization, consolidation and presentation of financial statements.",
        "label": "Organization, Consolidation and Presentation of Financial Statements [Line Items]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gecc_OrganizationConsolidationAndPresentationOfFinancialStatementsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Organization consolidation and presentation of financial statements.",
        "label": "Organization Consolidation And Presentation Of Financial Statements [Table]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsTable",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gecc_OrionAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Orion Acquisition Corp.",
        "label": "Orion Acquisition Corp [Member]",
        "terseLabel": "Orion Acquisition Corp. 767 5th Avenue, 44th Floor New York, NY 10017"
       }
      }
     },
     "localname": "OrionAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OtherLiabilitiesInExcessOfAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other liabilities in excess of assets.",
        "label": "Other Liabilities In Excess Of Assets [Member]",
        "terseLabel": "Other Liabilities in Excess of Assets"
       }
      }
     },
     "localname": "OtherLiabilitiesInExcessOfAssetsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_OysterEnterprisesAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Oyster enterprises acquisition corp.",
        "label": "Oyster Enterprises Acquisition Corp [Member]",
        "terseLabel": "Oyster Enterprises Acquisition Corp. 777 South Flagler Drive, Suite 800W West Palm Beach, FL 33401"
       }
      }
     },
     "localname": "OysterEnterprisesAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PEFacilitySolutionsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "P E Facility Solutions L L C.",
        "label": "P E Facility Solutions L L C [Member]",
        "terseLabel": "PE Facility Solutions LLC"
       }
      }
     },
     "localname": "PEFacilitySolutionsLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PFSHoldingsCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PFS Holdings Corp.",
        "label": "P F S Holdings Corp [Member]",
        "terseLabel": "PFS Holdings Corp. 3747 Hecktown Road Easton, PA 18045",
        "verboseLabel": "PFS Holdings Corp"
       }
      }
     },
     "localname": "PFSHoldingsCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PIRSCapitalLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PIRS Capital LLC.",
        "label": "P I R S Capital L L C [Member]",
        "terseLabel": "PIRS Capital LLC 1688 Meridian Ave Ste 700 Miami Beach, FL 33139"
       }
      }
     },
     "localname": "PIRSCapitalLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ParPetroleumLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Par Petroleum, LLC.",
        "label": "Par Petroleum L L C [Member]",
        "terseLabel": "Par Petroleum, LLC 825 Town &amp; Country Lane, Suite 1500 Houston, TX 77024"
       }
      }
     },
     "localname": "ParPetroleumLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PathfinderAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pathfinder Acquisition Corp.",
        "label": "Pathfinder Acquisition Corp [Member]",
        "terseLabel": "Pathfinder Acquisition Corp 1950 University Avenue, Suite 350 Palo Alto, CA 94303"
       }
      }
     },
     "localname": "PathfinderAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PearTherapeuticsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pear Therapeutics, Inc.",
        "label": "Pear Therapeutics Inc [Member]",
        "terseLabel": "Pear Therapeutics, Inc. 200 State Street, 13th Floor Boston, MA 02109"
       }
      }
     },
     "localname": "PearTherapeuticsIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PercentageOfAffiliatedInvestments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of affiliated investments.",
        "label": "Percentage Of Affiliated Investments",
        "terseLabel": "Percentage of affiliated investments"
       }
      }
     },
     "localname": "PercentageOfAffiliatedInvestments",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfAggregateFairValueOfControlledInvestments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of aggregate fair value of controlled investments.",
        "label": "Percentage Of Aggregate Fair Value Of Controlled Investments",
        "terseLabel": "Percentage of Aggregate Fair Value of Controlled Investments"
       }
      }
     },
     "localname": "PercentageOfAggregateFairValueOfControlledInvestments",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfAggregateFairValueOfNonControlledAffiliatedInvestments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of aggregate fair value of non-controlled, affiliated investments.",
        "label": "Percentage Of Aggregate Fair Value Of Non Controlled Affiliated Investments",
        "terseLabel": "Percentage of aggregate fair value of non-controlled, affiliated investments"
       }
      }
     },
     "localname": "PercentageOfAggregateFairValueOfNonControlledAffiliatedInvestments",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfAggregateInvestmentFairValueOnMarketCapitalization": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of aggregate investment fair value on market capitalization.",
        "label": "Percentage Of Aggregate Investment Fair Value On Market Capitalization",
        "terseLabel": "Percentage of aggregate investment fair value on total capitalization"
       }
      }
     },
     "localname": "PercentageOfAggregateInvestmentFairValueOnMarketCapitalization",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfAnnualizedPreIncentiveFeeNetInvestmentIncomeSubjectToCatchUpProvision": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of annualized pre-incentive fee net investment income subject to a catch-up provision.",
        "label": "Percentage Of Annualized Pre Incentive Fee Net Investment Income Subject To Catch Up Provision",
        "terseLabel": "Percentage of annualized pre-incentive fee net investment income subject to a catch-up provision"
       }
      }
     },
     "localname": "PercentageOfAnnualizedPreIncentiveFeeNetInvestmentIncomeSubjectToCatchUpProvision",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfBoardRepresentationToNominate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of board representation to nominate.",
        "label": "Percentage of board representation to nominate"
       }
      }
     },
     "localname": "PercentageOfBoardRepresentationToNominate",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfCapitalGainNetIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of capital gain net income.",
        "label": "Percentage Of Capital Gain Net Income",
        "terseLabel": "Percentage of capital gain net income"
       }
      }
     },
     "localname": "PercentageOfCapitalGainNetIncome",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfClassInAffiliatedInvestments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity interest percentage class in affiliates.",
        "label": "Equity Interest Percentage Class in Affiliates",
        "terseLabel": "Percentage of class"
       }
      }
     },
     "localname": "PercentageOfClassInAffiliatedInvestments",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfControlledInvestments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of controlled investments.",
        "label": "Percentage Of Controlled Investments",
        "terseLabel": "Percentage of controlled investments"
       }
      }
     },
     "localname": "PercentageOfControlledInvestments",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfCumulativePreIncentiveFeeNetReturn": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of Cumulative pre incentive fee net return.",
        "label": "Percentage Of Cumulative Pre Incentive Fee Net Return",
        "terseLabel": "Percentage of Cumulative pre incentive fee net return"
       }
      }
     },
     "localname": "PercentageOfCumulativePreIncentiveFeeNetReturn",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfExciseTaxOnMinimumDistributionAmount": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of excise tax on minimum distribution amount.",
        "label": "Percentage of Excise Tax on Minimum Distribution Amount",
        "terseLabel": "Percentage of excise tax on minimum distribution amount"
       }
      }
     },
     "localname": "PercentageOfExciseTaxOnMinimumDistributionAmount",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfIndividualInvestmentFairValueOnMarketCapitalization": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of individual investment fair value on market capitalization.",
        "label": "Percentage Of Individual Investment Fair Value On Market Capitalization",
        "terseLabel": "Percentage of individual investment fair value on total capitalization"
       }
      }
     },
     "localname": "PercentageOfIndividualInvestmentFairValueOnMarketCapitalization",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfInvestmentCompanyTaxableIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of investment company taxable income.",
        "label": "Percentage Of Investment Company Taxable Income",
        "terseLabel": "Percentage of investment company taxable income distribute to stockholders"
       }
      }
     },
     "localname": "PercentageOfInvestmentCompanyTaxableIncome",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of net assets.",
        "label": "Percentage of net assets",
        "terseLabel": "Percentage of net assets"
       }
      }
     },
     "localname": "PercentageOfNetAssets",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfNetOrdinaryIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of net ordinary income.",
        "label": "Percentage Of Net Ordinary Income",
        "terseLabel": "Percentage of net ordinary income"
       }
      }
     },
     "localname": "PercentageOfNetOrdinaryIncome",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfNonQualifyingAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of non qualifying assets.",
        "label": "Percentage Of Non Qualifying Assets",
        "terseLabel": "Percentage of non-qualifying assets"
       }
      }
     },
     "localname": "PercentageOfNonQualifyingAssets",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PercentageOfQualifyingAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage Of qualifying assets.",
        "label": "Percentage Of Qualifying Assets",
        "terseLabel": "Percentage of qualifying assets"
       }
      }
     },
     "localname": "PercentageOfQualifyingAssets",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_PerforceSoftwareIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Perforce Software, Inc.",
        "label": "Perforce Software Inc [Member]",
        "terseLabel": "Perforce Software, Inc. 400 First Avenue North #200 Minneapolis, MN 55401"
       }
      }
     },
     "localname": "PerforceSoftwareIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PeridotAcquisitionCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Peridot Acquisition Corp. II.",
        "label": "Peridot Acquisition Corp I I [Member]",
        "terseLabel": "Peridot Acquisition Corp. II 2229 San Felipe Street, Suite 1450 Houston, TX 77019"
       }
      }
     },
     "localname": "PeridotAcquisitionCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PivotalInvestmentCorpIIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pivotal Investment Corp III.",
        "label": "Pivotal Investment Corp I I I [Member]",
        "terseLabel": "Pivotal Investment Corp III The Chrysler Building 405 Lexington Avenue, 11th Floor New York, NY 10174"
       }
      }
     },
     "localname": "PivotalInvestmentCorpIIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PlanetLabsPBCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Planet Labs PBC.",
        "label": "Planet Labs P B C [Member]",
        "terseLabel": "Planet Labs PBC 645 Harrison Street, 4th Floor San Francisco, CA 94107"
       }
      }
     },
     "localname": "PlanetLabsPBCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PlumAcquisitionCorpIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plum Acquisition Corp. I.",
        "label": "Plum Acquisition Corp I [Member]",
        "terseLabel": "Plum Acquisition Corp. I 2021 Fillmore Street, #2089 San Francisco, CA 94115"
       }
      }
     },
     "localname": "PlumAcquisitionCorpIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PolestarAutomotiveHoldingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Polestar Automotive Holding.",
        "label": "Polestar Automotive Holding [Member]",
        "terseLabel": "Polestar Automotive Holding UK PLC Assar Gabrielssons V\u00e4g 9 405 31 G\u00f6teborg, Sweden"
       }
      }
     },
     "localname": "PolestarAutomotiveHoldingMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PreferredEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred equity.",
        "label": "Preferred Equity [Member]",
        "terseLabel": "Preferred Equity"
       }
      }
     },
     "localname": "PreferredEquityMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PrepaidExpensesAndOtherAssetsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prepaid Expenses and other assets policy.",
        "label": "Prepaid Expenses and Other Assets [Policy Text Block]",
        "terseLabel": "Prepaid Expenses and Other Assets"
       }
      }
     },
     "localname": "PrepaidExpensesAndOtherAssetsPolicyTextBlock",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gecc_PrestigeCapitalFinanceLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prestige Capital Finance, LLC.",
        "label": "Prestige Capital Finance L L C [Member]",
        "terseLabel": "Prestige Capital Finance, LLC 400 Kelby St., 10th Floor Fort Lee, NJ 07024",
        "verboseLabel": "Prestige Capital Finance LLC"
       }
      }
     },
     "localname": "PrestigeCapitalFinanceLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PrimaveraCapitalAcquisitionCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primavera Capital Acquisition Corporation.",
        "label": "Primavera Capital Acquisition Corporation [Member]",
        "terseLabel": "Primavera Capital Acquisition Corporation 41/F Gloucester Tower 15 Queen's Road Central Hong Kong"
       }
      }
     },
     "localname": "PrimaveraCapitalAcquisitionCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PrivateStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Private stock.",
        "label": "Private Stock [Member]",
        "terseLabel": "Private Stock"
       }
      }
     },
     "localname": "PrivateStockMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ProceedsFromPrincipalPayments": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from principal payments.",
        "label": "Proceeds From Principal Payments",
        "terseLabel": "Proceeds from principal payments"
       }
      }
     },
     "localname": "ProceedsFromPrincipalPayments",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_PromissoryNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Promissory note [Member].",
        "label": "Promissory Note [Member]",
        "terseLabel": "Promissory Note"
       }
      }
     },
     "localname": "PromissoryNoteMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_PurchaseOfDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase of debt.",
        "label": "Purchase of Debt",
        "negatedLabel": "Purchase of debt"
       }
      }
     },
     "localname": "PurchaseOfDebt",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_QuadGraphicsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quad/Graphics, Inc.",
        "label": "Quad Graphics Inc [Member]",
        "terseLabel": "Quad/Graphics, Inc. N61 W23044 Harry's Way Sussex, WI 53089"
       }
      }
     },
     "localname": "QuadGraphicsIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RMGAcquisitionCorpIIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "RMG Acquisition Corp. III.",
        "label": "R M G Acquisition Corp I I I [Member]",
        "terseLabel": "RMG Acquisition Corp. III 57 Ocean, Suite 403 5775 Collins Avenue Miami Beach, FL 33140"
       }
      }
     },
     "localname": "RMGAcquisitionCorpIIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RXRAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "RXR Acquisition Corp",
        "label": "R X R Acquisition Corp [Member]",
        "terseLabel": "RXR Acquisition Corp. 625 RXR Plaza Uniondale, NY 11556"
       }
      }
     },
     "localname": "RXRAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Receivable.",
        "label": "Receivable [Member]",
        "terseLabel": "Receivable"
       }
      }
     },
     "localname": "ReceivableMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ReceivableOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Receivable one.",
        "label": "Receivable One [Member]",
        "terseLabel": "Receivable"
       }
      }
     },
     "localname": "ReceivableOneMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ReceivablePercentageOfPreIncentiveFeeNetInvestmentIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Receivable percentage of pre-incentive fee net investment income.",
        "label": "Receivable Percentage Of Pre Incentive Fee Net Investment Income",
        "terseLabel": "Receivable percentage of pre-incentive fee net investment income"
       }
      }
     },
     "localname": "ReceivablePercentageOfPreIncentiveFeeNetInvestmentIncome",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gecc_ReceivableTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Receivable two.",
        "label": "Receivable Two [Member]",
        "terseLabel": "Receivable"
       }
      }
     },
     "localname": "ReceivableTwoMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ReceivableUnfundedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Receivable unfunded.",
        "label": "Receivable Unfunded [Member]",
        "terseLabel": "Receivable - Unfunded"
       }
      }
     },
     "localname": "ReceivableUnfundedMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RecentTransactionValuationTechniqueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recent transaction valuation technique.",
        "label": "Recent Transaction Valuation Technique [Member]",
        "terseLabel": "Recent Transaction"
       }
      }
     },
     "localname": "RecentTransactionValuationTechniqueMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ResearchNowGroupIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Research Now Group, Inc.",
        "label": "Research Now Group Inc [Member]",
        "terseLabel": "Research Now Group, Inc. 5800 Tennyson Parkway Suite 600 Plano, TX 75024"
       }
      }
     },
     "localname": "ResearchNowGroupIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RestaurantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Restaurants.",
        "label": "Restaurants [Member]",
        "terseLabel": "Restaurants"
       }
      }
     },
     "localname": "RestaurantsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RetailIndustryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retail industry.",
        "label": "Retail Industry [Member]",
        "terseLabel": "Retail"
       }
      }
     },
     "localname": "RetailIndustryMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RetroactiveAdjustmentsForReverseStockSplitPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retroactive adjustments for reverse stock split.",
        "label": "Retroactive Adjustments For Reverse Stock Split Policy [Text Block]",
        "terseLabel": "Retroactive Adjustments for Reverse Stock Split"
       }
      }
     },
     "localname": "RetroactiveAdjustmentsForReverseStockSplitPolicyTextBlock",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gecc_ReverseStockSplitEffectiveDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reverse stock split effective date.",
        "label": "Reverse Stock Split Effective Date",
        "terseLabel": "Reverse stock split effective date"
       }
      }
     },
     "localname": "ReverseStockSplitEffectiveDate",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "gecc_RevolverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revolver.",
        "label": "Revolver [Member]",
        "terseLabel": "Revolver"
       }
      }
     },
     "localname": "RevolverMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RevolverUnfundedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revolver unfunded.",
        "label": "Revolver Unfunded [Member]",
        "terseLabel": "Revolver - Unfunded"
       }
      }
     },
     "localname": "RevolverUnfundedMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RisksRelatingToIndebtednessMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risks relating to indebtedness.",
        "label": "Risks Relating to Indebtedness [Member]"
       }
      }
     },
     "localname": "RisksRelatingToIndebtednessMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RisksRelatingToOurBusinessAndStructureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risks relating to our business and structure.",
        "label": "Risks Relating to Our Business and Structure [Member]"
       }
      }
     },
     "localname": "RisksRelatingToOurBusinessAndStructureMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RisksRelatingToOurCommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risks relating to our common stock.",
        "label": "Risks Relating to Our Common Stock [Member]"
       }
      }
     },
     "localname": "RisksRelatingToOurCommonStockMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RisksRelatingToOurInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risks relating to our investments.",
        "label": "Risks Relating to Our Investments [Member]"
       }
      }
     },
     "localname": "RisksRelatingToOurInvestmentsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RossAcquisitionCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ross Acquisition Corp II.",
        "label": "Ross Acquisition Corp I I [Member]",
        "terseLabel": "Ross Acquisition Corp II 1 Pelican Lane Palm Beach, FL 33480"
       }
      }
     },
     "localname": "RossAcquisitionCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RubyTuesdayOperationsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ruby Tuesday Operations LLC.",
        "label": "Ruby Tuesday Operations L L C [Member]",
        "terseLabel": "Ruby Tuesday Operations LLC 333 E. Broadway Avenue Maryville, TN 37804"
       }
      }
     },
     "localname": "RubyTuesdayOperationsLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_RumbleIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rumble Inc [Member].",
        "label": "Rumble Inc [Member]",
        "terseLabel": "Rumble Inc. 444 Gulf of Mexico Drive Longboat Key, FL 34228"
       }
      }
     },
     "localname": "RumbleIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SCIHSaltHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SCIH Salt Holdings Inc.",
        "label": "S C I H Salt Holdings Inc [Member]",
        "terseLabel": "SCIH Salt Holdings Inc. 1875 Century Park East Suite 320 Los Angeles, CA 90067"
       }
      }
     },
     "localname": "SCIHSaltHoldingsIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SandbridgeX2CorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sandbridge X2 Corp.",
        "label": "Sandbridge X2 Corp [Member]",
        "terseLabel": "Sandbridge X2 Corp 725 5th Avenue, 23rd Floor New York, NY 10022"
       }
      }
     },
     "localname": "SandbridgeX2CorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ScIONTechGrowthIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ScION Tech Growth II.",
        "label": "Sc I O N Tech Growth I I [Member]",
        "terseLabel": "ScION Tech Growth II 10 Queen St Place, 2nd Floor London, UK EC4R 1BE"
       }
      }
     },
     "localname": "ScIONTechGrowthIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ScheduleOfReclassificationOfCapitalAccountsOnTaxBasisTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of reclassification of capital accounts on tax basis.",
        "label": "Schedule of Reclassification of Capital Accounts on Tax Basis [Table Text Block]",
        "terseLabel": "Schedule of Reclassification of Capital Accounts on Tax Basis"
       }
      }
     },
     "localname": "ScheduleOfReclassificationOfCapitalAccountsOnTaxBasisTableTextBlock",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gecc_ScienceStrategicAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Science Strategic Acquisition Corp.",
        "label": "Science Strategic Acquisition Corp [Member]",
        "terseLabel": "Science Strategic Acquisition Corp. Alpha 1447 2nd Street Santa Monica, CA 90401"
       }
      }
     },
     "localname": "ScienceStrategicAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecondLienSecuredBondMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Second lien, secured bond.",
        "label": "Second Lien Secured Bond [Member]",
        "terseLabel": "2nd Lien Secured Bond"
       }
      }
     },
     "localname": "SecondLienSecuredBondMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecondLienSecuredLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Second lien, secured loan.",
        "label": "Second Lien Secured Loan [Member]",
        "terseLabel": "2nd Lien, Secured Loan"
       }
      }
     },
     "localname": "SecondLienSecuredLoanMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecondLienSecuredNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2nd Lien, Secured Note [Member]",
        "label": "Second Lien, Secured Note [Member]",
        "terseLabel": "2nd Lien, Secured Note"
       }
      }
     },
     "localname": "SecondLienSecuredNoteMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecuredBondMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured bond.",
        "label": "Secured Bond [Member]",
        "terseLabel": "Secured Bond"
       }
      }
     },
     "localname": "SecuredBondMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecuredEquipmentFinancingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured equipment financing.",
        "label": "Secured Equipment Financing [Member]",
        "terseLabel": "Secured Equipment Financing"
       }
      }
     },
     "localname": "SecuredEquipmentFinancingMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecuredLoanAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured loan A [Member].",
        "label": "Secured Loan A [Member]",
        "terseLabel": "Secured Loan A"
       }
      }
     },
     "localname": "SecuredLoanAMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecuredLoanBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured Loan B.",
        "label": "Secured Loan B [Member]",
        "terseLabel": "Secured Loan B"
       }
      }
     },
     "localname": "SecuredLoanBMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecuredLoanCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured Loan C.",
        "label": "Secured Loan C [Member]",
        "terseLabel": "Secured Loan C"
       }
      }
     },
     "localname": "SecuredLoanCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecuredLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured loan.",
        "label": "Secured Loan [Member]",
        "terseLabel": "Secured Loan"
       }
      }
     },
     "localname": "SecuredLoanMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecuredNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured note.",
        "label": "Secured Note [Member]",
        "terseLabel": "Secured Note"
       }
      }
     },
     "localname": "SecuredNoteMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecuredOvernightFinancingRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured overnight financing rate [Member].",
        "label": "Secured Overnight Financing Rate [Member]",
        "terseLabel": "SOFR"
       }
      }
     },
     "localname": "SecuredOvernightFinancingRateMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecuredRevolverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured revolver.",
        "label": "Secured Revolver [Member]",
        "terseLabel": "Secured Revolver"
       }
      }
     },
     "localname": "SecuredRevolverMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SecuredRevolverUnfundedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured revolver - unfunded.",
        "label": "Secured Revolver Unfunded [Member]",
        "terseLabel": "Secured Revolver - Unfunded"
       }
      }
     },
     "localname": "SecuredRevolverUnfundedMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SevenPointSevenFivePercentageFirstLienSecuredNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Seven Point Seven Five Percentage First Lien Secured Note [Member]",
        "label": "Seven Point Seven Five Percentage First Lien Secured Note [Member]",
        "terseLabel": "1st Lien, Secured Note"
       }
      }
     },
     "localname": "SevenPointSevenFivePercentageFirstLienSecuredNoteMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ShippingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shipping.",
        "label": "Shipping [Member]",
        "terseLabel": "Shipping"
       }
      }
     },
     "localname": "ShippingMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SignificantAccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant accounting policies.",
        "label": "Significant Accounting Policies [Line Items]",
        "terseLabel": "Significant Accounting Policies [Line Items]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesLineItems",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gecc_SignificantAccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant accounting policies.",
        "label": "Significant Accounting Policies [Table]",
        "terseLabel": "Significant Accounting Policies [Table]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTable",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gecc_SilverSpikeAcquisitionCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Silver Spike Acquisition Corp II.",
        "label": "Silver Spike Acquisition Corp I I [Member]",
        "terseLabel": "Silver Spike Acquisition Corp II 660 Madison Avenue, Suite 1600 New York, NY 10065"
       }
      }
     },
     "localname": "SilverSpikeAcquisitionCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SimonPropertyGroupAcquisitionHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Simon Property Group Acquisition Holdings, Inc.",
        "label": "Simon Property Group Acquisition Holdings Inc [Member]",
        "terseLabel": "Simon Property Group Acquisition Holdings, Inc. 225 West Washington Street Indianapolis, IN 46204"
       }
      }
     },
     "localname": "SimonPropertyGroupAcquisitionHoldingsIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SixMonthLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Six month LIBOR.",
        "label": "Six Month L I B O R [Member]",
        "terseLabel": "6 Month LIBOR"
       }
      }
     },
     "localname": "SixMonthLIBORMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SixPointFiveZeroNotesDueTwoThousandTwentyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Six Point Five Zero Notes Due Two Thousand Twenty Two.",
        "label": "Six Point Five Zero Notes Due Two Thousand Twenty Two [Member]",
        "terseLabel": "GECCL Notes"
       }
      }
     },
     "localname": "SixPointFiveZeroNotesDueTwoThousandTwentyTwoMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SixPointFiveZeroPercentNotesDueTwoThousandTwentyFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Six point five zero percent notes due two thousand twenty four.",
        "label": "Six Point Five Zero Percent Notes Due Two Thousand Twenty Four [Member]",
        "terseLabel": "6.50% Notes due 2024",
        "verboseLabel": "GECCN Notes"
       }
      }
     },
     "localname": "SixPointFiveZeroPercentNotesDueTwoThousandTwentyFourMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SixPointSevenFivePercentNotesDueTwoThousandTwentyFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Six point seven five percent notes due two thousand twenty five.",
        "label": "Six Point Seven Five Percent Notes Due Two Thousand Twenty Five [Member]",
        "terseLabel": "6.75% Notes due 2025",
        "verboseLabel": "GECCM Notes"
       }
      }
     },
     "localname": "SixPointSevenFivePercentNotesDueTwoThousandTwentyFiveMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SlamCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Slam Corp.",
        "label": "Slam Corp [Member]",
        "terseLabel": "Slam Corp. 55 Hudson Yards, 47th Floor, Suite C New York, NY 10001"
       }
      }
     },
     "localname": "SlamCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SoftwareServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Software services.",
        "label": "Software Services [Member]",
        "terseLabel": "Software Services"
       }
      }
     },
     "localname": "SoftwareServicesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SonderHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sonder Holdings Inc.",
        "label": "Sonder Holdings Inc [Member]",
        "terseLabel": "Sonder Holdings Inc. 101 15th Street San Francisco, CA 94103"
       }
      }
     },
     "localname": "SonderHoldingsIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SpartanAcquisitionCorpIIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Spartan Acquisition Corp. III.",
        "label": "Spartan Acquisition Corp I I I [Member]",
        "terseLabel": "Spartan Acquisition Corp. III 9 West 57th Street, 43rd Floor New York, NY 10019"
       }
      }
     },
     "localname": "SpartanAcquisitionCorpIIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SpecialPurposeAcquisitionCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Special purpose acquisition company.",
        "label": "Special Purpose Acquisition Company [Member]",
        "terseLabel": "Special Purpose Acquisition Company"
       }
      }
     },
     "localname": "SpecialPurposeAcquisitionCompanyMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SpecialPurposeAcquisitionsCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Special purpose acquisitions company.",
        "label": "Special Purpose Acquisitions Company [Member]",
        "terseLabel": "Special Purpose Acquisition Company"
       }
      }
     },
     "localname": "SpecialPurposeAcquisitionsCompanyMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SpecialtyFinanceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Specialty finance.",
        "label": "Specialty Finance [Member]",
        "terseLabel": "Specialty Finance"
       }
      }
     },
     "localname": "SpecialtyFinanceMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SprintCommunicationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sprint Communications.",
        "label": "Sprint Communications [Member]",
        "terseLabel": "Sprint Communications 6200 Sprint Parkway Overland Park, KS 66251"
       }
      }
     },
     "localname": "SprintCommunicationsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SproutHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sprout Holdings, LLC.",
        "label": "Sprout Holdings L L C [Member]",
        "terseLabel": "Sprout Holdings, LLC 90 Merrick Ave, East Meadow, NY 11554"
       }
      }
     },
     "localname": "SproutHoldingsLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SterlingCommercialCreditLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sterling Commercial Credit, LLC.",
        "label": "Sterling Commercial Credit L L C [Member]",
        "terseLabel": "Sterling Commercial Credit, LLC 10153 Grand River Rd Brighton, MI 48116",
        "verboseLabel": "Sterling Commercial Credit LLC"
       }
      }
     },
     "localname": "SterlingCommercialCreditLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_StockIssuedDuringPeriodValueReverseStockSplits": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period value, reverse stock splits.",
        "label": "Stock Issued During Period Value, Reverse Stock Splits",
        "terseLabel": "Stock issued during period value, reverse stock splits"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueReverseStockSplits",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_StockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock [Member]",
        "label": "Stock [Member]",
        "terseLabel": "Stock"
       }
      }
     },
     "localname": "StockMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_StockholdersEquityNoteFractionalShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stockholders equity note fractional shares.",
        "label": "Stockholders Equity Note Fractional Shares",
        "terseLabel": "Fractional shares"
       }
      }
     },
     "localname": "StockholdersEquityNoteFractionalShares",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "gecc_StockholdersEquityNoteFractionalSharesAggregateAmountOfRedemption": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stockholders equity note fractional shares aggregate amount of redemption.",
        "label": "Stockholders Equity Note Fractional Shares Aggregate Amount Of Redemption",
        "terseLabel": "Fractional shares aggregate amount of redemption"
       }
      }
     },
     "localname": "StockholdersEquityNoteFractionalSharesAggregateAmountOfRedemption",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_SubjectToCapitalGainIncentiveFeeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Subject to capital gain incentive fee.",
        "label": "Subject to Capital Gain Incentive Fee [Member]",
        "terseLabel": "Subject to Capital Gain Incentive Fee [Member]"
       }
      }
     },
     "localname": "SubjectToCapitalGainIncentiveFeeMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SubordinatedNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Subordinated Note.",
        "label": "Subordinated Note [Member]",
        "terseLabel": "Subordinated Note"
       }
      }
     },
     "localname": "SubordinatedNoteMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SummaryOfComponentsOfDistributableEarningsLossesOnTaxBasisTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of components of distributable earnings (losses) on tax basis.",
        "label": "Summary of Components of Distributable Earnings (Losses) on Tax Basis [Table Text Block]",
        "terseLabel": "Summary of Components of Distributable Earnings (Losses) on Tax Basis"
       }
      }
     },
     "localname": "SummaryOfComponentsOfDistributableEarningsLossesOnTaxBasisTableTextBlock",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gecc_SummaryOfComponentsOfInterestExpenseTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of components of interest expense.",
        "label": "Summary Of Components Of Interest Expense Table [Text Block]",
        "terseLabel": "Summary of Components of Interest Expense"
       }
      }
     },
     "localname": "SummaryOfComponentsOfInterestExpenseTableTextBlock",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gecc_SummaryOfTaxCharacterOfDistributionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of Tax Character Of Distributions.",
        "label": "Summary of Tax Character Of Distributions [Table Text Block]",
        "terseLabel": "Summary of Tax Character of Distributions"
       }
      }
     },
     "localname": "SummaryOfTaxCharacterOfDistributionsTableTextBlock",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gecc_SummitMidstreamHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summit Midstream Holdings, LLC.",
        "label": "Summit Midstream Holdings L L C [Member]",
        "terseLabel": "Summit Midstream Holdings, LLC 910 Louisiana Street, Suite 4200 Houston, TX 77002"
       }
      }
     },
     "localname": "SummitMidstreamHoldingsLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SummitMidstreamPartnersLpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summit midstream partners LP.",
        "label": "Summit Midstream Partners LP [Member]",
        "terseLabel": "Summit Midtstream Partners LP 910 Louisiana Street, Suite 4200 Houston, TX 77002"
       }
      }
     },
     "localname": "SummitMidstreamPartnersLpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SupernovaPartnersAcquisitionCompanyIIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Supernova Partners Acquisition Company III.",
        "label": "Supernova Partners Acquisition Company I I I [Member]",
        "terseLabel": "Supernova Partners Acquisition Company III, Ltd. 4301 50th Street NW, Suite 300 PMB 1044 Washington, DC 20016"
       }
      }
     },
     "localname": "SupernovaPartnersAcquisitionCompanyIIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_SustainableDevelopmentAcquisitionICorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sustainable Development Acquisition I Corp.",
        "label": "Sustainable Development Acquisition I Corp [Member]",
        "terseLabel": "Sustainable Development Acquisition I Corp. 5701 Truxtun Avenue, Suite 201 Bakersfield, CA 90036"
       }
      }
     },
     "localname": "SustainableDevelopmentAcquisitionICorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TCWSpecialPurposeAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TCW Special Purpose Acquisition Corp.",
        "label": "T C W Special Purpose Acquisition Corp [Member]",
        "terseLabel": "TCW Special Purpose Acquisition Corp. 865 South Figueroa Street Los Angeles, CA 90017"
       }
      }
     },
     "localname": "TCWSpecialPurposeAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TRUTajTrustMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TRU Taj Trust.",
        "label": "T R U Taj Trust [Member]",
        "terseLabel": "TRU Taj Trust 505 Park Avenue, 2nd Floor New York, NY 10022"
       }
      }
     },
     "localname": "TRUTajTrustMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TRUUKAsiaLimitedLiquidatingTrustMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TRU (UK) Asia Limited Liquidating Trust.",
        "label": "T R U U K Asia Limited Liquidating Trust [Member]",
        "terseLabel": "TRU (UK) Asia Limited Liquidating Trust Cannon Place, 78 Cannon Street, London, EC4N 6AF"
       }
      }
     },
     "localname": "TRUUKAsiaLimitedLiquidatingTrustMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TRUUKAsiaLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TRU (UK) Asia Limited.",
        "label": "T R U U K Asia Limited [Member]",
        "terseLabel": "TRU (UK) Asia Limited Cannon Place, 78 Cannon Street, London, EC4N 6AF"
       }
      }
     },
     "localname": "TRUUKAsiaLimitedMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TailwindInternationalAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tailwind International Acquisition Corp.",
        "label": "Tailwind International Acquisition Corp [Member]",
        "terseLabel": "Tailwind International Acquisition Corp. 150 Greenwich Street, 29th Floor New York, NY 10006"
       }
      }
     },
     "localname": "TailwindInternationalAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TargetHospitalityCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Target Hospitality Corp.",
        "label": "Target Hospitality Corp [Member]",
        "terseLabel": "Target Hospitality Corp. 2170 Buckthorne Place, Suite 440 The Woodlands, TX 77380"
       }
      }
     },
     "localname": "TargetHospitalityCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TechAndEnergyTransitionCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tech and Energy Transition Corporation.",
        "label": "Tech And Energy Transition Corporation [Member]",
        "terseLabel": "Tech and Energy Transition Corporation 125 West 55th Street New York, NY 10019"
       }
      }
     },
     "localname": "TechAndEnergyTransitionCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TensarCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tensar Corporation.",
        "label": "Tensar Corporation [Member]",
        "terseLabel": "Tensar Corporation 2500 Northwinds Parkway, Suite 500 Alpharetta, GA 30009"
       }
      }
     },
     "localname": "TensarCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TermLoanBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term Loan B.",
        "label": "Term Loan B [Member]",
        "terseLabel": "Term Loan B"
       }
      }
     },
     "localname": "TermLoanBMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TermLoanCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term Loan C.",
        "label": "Term Loan C [Member]",
        "terseLabel": "Term Loan C"
       }
      }
     },
     "localname": "TermLoanCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TermLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term loan.",
        "label": "Term Loan [Member]",
        "terseLabel": "Term Loan"
       }
      }
     },
     "localname": "TermLoanMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TerranOrbitalCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Terran Orbital Corporation.",
        "label": "Terran Orbital Corporation [Member]",
        "terseLabel": "Terran Orbital Corporation 6800 Broken Sound Pkwy NW, Suite 200 Boca Raton, FL 33487"
       }
      }
     },
     "localname": "TerranOrbitalCorporationMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TheGEOGroupIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The GEO Group, Inc.",
        "label": "The G E O Group Inc [Member]",
        "terseLabel": "The GEO Group, Inc. 4955 Technology Way Boca Raton, FL 33431"
       }
      }
     },
     "localname": "TheGEOGroupIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ThreeMonthLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three Month LIBOR",
        "label": "Three Month L I B O R [Member]",
        "terseLabel": "3 Month LIBOR"
       }
      }
     },
     "localname": "ThreeMonthLIBORMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ThreeMonthSOFRMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three month SOFR [Member].",
        "label": "Three Month S O F R [Member]",
        "terseLabel": "3 Month SOFR"
       }
      }
     },
     "localname": "ThreeMonthSOFRMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TishmanSpeyerInnovationCorpIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tishman Speyer Innovation Corp. II.",
        "label": "Tishman Speyer Innovation Corp I I [Member]",
        "terseLabel": "Tishman Speyer Innovation Corp. II Rockefeller Center 45 Rockefeller Plaza New York\u00a0,\u00a0NY 10111"
       }
      }
     },
     "localname": "TishmanSpeyerInnovationCorpIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TlgAcquisitionOneCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TLG acquisition one corp.",
        "label": "TLG Acquisition One Corp [Member]",
        "terseLabel": "TLG Acquisition One Corp. 515 North Flagler Drive, Suite 520 West Palm Beach, FL 33401"
       }
      }
     },
     "localname": "TlgAcquisitionOneCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TotalShortTermInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total short-term investments.",
        "label": "Total Short Term Investments [Member]",
        "terseLabel": "Short-Term Investments"
       }
      }
     },
     "localname": "TotalShortTermInvestmentsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TransportationEquipmentManufacturingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transportation equipment manufacturing.",
        "label": "Transportation Equipment Manufacturing [Member]",
        "terseLabel": "Transportation Equipment Manufacturing"
       }
      }
     },
     "localname": "TransportationEquipmentManufacturingMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TreasuryBillMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Treasury bill.",
        "label": "Treasury Bill [Member]",
        "terseLabel": "Treasury Bill"
       }
      }
     },
     "localname": "TreasuryBillMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TribeCapitalGrowthCorpIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tribe Capital Growth Corp I.",
        "label": "Tribe Capital Growth Corp I [Member]",
        "terseLabel": "Tribe Capital Growth Corp I 2700 19th Street San Francisco, CA 94110"
       }
      }
     },
     "localname": "TribeCapitalGrowthCorpIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TritiumDCFCLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tritium DCFC Ltd.",
        "label": "Tritium D C F C Ltd [Member]",
        "terseLabel": "Tritium DCFC Ltd 23 Archimedes Place Murarrie, QLD Australia"
       }
      }
     },
     "localname": "TritiumDCFCLtdMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TwelvePointEightEightPercentageFirstLienSecuredNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Twelve Point Eight Eight Percentage First Lien Secured Note [Member]",
        "label": "Twelve Point Eight Eight Percentage First Lien Secured Note [Member]",
        "terseLabel": "12.88% 1st Lien Secured Note"
       }
      }
     },
     "localname": "TwelvePointEightEightPercentageFirstLienSecuredNoteMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_TwoThousandTwentyNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two Thousand Twenty Notes.",
        "label": "Two Thousand Twenty Notes [Member]",
        "terseLabel": "2020 Notes"
       }
      }
     },
     "localname": "TwoThousandTwentyNotesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_USHGAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "USHG Acquisition Corp.",
        "label": "U S H G Acquisition Corp [Member]",
        "terseLabel": "USHG Acquisition Corp. 853 Broadway, 17th Floor New York, NY 10003"
       }
      }
     },
     "localname": "USHGAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_UndistributedAccumulatedEarningsLossesNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfComponentsOfDistributableEarningsLossesOnATaxBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Undistributed accumulated earnings (losses), net",
        "label": "Undistributed accumulated earnings (losses), net",
        "terseLabel": "Total accumulated earnings (losses), net",
        "totalLabel": "Undistributed accumulated earnings (losses), net, Total"
       }
      }
     },
     "localname": "UndistributedAccumulatedEarningsLossesNet",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfComponentsOfDistributableEarningsLossesOnATaxBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_UnitedInsureanceHoldingCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "United Insureance Holding Corp. [Member]",
        "label": "United Insureance Holding Corp. [Member]",
        "terseLabel": "United Insurance Holdings Corp. 800 2nd Avenue S. Saint Petersburg, FL 33701"
       }
      }
     },
     "localname": "UnitedInsureanceHoldingCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_UnitedStatesTreasuryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "United states treasury.",
        "label": "United States Treasury [Member]",
        "terseLabel": "United States Treasury"
       }
      }
     },
     "localname": "UnitedStatesTreasuryMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_UniversalFiberSystemsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Universal fiber systems.",
        "label": "Universal Fiber Systems [Member]",
        "terseLabel": "Universal Fiber Systems 640 State Street Bristol, TN 37620"
       }
      }
     },
     "localname": "UniversalFiberSystemsMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_UnrealizedEarningsLossesNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfComponentsOfDistributableEarningsLossesOnATaxBasisDetails": {
       "order": 0.0,
       "parentTag": "gecc_UndistributedAccumulatedEarningsLossesNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrealized earnings (losses), net",
        "label": "Unrealized earnings (losses), net"
       }
      }
     },
     "localname": "UnrealizedEarningsLossesNet",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfComponentsOfDistributableEarningsLossesOnATaxBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gecc_UnsecuredBondMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unsecured bond.",
        "label": "Unsecured Bond [Member]",
        "terseLabel": "Unsecured Bond"
       }
      }
     },
     "localname": "UnsecuredBondMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_UnsecuredNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unsecured note.",
        "label": "Unsecured Note [Member]",
        "terseLabel": "Unsecured Note"
       }
      }
     },
     "localname": "UnsecuredNoteMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_VPCImpactAcquisitionHoldingsIIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "VPC Impact Acquisition Holdings III.",
        "label": "V P C Impact Acquisition Holdings I I I [Member]",
        "terseLabel": "VPC Impact Acquisition Holdings III 150 North Riverside Plaza, Suite 5200 Chicago, IL 60606"
       }
      }
     },
     "localname": "VPCImpactAcquisitionHoldingsIIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_VPCImpactAcquisitionHoldingsIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "VPC Impact Acquisition Holdings II.",
        "label": "V P C Impact Acquisition Holdings I I [Member]",
        "terseLabel": "VPC Impact Acquisition Holdings II 150 North Riverside Plaza, Suite 5200 Chicago, IL 60606"
       }
      }
     },
     "localname": "VPCImpactAcquisitionHoldingsIIMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ValuationOfPortfolioInvestmentsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation of portfolio investments.",
        "label": "Valuation Of Portfolio Investments Policy [Text Block]",
        "terseLabel": "Valuation of Portfolio Investments"
       }
      }
     },
     "localname": "ValuationOfPortfolioInvestmentsPolicyTextBlock",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gecc_VantageSpecialtyChemicalsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vantage Specialty Chemicals, Inc.",
        "label": "Vantage Specialty Chemicals Inc [Member]",
        "terseLabel": "Vantage Specialty Chemicals, Inc. 1751 Lake Cook Rd., Suite 550 Deerfield, IL 60015"
       }
      }
     },
     "localname": "VantageSpecialtyChemicalsIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_VectorGroupLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vector group Ltd [Member].",
        "label": "Vector Group Ltd [Member]",
        "terseLabel": "Vector Group Ltd. 4400 Biscayne Blvd Miami, FL 33137"
       }
      }
     },
     "localname": "VectorGroupLtdMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_VelocityAcquisitionCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Velocity Acquisition Corp.",
        "label": "Velocity Acquisition Corp [Member]",
        "terseLabel": "Velocity Acquisition Corp"
       }
      }
     },
     "localname": "VelocityAcquisitionCorpMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_ViasatIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Viasat, Inc.",
        "label": "Viasat Inc [Member]",
        "terseLabel": "Viasat, Inc. 6155 El Camino Real Carlsbad, CA 92009"
       }
      }
     },
     "localname": "ViasatIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_WTOffshoreIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "W&amp;T Offshore, Inc.",
        "label": "W T Offshore Inc [Member]",
        "terseLabel": "W&amp;T Offshore, Inc. 5718 Westheimer Road, Suite 700 Houston, TX 77057"
       }
      }
     },
     "localname": "WTOffshoreIncMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_WarburgPincusCapitalCorpIAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warburg Pincus Capital Corp I-A.",
        "label": "Warburg Pincus Capital Corp I A [Member]",
        "terseLabel": "Warburg Pincus Capital Corp I-A 450 Lexington Avenue New York, NY 10017"
       }
      }
     },
     "localname": "WarburgPincusCapitalCorpIAMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_WarburgPincusCapitalCorpIBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warburg Pincus Capital Corp I-B.",
        "label": "Warburg Pincus Capital Corp I B [Member]",
        "terseLabel": "Warburg Pincus Capital Corp I-B 450 Lexington Avenue New York, NY 10017"
       }
      }
     },
     "localname": "WarburgPincusCapitalCorpIBMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_WirelessTelecommunicationsServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wireless Telecommunications Services.",
        "label": "Wireless Telecommunications Services [Member]",
        "terseLabel": "Wireless Telecommunications Services"
       }
      }
     },
     "localname": "WirelessTelecommunicationsServicesMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "gecc_WyndenStarkLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wynden Stark LLC.",
        "label": "Wynden Stark L L C [Member]",
        "terseLabel": "Wynden Stark LLC 295 Madison Ave, 12th Floor New York, NY 10017"
       }
      }
     },
     "localname": "WyndenStarkLLCMember",
     "nsuri": "http://www.greatelmcc.com/20221231",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_EuropeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Europe [Member]",
        "terseLabel": "Europe"
       }
      }
     },
     "localname": "EuropeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r228",
      "r229",
      "r230",
      "r231",
      "r296",
      "r381",
      "r400",
      "r438",
      "r439",
      "r464",
      "r471",
      "r477",
      "r608",
      "r622",
      "r623",
      "r624",
      "r625",
      "r626",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r228",
      "r229",
      "r230",
      "r231",
      "r296",
      "r381",
      "r400",
      "r438",
      "r439",
      "r464",
      "r471",
      "r477",
      "r608",
      "r622",
      "r623",
      "r624",
      "r625",
      "r626",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum",
        "verboseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r228",
      "r229",
      "r230",
      "r231",
      "r288",
      "r296",
      "r298",
      "r299",
      "r300",
      "r357",
      "r381",
      "r400",
      "r438",
      "r439",
      "r464",
      "r471",
      "r477",
      "r601",
      "r608",
      "r623",
      "r624",
      "r625",
      "r626",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Range [Axis]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r228",
      "r229",
      "r230",
      "r231",
      "r288",
      "r296",
      "r298",
      "r299",
      "r300",
      "r357",
      "r381",
      "r400",
      "r438",
      "r439",
      "r464",
      "r471",
      "r477",
      "r601",
      "r608",
      "r623",
      "r624",
      "r625",
      "r626",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Range [Member]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioForecastMember": {
     "auth_ref": [
      "r297",
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast [Member]",
        "terseLabel": "Scenario Forecast"
       }
      }
     },
     "localname": "ScenarioForecastMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r190",
      "r297",
      "r578",
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [
      "r212",
      "r213",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r465",
      "r476",
      "r610"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Geographical [Domain]",
        "terseLabel": "Geographical"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r212",
      "r213",
      "r427",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r465",
      "r476",
      "r610"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Geographical [Axis]",
        "terseLabel": "Geographical"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r190",
      "r297",
      "r578",
      "r579",
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_WeightedAverageMember": {
     "auth_ref": [
      "r438",
      "r439",
      "r622",
      "r624",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted Average"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndOtherAccruedLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 7.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities incurred and payable to vendors for goods and services received, and accrued liabilities classified as other.",
        "label": "Accounts Payable And Other Accrued Liabilities",
        "terseLabel": "Accrued expenses and other liabilities"
       }
      }
     },
     "localname": "AccountsPayableAndOtherAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "auth_ref": [
      "r36"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Accretion Amortization Of Discounts And Premiums Investments",
        "negatedLabel": "Amortization of premium and accretion of discount, net"
       }
      }
     },
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r17",
      "r18",
      "r19",
      "r162",
      "r397",
      "r401",
      "r402"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income Loss Net Of Tax",
        "terseLabel": "Accumulated losses",
        "totalLabel": "Accumulated Other Comprehensive Income (Loss), Net of Tax, Total"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "auth_ref": [
      "r8"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.",
        "label": "Additional Paid in Capital, Common Stock",
        "terseLabel": "Additional paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments To Reconcile Net Income Loss To Cash Provided By Used In Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net increase (decrease) in net assets resulting from operations to net cash provided by (used for) operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdministrativeFeesExpense": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for administrative services provided to the limited liability company (LLC) or limited partnership (LP) by the managing member or general partner, affiliate of managing member or general partner, or affiliate of LLC or LP, for example, but not limited to, salaries, rent, or overhead costs.",
        "label": "Administrative Fees Expense",
        "terseLabel": "Administration fees"
       }
      }
     },
     "localname": "AdministrativeFeesExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AlternativeInvestmentMeasurementInput": {
     "auth_ref": [
      "r332"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure alternative investment.",
        "label": "Alternative Investment Measurement Input",
        "terseLabel": "Range (Weighted Average)"
       }
      }
     },
     "localname": "AlternativeInvestmentMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_AmortizationOfDebtDiscountPremium": {
     "auth_ref": [
      "r25",
      "r35",
      "r89",
      "r263"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Amortization Of Debt Discount Premium",
        "terseLabel": "Amortization of discount (premium) on long term debt"
       }
      }
     },
     "localname": "AmortizationOfDebtDiscountPremium",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r95",
      "r111",
      "r158",
      "r176",
      "r206",
      "r208",
      "r210",
      "r217",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r319",
      "r323",
      "r336",
      "r475",
      "r606",
      "r607",
      "r620"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNet": {
     "auth_ref": [
      "r0",
      "r127",
      "r141",
      "r145",
      "r146"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net assets (liabilities).",
        "label": "Assets Net",
        "periodEndLabel": "Net assets at end of period",
        "periodStartLabel": "Net assets at beginning of period",
        "terseLabel": "Net assets, end of period",
        "totalLabel": "NET ASSETS"
       }
      }
     },
     "localname": "AssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets Net [Abstract]"
       }
      }
     },
     "localname": "AssetsNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_BaseRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum rate investor will accept.",
        "label": "Base Rate [Member]",
        "terseLabel": "Base Rate"
       }
      }
     },
     "localname": "BaseRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis Of Accounting Policy Policy [Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r317",
      "r469",
      "r470"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r72",
      "r73",
      "r317",
      "r469",
      "r470"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionDateOfAcquisitionAgreement1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date when the business acquisition agreement was executed, in YYYY-MM-DD format.",
        "label": "Merger agreement and plan date"
       }
      }
     },
     "localname": "BusinessAcquisitionDateOfAcquisitionAgreement1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_BusinessAcquisitionDescriptionOfAcquiredEntity": {
     "auth_ref": [
      "r71"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "With respect to a business combination completed during the period, this element provides a description of the business, other than the name, which may include the industry, size, products and other important information.",
        "label": "Business merger, description"
       }
      }
     },
     "localname": "BusinessAcquisitionDescriptionOfAcquiredEntity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued": {
     "auth_ref": [
      "r74"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of equity interests issued or issuable to acquire entity.",
        "label": "Merger consideration, shares"
       }
      }
     },
     "localname": "BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CapitalLossCarryforwardMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deductions derived from capital losses that cannot be utilized on the tax return during a period that have been carried forward to reduce taxable income or taxes payable in a future year.",
        "label": "Capital Loss Carryforward [Member]",
        "terseLabel": "Capital Loss Carryforwards"
       }
      }
     },
     "localname": "CapitalLossCarryforwardMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r37",
      "r157",
      "r446"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParenthetical": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash And Cash Equivalents At Carrying Value",
        "terseLabel": "Cash and cash equivalents",
        "totalLabel": "Cash and Cash Equivalents, at Carrying Value, Total"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r38"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash And Cash Equivalents Policy [Text Block]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "auth_ref": [
      "r32",
      "r37",
      "r41"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParenthetical": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including, but not limited to, disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Including Disposal Group And Discontinued Operations",
        "periodEndLabel": "Cash and cash equivalents and restricted cash, end of period",
        "periodStartLabel": "Cash and cash equivalents and restricted cash, beginning of period",
        "totalLabel": "Total cash and cash equivalents and restricted cash shown on the Consolidated Statements of Cash Flows"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r32",
      "r88"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Period Increase Decrease Excluding Exchange Rate Effect",
        "totalLabel": "Net increase (decrease) in cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]",
        "terseLabel": "Supplemental disclosure of non-cash financing activities:"
       }
      }
     },
     "localname": "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ChemicalsSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Chemicals Sector [Member]",
        "terseLabel": "Chemicals"
       }
      }
     },
     "localname": "ChemicalsSectorMember",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r159",
      "r160",
      "r161",
      "r176",
      "r193",
      "r194",
      "r195",
      "r197",
      "r200",
      "r201",
      "r217",
      "r232",
      "r234",
      "r235",
      "r236",
      "r239",
      "r240",
      "r272",
      "r273",
      "r275",
      "r279",
      "r286",
      "r336",
      "r440",
      "r577",
      "r585",
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class Of Stock [Domain]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r16",
      "r102",
      "r115"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments And Contingencies",
        "terseLabel": "Commitments and contingencies (Note 7)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments And Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r51",
      "r226",
      "r227",
      "r428",
      "r605"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments And Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r589",
      "r590",
      "r616"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock",
        "verboseLabel": "Common Equity"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r7"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock Par Or Stated Value Per Share",
        "terseLabel": "Common stock, par value"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r7"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock Shares Authorized",
        "terseLabel": "Common stock, shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r7"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Common Stock Shares Issued",
        "terseLabel": "Common stock, shares issued",
        "verboseLabel": "Shares of common stock sold"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r7",
      "r54"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock Shares Outstanding",
        "periodEndLabel": "Shares outstanding at the end of the period",
        "periodStartLabel": "Shares outstanding at the beginning of the period",
        "terseLabel": "Common stock, shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r7",
      "r475"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Common Stock Value",
        "terseLabel": "Common stock, par value $0.01 per share (100,000,000 shares authorized, 7,601,958 shares issued and outstanding and 4,484,278 shares issued and outstanding, respectively)",
        "verboseLabel": "Common stock, value"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r75",
      "r447"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation Policy [Text Block]",
        "terseLabel": "Basis of Consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CorporateBondSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This category includes information about long-term debt securities that are issued by either a domestic or foreign corporate business entity with a date certain promise of repayment and a return to the holder for the time value of money (for example, variable or fixed interest, original issue discount).",
        "label": "Corporate Bond Securities [Member]",
        "terseLabel": "Corporate Bond"
       }
      }
     },
     "localname": "CorporateBondSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditFacilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Axis]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "CreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditFacilityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Domain]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "CreditFacilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CustodyFees": {
     "auth_ref": [
      "r21"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Those fees charged for services related to holding, advising, and managing customer investment assets. These account fees usually charged annually or semi-annually, on a per security basis, for the costs of services.",
        "label": "Custody Fees",
        "terseLabel": "Custody fees"
       }
      }
     },
     "localname": "CustodyFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r53",
      "r174",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r252",
      "r257",
      "r264",
      "r265",
      "r267"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Debt"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebt1"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r2",
      "r3",
      "r4",
      "r96",
      "r98",
      "r109",
      "r178",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r247",
      "r253",
      "r254",
      "r255",
      "r256",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r339",
      "r459",
      "r460",
      "r461",
      "r462",
      "r463",
      "r586"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r4",
      "r98",
      "r109",
      "r268"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Debt Instrument Carrying Amount",
        "terseLabel": "Commitments"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r90",
      "r91",
      "r241",
      "r339",
      "r460",
      "r461"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Debt Instrument, aggregate principal amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "auth_ref": [
      "r14",
      "r90",
      "r270",
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.",
        "label": "Debt Instrument Interest Rate Effective Percentage",
        "terseLabel": "Debt instrument, interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r15",
      "r178",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r247",
      "r253",
      "r254",
      "r255",
      "r256",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r339",
      "r459",
      "r460",
      "r461",
      "r462",
      "r463",
      "r586"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument Name [Domain]",
        "terseLabel": "Debt Instrument, Name"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of principal amount of debt redeemed.",
        "label": "Debt Instrument, Redemption Price, Percentage of Principal Amount Redeemed",
        "terseLabel": "Percentage of principal amount redeemed"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r15",
      "r55",
      "r56",
      "r57",
      "r58",
      "r89",
      "r90",
      "r91",
      "r108",
      "r178",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r247",
      "r253",
      "r254",
      "r255",
      "r256",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r266",
      "r339",
      "r459",
      "r460",
      "r461",
      "r462",
      "r463",
      "r586"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Debt Instrument [Table]",
        "terseLabel": "Debt Instrument [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r89",
      "r91",
      "r609"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "terseLabel": "Unamortized discount",
        "totalLabel": "Debt Instrument, Unamortized Discount, Total"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual obligation to pay money on demand or on fixed or determinable dates.",
        "label": "Debt [Member]",
        "terseLabel": "Debt"
       }
      }
     },
     "localname": "DebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DeferredCostsCurrentAndNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of deferred costs.",
        "label": "Deferred Costs",
        "terseLabel": "Deferred financing costs",
        "totalLabel": "Deferred Costs, Total"
       }
      }
     },
     "localname": "DeferredCostsCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsCapitalLossCarryforwards": {
     "auth_ref": [
      "r69",
      "r614"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible capital loss carryforwards.",
        "label": "Deferred Tax Assets Capital Loss Carryforwards",
        "terseLabel": "Deferred tax assets, capital loss carryforwards"
       }
      }
     },
     "localname": "DeferredTaxAssetsCapitalLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendIncomeOperating": {
     "auth_ref": [
      "r106"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating dividend income on securities.",
        "label": "Dividend Income Operating",
        "terseLabel": "Total dividend income",
        "totalLabel": "Dividend Income, Operating, Total",
        "verboseLabel": "Dividend Income"
       }
      }
     },
     "localname": "DividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "auth_ref": [
      "r40"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the declared dividend will be paid, in YYYY-MM-DD format.",
        "label": "Dividends Payable, Date to be Paid",
        "terseLabel": "Distributions date"
       }
      }
     },
     "localname": "DividendPayableDateToBePaidDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DividendsPayableAmountPerShare": {
     "auth_ref": [
      "r40"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The per share amount of a dividend declared, but not paid, as of the financial reporting date.",
        "label": "Dividends Payable, Amount Per Share",
        "terseLabel": "Distributions per share"
       }
      }
     },
     "localname": "DividendsPayableAmountPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DividendsPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r3",
      "r5",
      "r97",
      "r112"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding.",
        "label": "Dividends Payable",
        "terseLabel": "Distributions declared, not yet paid"
       }
      }
     },
     "localname": "DividendsPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsReceivable": {
     "auth_ref": [
      "r581"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of dividends declared but not received.",
        "label": "Dividends Receivable",
        "terseLabel": "Dividends receivable"
       }
      }
     },
     "localname": "DividendsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DomesticCountryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of the government that is entitled to levy and collect income taxes from the entity in its country of domicile.",
        "label": "Domestic Country [Member]",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "DomesticCountryMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DueFromAffiliates": {
     "auth_ref": [
      "r92",
      "r118",
      "r344"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, amount of receivables due from an entity that is affiliated with the reporting entity by means of direct or indirect ownership.",
        "label": "Due From Affiliates",
        "terseLabel": "Due from affiliates"
       }
      }
     },
     "localname": "DueFromAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToAffiliateCurrentAndNoncurrent": {
     "auth_ref": [
      "r92",
      "r100",
      "r117",
      "r140",
      "r347"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payable due to an entity that is affiliated with the reporting entity by means of direct or indirect ownership.",
        "label": "Due To Affiliate Current And Noncurrent",
        "terseLabel": "Due to affiliates"
       }
      }
     },
     "localname": "DueToAffiliateCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarliestTaxYearMember": {
     "auth_ref": [
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earliest identified tax year.",
        "label": "Earliest Tax Year [Member]",
        "terseLabel": "Earliest Tax Year"
       }
      }
     },
     "localname": "EarliestTaxYearMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r167",
      "r183",
      "r184",
      "r185",
      "r186",
      "r187",
      "r191",
      "r193",
      "r195",
      "r196",
      "r197",
      "r198",
      "r327",
      "r328",
      "r395",
      "r399",
      "r450"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Earnings per share, basic",
        "totalLabel": "Earnings Per Share, Basic, Total"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r167",
      "r183",
      "r184",
      "r185",
      "r186",
      "r187",
      "r193",
      "r195",
      "r196",
      "r197",
      "r198",
      "r327",
      "r328",
      "r395",
      "r399",
      "r450"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Earnings per share,diluted",
        "totalLabel": "Earnings Per Share, Diluted, Total"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EnergySectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Energy Sector [Member]",
        "terseLabel": "Energy Services"
       }
      }
     },
     "localname": "EnergySectorMember",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityFundsMember": {
     "auth_ref": [
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An investment that pools funds from many investors to invest in a combination of underlying investments, primarily equity investments.",
        "label": "Equity Funds [Member]",
        "terseLabel": "Equity/Other"
       }
      }
     },
     "localname": "EquityFundsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMember": {
     "auth_ref": [
      "r78"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading in a derivative instrument whose primary underlying risk is tied to share prices.",
        "label": "Equity [Member]",
        "terseLabel": "Equity"
       }
      }
     },
     "localname": "EquityMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquitySecuritiesByIndustryAxis": {
     "auth_ref": [
      "r455"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by industry sector, examples include but are not limited to, commercial, industrial, agricultural, financial services, technology, healthcare and real estate.",
        "label": "Equity Securities By Industry [Axis]",
        "terseLabel": "Industry Sector"
       }
      }
     },
     "localname": "EquitySecuritiesByIndustryAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquitySecuritiesIndustryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Industry sector consisting of government, private and corporate entities engaged in business activities, including but not limited to, commercial, industrial, agricultural, financial services, technology, healthcare and real estate.",
        "label": "Equity Securities Industry [Member]",
        "terseLabel": "Industry Sector"
       }
      }
     },
     "localname": "EquitySecuritiesIndustryMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquitySecuritiesMember": {
     "auth_ref": [
      "r50",
      "r110",
      "r479",
      "r480",
      "r481"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ownership interest or right to acquire or dispose of ownership interest in corporations and other legal entities for which ownership interest is represented by shares of common or preferred stock, convertible securities, stock rights, or stock warrants.",
        "label": "Equity Securities [Member]",
        "terseLabel": "Equity"
       }
      }
     },
     "localname": "EquitySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExciseAndSalesTaxes": {
     "auth_ref": [
      "r166"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of excise and sales taxes included in sales and revenues, which are then deducted as a cost of sales. Includes excise taxes, which are applied to specific types of transactions or items (such as gasoline or alcohol); and sales, use and value added taxes, which are applied to a broad class of revenue-producing transactions involving a wide range of goods and services.",
        "label": "Excise And Sales Taxes",
        "terseLabel": "Accrued excise tax expense"
       }
      }
     },
     "localname": "ExciseAndSalesTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisValuationTechniquesTextBlock": {
     "auth_ref": [
      "r83"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique used to measure similar asset in prior period by class of asset or liability on non-recurring basis.",
        "label": "Fair Value Assets Measured On Nonrecurring Basis Valuation Techniques [Text Block]",
        "terseLabel": "Ranges of Significant Unobservable Inputs to Value Level 3 Assets"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisValuationTechniquesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock": {
     "auth_ref": [
      "r81",
      "r82"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, by class that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Fair Value Assets Measured On Recurring Basis [Text Block]",
        "terseLabel": "Summary of Investment Assets Categorized within Fair Value Hierarchy"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r84"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]",
        "terseLabel": "Asset Class"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r84",
      "r86"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of assets using significant unobservable inputs (level 3). Such reconciliation, separately presenting changes during the period, at a minimum, may include, but is not limited to: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income, and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation [Table]",
        "terseLabel": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r84",
      "r86"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation [Text Block]",
        "terseLabel": "Summary of Reconciliation of Level 3 Assets"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r81",
      "r86"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Fair Value By Asset Class [Axis]",
        "terseLabel": "Asset Class"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r255",
      "r289",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r330",
      "r354",
      "r355",
      "r356",
      "r460",
      "r461",
      "r466",
      "r467",
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value By Fair Value Hierarchy Level [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r335"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurement"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r255",
      "r289",
      "r294",
      "r330",
      "r354",
      "r466",
      "r467",
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value Inputs Level1 [Member]",
        "terseLabel": "Level 1"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r255",
      "r289",
      "r294",
      "r330",
      "r355",
      "r460",
      "r461",
      "r466",
      "r467",
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value Inputs Level2 [Member]",
        "terseLabel": "Level 2"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r255",
      "r289",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r330",
      "r356",
      "r460",
      "r461",
      "r466",
      "r467",
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Inputs Level3 [Member]",
        "terseLabel": "Level 3"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1": {
     "auth_ref": [
      "r333"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings",
        "negatedLabel": "Net Realized Gain (Loss)",
        "terseLabel": "Net Realized Gain (Loss)"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "auth_ref": [
      "r85"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Purchases",
        "terseLabel": "Purchases"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlements": {
     "auth_ref": [
      "r85"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases, (sales), issuances and (settlements) of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Purchases Sales Issuances Settlements",
        "terseLabel": "Sales and Settlements",
        "totalLabel": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases, (Sales), Issuances, (Settlements), Total"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfer of financial instrument classified as an asset into (out of) level 3 of the fair value hierarchy.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Transfers Net",
        "terseLabel": "Net Transfers In/Out",
        "totalLabel": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net, Total",
        "verboseLabel": "Fair value transferred, increased pricing transparency"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3": {
     "auth_ref": [
      "r334"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of financial instrument classified as an asset out of level 3 of the fair value hierarchy.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers out of Level 3",
        "terseLabel": "Aggregate fair value transferred from Level 3 to Level 2"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r84"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Value",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r255",
      "r289",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r354",
      "r355",
      "r356",
      "r460",
      "r461",
      "r466",
      "r467",
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Measurements Fair Value Hierarchy [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleList": {
     "auth_ref": [
      "r333"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement in which net income is reported that includes gain (loss) from asset measured at fair value using unobservable input (level 3).",
        "label": "Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]"
       }
      }
     },
     "localname": "FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_FederalIncomeTaxNoteTextBlock": {
     "auth_ref": [
      "r630"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the federal tax basis of investment holdings. This item captures the aggregate cost of securities, aggregate gross unrealized appreciation for all securities in which there is an excess of value over tax cost, aggregate gross unrealized depreciation for all securities in which there is an excess of tax cost over value, net unrealized appreciation (depreciation), and an explanation of the differences between tax and book.",
        "label": "Federal Income Tax Note [Table Text Block]",
        "terseLabel": "Schedule of Aggregate Unrealized Appreciation and Depreciation on Investment for U.S. Federal Income Tax Purpose"
       }
      }
     },
     "localname": "FederalIncomeTaxNoteTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r215",
      "r216",
      "r218",
      "r219",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r225",
      "r266",
      "r284",
      "r325",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r458",
      "r597",
      "r598",
      "r599",
      "r631",
      "r632",
      "r633",
      "r634",
      "r635",
      "r636",
      "r637"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "auth_ref": [
      "r46",
      "r47",
      "r214",
      "r220",
      "r221",
      "r222",
      "r442",
      "r443",
      "r444",
      "r445",
      "r453",
      "r454",
      "r456",
      "r457",
      "r631",
      "r632",
      "r633",
      "r634",
      "r635",
      "r636",
      "r637",
      "r638",
      "r639",
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of financing receivable determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Financing Receivable Recorded Investment By Class Of Financing Receivable [Axis]",
        "terseLabel": "Class of Financing Receivable"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "auth_ref": [
      "r442",
      "r443",
      "r444",
      "r445",
      "r631",
      "r632",
      "r633",
      "r634",
      "r635",
      "r636",
      "r637",
      "r638",
      "r639",
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Financing Receivable Recorded Investment Class Of Financing Receivable [Domain]",
        "terseLabel": "Class of Financing Receivable"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "auth_ref": [
      "r338"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy.",
        "label": "Foreign Currency Transactions And Translations Policy [Text Block]",
        "terseLabel": "Foreign Currency Transaction"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GainLossOnInvestments": {
     "auth_ref": [
      "r24",
      "r49",
      "r576"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized and unrealized gain (loss) on investment.",
        "label": "Gain Loss On Investments",
        "terseLabel": "Net realized and unrealized gains (losses)",
        "totalLabel": "Net realized and unrealized gains (losses)"
       }
      }
     },
     "localname": "GainLossOnInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HealthCareMember": {
     "auth_ref": [
      "r611"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Service provided for prevention, maintenance, diagnosis or treatment of physical and mental health.",
        "label": "Health Care [Member]",
        "terseLabel": "Healthcare"
       }
      }
     },
     "localname": "HealthCareMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncentiveFeeExpense": {
     "auth_ref": [
      "r93"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for incentive rights held by the managing member or general partner, of limited liability company (LLC) or limited partnership (LP).",
        "label": "Incentive Fee Expense",
        "terseLabel": "Incentive fees"
       }
      }
     },
     "localname": "IncentiveFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeApproachValuationTechniqueMember": {
     "auth_ref": [
      "r83"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach converting future amounts to single current discounted amount.",
        "label": "Income Approach Valuation Technique [Member]",
        "terseLabel": "Income Approach"
       }
      }
     },
     "localname": "IncomeApproachValuationTechniqueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "auth_ref": [
      "r63"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax jurisdiction.",
        "label": "Income Tax Authority [Axis]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "localname": "IncomeTaxAuthorityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
        "label": "Income Tax Authority [Domain]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "localname": "IncomeTaxAuthorityDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxContingencyLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Income Tax Contingency [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxContingencyLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxContingencyTable": {
     "auth_ref": [
      "r64",
      "r65",
      "r66",
      "r70"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about tax positions taken in the tax returns filed or to be filed for which it is more likely than not that the tax position will not be sustained upon examination by taxing authorities and other income tax contingencies. Includes, but is not limited to, interest and penalties, reconciliation of unrecognized tax benefits, unrecognized tax benefits that would affect the effective tax rate, tax years that remain subject to examination by tax jurisdictions, and information about positions for which it is reasonably possible that amounts unrecognized will significantly change within 12 months.",
        "label": "Income Tax Contingency [Table]"
       }
      }
     },
     "localname": "IncomeTaxContingencyTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r177",
      "r304",
      "r307",
      "r310",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Tax Information"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformation1"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r165",
      "r302",
      "r303",
      "r307",
      "r308",
      "r309",
      "r311"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax Policy [Text Block]",
        "terseLabel": "U.S. Federal Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r39"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid, Net",
        "terseLabel": "Cash paid for excise tax",
        "totalLabel": "Income Taxes Paid, Net, Total"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseDueFromAffiliates": {
     "auth_ref": [
      "r34"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in receivables to be collected from an entity that is controlling, under the control of, or within the same control group as the reporting entity by means of direct or indirect ownership.",
        "label": "Increase Decrease Due From Affiliates",
        "negatedLabel": "(Increase) decrease in due from affiliates"
       }
      }
     },
     "localname": "IncreaseDecreaseDueFromAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet": {
     "auth_ref": [
      "r34"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount due from borrowers for interest payments.",
        "label": "Increase (Decrease) in Accrued Interest Receivable, Net",
        "negatedLabel": "(Increase) decrease in interest receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedInterestReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities": {
     "auth_ref": [
      "r583"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in accrued expenses, and obligations classified as other.",
        "label": "Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities",
        "terseLabel": "Increase (decrease) in accrued expenses and other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDividendsReceivable": {
     "auth_ref": [
      "r34"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in cash disbursements due from investments, representing the shareholders' portion of profits.",
        "label": "Increase Decrease In Dividends Receivable",
        "negatedLabel": "(Increase) decrease in dividends receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInDividendsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDueToAffiliates": {
     "auth_ref": [
      "r34"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in obligations owed to an entity that is controlling, under the control of, or within the same control group as the reporting entity by means of direct or indirect ownership.",
        "label": "Increase Decrease In Due To Affiliates",
        "terseLabel": "Increase (decrease) in due to affiliates"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueToAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInIncentiveFeePayable": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Incentive Fee Payable",
        "terseLabel": "Future incentive fees eliminated amount"
       }
      }
     },
     "localname": "IncreaseDecreaseInIncentiveFeePayable",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInterestPayableNet": {
     "auth_ref": [
      "r34"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in interest payable, which represents the amount owed to note holders, bond holders, and other parties for interest earned on loans or credit extended to the reporting entity.",
        "label": "Increase Decrease In Interest Payable Net",
        "terseLabel": "Increase (decrease) in interest payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInInterestPayableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease In Operating Capital [Abstract]",
        "terseLabel": "Increase (decrease) in operating assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "auth_ref": [
      "r34"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
        "label": "Increase Decrease In Prepaid Deferred Expense And Other Assets",
        "negatedLabel": "(Increase) decrease in prepaid expenses and other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r104"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein.",
        "label": "Interest and Dividend Income, Operating",
        "totalLabel": "Total investment income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndFeeIncomeLoansAndLeases": {
     "auth_ref": [
      "r103"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases.",
        "label": "Interest and Fee Income, Loans and Leases",
        "terseLabel": "Fee Income",
        "totalLabel": "Interest and Fee Income, Loans and Leases, Total"
       }
      }
     },
     "localname": "InterestAndFeeIncomeLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDebt": {
     "auth_ref": [
      "r25",
      "r261",
      "r271",
      "r462",
      "r463"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 7.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt.",
        "label": "Interest Expense Debt",
        "terseLabel": "Interest expense",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "InterestExpenseDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDebtExcludingAmortization": {
     "auth_ref": [
      "r26",
      "r262",
      "r462",
      "r463"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestExpenseDebt",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Interest Expense Debt Excluding Amortization",
        "terseLabel": "Borrowing interest expense"
       }
      }
     },
     "localname": "InterestExpenseDebtExcludingAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeOperating": {
     "auth_ref": [
      "r20"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including, but not limited to, amortization and accretion of premiums and discounts on securities.",
        "label": "Interest Income Operating",
        "terseLabel": "Total interest income",
        "totalLabel": "Interest Income, Operating, Total",
        "verboseLabel": "Interest Income"
       }
      }
     },
     "localname": "InterestIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r168",
      "r171",
      "r172"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid Net",
        "terseLabel": "Cash paid for interest"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r101",
      "r116"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables.",
        "label": "Interest Payable Current And Noncurrent",
        "terseLabel": "Interest payable"
       }
      }
     },
     "localname": "InterestPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateFloorMember": {
     "auth_ref": [
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contracts in which the floor writer, in return for a premium, agrees to limit the risk associated with a decline in interest rates based on a notional amount. If rates fall below an agreed rate, the floor holder will receive cash payments from the floor writer equal to the difference between the market rate and an agreed rate multiplied by the notional principal amount.",
        "label": "Interest Rate Floor [Member]",
        "terseLabel": "Floor Rate"
       }
      }
     },
     "localname": "InterestRateFloorMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r581"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable.",
        "label": "Interest Receivable",
        "terseLabel": "Interest receivable"
       }
      }
     },
     "localname": "InterestReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentAcquisitionDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Acquisition Date",
        "terseLabel": "Initial Acquisition Date"
       }
      }
     },
     "localname": "InvestmentAcquisitionDate",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_InvestmentCompanyCapitalShareTransactionsStockIssuedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Capital Share Transactions, Stock Issued [Abstract]",
        "terseLabel": "Capital transactions:"
       }
      }
     },
     "localname": "InvestmentCompanyCapitalShareTransactionsStockIssuedAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyDistributableEarnings": {
     "auth_ref": [
      "r121",
      "r122"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfTaxCharacterOfDistributionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed tax basis earnings (deficit).",
        "label": "Investment Company, Distributable Earnings",
        "terseLabel": "Total taxable distributions",
        "totalLabel": "Total taxable distributions"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarnings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfTaxCharacterOfDistributionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation": {
     "auth_ref": [
      "r121",
      "r122"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfTaxCharacterOfDistributionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyDistributableEarnings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed earnings (deficit) from unrealized appreciation (depreciation) of investment company.",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Appreciation (Depreciation)",
        "terseLabel": "Return of capital"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfTaxCharacterOfDistributionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss": {
     "auth_ref": [
      "r121",
      "r122"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfTaxCharacterOfDistributionsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyDistributableEarnings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed earnings (deficit) from long-term capital gain (loss) of investment company.",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Long-Term Capital Gain (Loss)",
        "terseLabel": "Net long term capital gains"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfTaxCharacterOfDistributionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss": {
     "auth_ref": [
      "r121",
      "r122"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfTaxCharacterOfDistributionsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyDistributableEarnings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed earnings (deficit) from ordinary income (loss) of investment company.",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Ordinary Income (Loss)",
        "terseLabel": "Ordinary Income"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationSummaryOfTaxCharacterOfDistributionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributionToShareholdersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Distribution To Shareholders [Abstract]",
        "terseLabel": "Distributions to stockholders:"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionToShareholdersAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyDistributionToShareholdersPerShare": {
     "auth_ref": [
      "r135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of distribution to shareholders. Includes, but is not limited to, dividend and capital gain. Excludes distribution for tax return of capital.",
        "label": "Investment Company, Distribution to Shareholders, Per Share",
        "negatedLabel": "Distributions declared from net investment income",
        "terseLabel": "Distributions declared from net investment income"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionToShareholdersPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyDividendDistribution": {
     "auth_ref": [
      "r124",
      "r126"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "order": 0.0,
       "parentTag": "gecc_DistributionsToStockholders",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend distribution from ordinary income and capital gain. Excludes distribution for tax return of capital.",
        "label": "Investment Company, Dividend Distribution",
        "negatedLabel": "Distributions",
        "terseLabel": "Ordinary income",
        "totalLabel": "Investment Company, Dividend Distribution, Total"
       }
      }
     },
     "localname": "InvestmentCompanyDividendDistribution",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Expense, after Reduction of Fee Waiver and Reimbursement",
        "totalLabel": "Net expenses"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyExpenseRatioIncludingVoluntaryFeeWaiver": {
     "auth_ref": [
      "r123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage, after deduction of voluntary fee waiver, of expense to average net assets.",
        "label": "Investment Company Expense Ratio Including Voluntary Fee Waiver",
        "terseLabel": "Ratio of total expenses to average net assets after waiver"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseRatioIncludingVoluntaryFeeWaiver",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Financial Highlights [Abstract]"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTableTextBlock": {
     "auth_ref": [
      "r128"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financial highlights. Includes, but is not limited to, per share information, income and expense ratios, total return, capital commitment and fee waiver.",
        "label": "Investment Company Financial Highlights Table [Text Block]",
        "terseLabel": "Schedule of Financial Highlights of the Company"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTextBlock": {
     "auth_ref": [
      "r137",
      "r407"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of financial highlights reported by investment company.",
        "label": "Investment Company Financial Highlights [Text Block]",
        "terseLabel": "Financial Highlights"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFinancialHighlights1"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyFinancialRatiosAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Financial Ratios [Abstract]",
        "terseLabel": "Ratio/Supplemental Data:"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialRatiosAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare": {
     "auth_ref": [
      "r133"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of realized and unrealized gain (loss) on investment.",
        "label": "Investment Company Gain Loss On Investment Per Share",
        "terseLabel": "Net realized gains (loss)"
       }
      }
     },
     "localname": "InvestmentCompanyGainLossOnInvestmentPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare": {
     "auth_ref": [
      "r134"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of investment income (loss) and realized and unrealized gain (loss) on investment.",
        "label": "Investment Company, Investment Income (Loss) from Operations, Per Share",
        "totalLabel": "Net increase (decrease) in net assets resulting from operations"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Investment Income Loss From Operations Per Share [Abstract]",
        "terseLabel": "Per Share Data:"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare": {
     "auth_ref": [
      "r132"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount, after investment expense, of dividend and interest investment income (loss).",
        "label": "Investment Company Investment Income Loss Per Share",
        "terseLabel": "Net investment income per share (basic and diluted):",
        "verboseLabel": "Net investment income"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossRatio": {
     "auth_ref": [
      "r129"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of investment income (loss) to average net assets.",
        "label": "Investment Company Investment Income Loss Ratio",
        "terseLabel": "Ratio of net investment income to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossRatio",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyMarketValuePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Market Value Per Share",
        "terseLabel": "Per share market value, end of period"
       }
      }
     },
     "localname": "InvestmentCompanyMarketValuePerShare",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease": {
     "auth_ref": [
      "r136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of increase (decrease) in net asset value.",
        "label": "Investment Company, Net Asset Value Per Share, Period Increase (Decrease)",
        "terseLabel": "Net decrease resulting from distributions to common stockholders",
        "totalLabel": "Investment Company, Net Asset Value Per Share, Period Increase (Decrease), Total"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease": {
     "auth_ref": [
      "r125",
      "r143"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in net assets from operations of investment company.",
        "label": "Investment Company Net Assets From Operations Increase Decrease",
        "totalLabel": "Net increase (decrease) in net assets resulting from operations"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Net Assets From Operations Increase Decrease [Abstract]",
        "terseLabel": "Increase (decrease) in net assets resulting from operations:"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsFromOperationsIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease": {
     "auth_ref": [
      "r127"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in net assets of investment company.",
        "label": "Investment Company Net Assets Period Increase Decrease",
        "terseLabel": "Net increase (decrease) in net assets resulting from operations",
        "totalLabel": "Total increase (decrease) in net assets"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyPortfolioTurnover": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Portfolio Turnover",
        "terseLabel": "Portfolio turnover"
       }
      }
     },
     "localname": "InvestmentCompanyPortfolioTurnover",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrencyAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Realized and Unrealized Gain (Loss) on Investment and Foreign Currency [Abstract]",
        "terseLabel": "Net realized and unrealized gains (losses):"
       }
      }
     },
     "localname": "InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrencyAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyTotalReturnAfterIncentiveFees": {
     "auth_ref": [
      "r130"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage increase (decrease), after deduction of incentive fee, in fund net asset value. Includes, but is not limited to, interest and dividend income (loss) and realized and unrealized gain (loss).",
        "label": "Investment Company Total Return After Incentive Fees",
        "terseLabel": "Total return based on net asset value"
       }
      }
     },
     "localname": "InvestmentCompanyTotalReturnAfterIncentiveFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyTotalReturnMarketValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Total Return, Market Value",
        "terseLabel": "Total return based on market value"
       }
      }
     },
     "localname": "InvestmentCompanyTotalReturnMarketValue",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentIncomeNet": {
     "auth_ref": [
      "r23",
      "r25"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accretion (amortization) of discount (premium), and investment expense, of interest income and dividend income on nonoperating securities.",
        "label": "Investment Income Net",
        "terseLabel": "Net investment income",
        "totalLabel": "Net investment income"
       }
      }
     },
     "localname": "InvestmentIncomeNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentInterestRate": {
     "auth_ref": [
      "r594",
      "r596"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate of interest on investment.",
        "label": "Investment Interest Rate",
        "terseLabel": "Interest Rate"
       }
      }
     },
     "localname": "InvestmentInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentInterestRateFloor": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Interest Rate, Floor",
        "terseLabel": "Interest Rate, Floor"
       }
      }
     },
     "localname": "InvestmentInterestRateFloor",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentInterestRatePaidInCash": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Interest Rate, Paid in Cash",
        "terseLabel": "Interest Rate, Cash"
       }
      }
     },
     "localname": "InvestmentInterestRatePaidInCash",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentInterestRatePaidInKind": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Interest Rate, Paid in Kind",
        "terseLabel": "Interest Rate, PIK"
       }
      }
     },
     "localname": "InvestmentInterestRatePaidInKind",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentMaturityDate": {
     "auth_ref": [
      "r593",
      "r595"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maturity date of investment, in YYYY-MM-DD format.",
        "label": "Investment Maturity Date",
        "terseLabel": "Maturity"
       }
      }
     },
     "localname": "InvestmentMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_InvestmentOwnedAtCost": {
     "auth_ref": [
      "r138"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost of the investment.",
        "label": "Investment Owned At Cost",
        "terseLabel": "Investment at amortized cost",
        "verboseLabel": "Cost"
       }
      }
     },
     "localname": "InvestmentOwnedAtCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedAtFairValue": {
     "auth_ref": [
      "r138",
      "r415",
      "r422"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0
      },
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of the investment at close of period. For schedules of investments that are categorized, the value would be aggregated by category. For investment in and advances to affiliates, if operations of any controlled companies are different in character from those of the company, group such affiliates within divisions and by type of activities.",
        "label": "Total investments",
        "periodEndLabel": "Investment Owned, at Fair Value, Ending Balance",
        "periodStartLabel": "Investment Owned, at Fair Value, Beginning Balance",
        "terseLabel": "Investments at Fair Value",
        "verboseLabel": "Fair Value"
       }
      }
     },
     "localname": "InvestmentOwnedAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedBalancePrincipalAmount": {
     "auth_ref": [
      "r139",
      "r411"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For investments which are quantified by principal amount, the principle balance held at close of period.",
        "label": "Investment Owned Balance Principal Amount",
        "terseLabel": "Par Amount / Quantity"
       }
      }
     },
     "localname": "InvestmentOwnedBalancePrincipalAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedPercentOfNetAssets": {
     "auth_ref": [
      "r138",
      "r419"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percent of net assets at close of period. For schedules of investments that are categorized, each category has a percent of net assets for the aggregated value of the Investments in the category.",
        "label": "Investment Owned Percent Of Net Assets",
        "terseLabel": "Percentage of Net Assets",
        "verboseLabel": "Percentage of Class"
       }
      }
     },
     "localname": "InvestmentOwnedPercentOfNetAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentOwnedUnrecognizedUnrealizedAppreciation": {
     "auth_ref": [
      "r148"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfAggregateUnrealizedAppreciationAndDepreciationOnInvestmentForUsFederalIncomeTaxPurposeDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentOwnedUnrecognizedUnrealizedAppreciationDepreciationNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the excess of the cost (face amount, notional amount) of an investment (security, contract) over its fair value which deficiency has not been recognized in earnings of the entity.",
        "label": "Investment Owned, Unrecognized Unrealized Appreciation",
        "terseLabel": "Gross unrealized appreciation"
       }
      }
     },
     "localname": "InvestmentOwnedUnrecognizedUnrealizedAppreciation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfAggregateUnrealizedAppreciationAndDepreciationOnInvestmentForUsFederalIncomeTaxPurposeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedUnrecognizedUnrealizedAppreciationDepreciationNet": {
     "auth_ref": [
      "r148"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfAggregateUnrealizedAppreciationAndDepreciationOnInvestmentForUsFederalIncomeTaxPurposeDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the net excess or deficiency of the fair value of an investment (security, contract) over or under its cost (face amount, notional amount), respectively, which excess value or deficiency has not been recognized in earnings of the entity.",
        "label": "Investment Owned, Unrecognized Unrealized Appreciation (Depreciation), Net",
        "totalLabel": "Net unrealized appreciation (depreciation) on investments"
       }
      }
     },
     "localname": "InvestmentOwnedUnrecognizedUnrealizedAppreciationDepreciationNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfAggregateUnrealizedAppreciationAndDepreciationOnInvestmentForUsFederalIncomeTaxPurposeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedUnrecognizedUnrealizedDepreciation": {
     "auth_ref": [
      "r148"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfAggregateUnrealizedAppreciationAndDepreciationOnInvestmentForUsFederalIncomeTaxPurposeDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentOwnedUnrecognizedUnrealizedAppreciationDepreciationNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the excess of the cost (face amount, notional amount) of an investment (security, contract) over its fair value which deficiency has not been recognized in earnings of the entity.",
        "label": "Investment Owned, Unrecognized Unrealized Depreciation",
        "negatedLabel": "Gross unrealized depreciation"
       }
      }
     },
     "localname": "InvestmentOwnedUnrecognizedUnrealizedDepreciation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfAggregateUnrealizedAppreciationAndDepreciationOnInvestmentForUsFederalIncomeTaxPurposeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r408",
      "r409",
      "r410",
      "r412",
      "r413",
      "r414",
      "r416",
      "r417",
      "r418",
      "r420",
      "r421",
      "r423",
      "r424",
      "r425",
      "r426"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r408",
      "r409",
      "r410",
      "r412",
      "r413",
      "r414",
      "r416",
      "r417",
      "r418",
      "r420",
      "r421",
      "r423",
      "r424",
      "r425",
      "r426"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investment Type Categorization [Member]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsFairValueDisclosure": {
     "auth_ref": [
      "r329"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method.",
        "label": "Investments Fair Value Disclosure",
        "terseLabel": "Total investment assets",
        "totalLabel": "Investments, Fair Value Disclosure, Total",
        "verboseLabel": "Fair value"
       }
      }
     },
     "localname": "InvestmentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsFairValueDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments Fair Value Disclosure [Abstract]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentsFairValueDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments In And Advances To Affiliates [Abstract]"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue": {
     "auth_ref": [
      "r149",
      "r150",
      "r151"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of the investment at close of period. For investment in and advances to affiliates, if operations of any controlled companies are different in character from those of the company, group such affiliates within divisions and by type of activities.",
        "label": "Investments In And Advances To Affiliates At Fair Value",
        "periodEndLabel": "Fair value, Ending Balance",
        "periodStartLabel": "Fair value, Beginning Balance"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions": {
     "auth_ref": [
      "r152"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross additions to the investment in and advance to the affiliate.",
        "label": "Investments In And Advances To Affiliates At Fair Value Gross Additions",
        "terseLabel": "Gross Additions"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossReductions": {
     "auth_ref": [
      "r153"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross reductions to the investment in and advance to the affiliate.",
        "label": "Investments In And Advances To Affiliates At Fair Value Gross Reductions",
        "terseLabel": "Gross Reductions"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossReductions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValuePeriodIncreaseDecrease": {
     "auth_ref": [
      "r154"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in the investments in and advances to affiliates.",
        "label": "Investments In And Advances To Affiliates At Fair Value Period Increase Decrease",
        "terseLabel": "Change in Unrealized Appreciation (Depreciation)",
        "totalLabel": "Investments in and Advances to Affiliates, at Fair Value, Period Increase (Decrease), Total"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValuePeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock": {
     "auth_ref": [
      "r155"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the information summarizing investments in and advances to majority-owned subsidiaries, other controlled companies, and other affiliates. It reflects specified information about ownership, financial results from, and financial position in such entities.",
        "label": "Investments In And Advances To Affiliates Schedule Of Investments [Text Block]",
        "terseLabel": "Affiliated and Controlled Investments"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestments2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LatestTaxYearMember": {
     "auth_ref": [
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Latest identified tax year.",
        "label": "Latest Tax Year [Member]",
        "terseLabel": "Latest Tax Year"
       }
      }
     },
     "localname": "LatestTaxYearMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r13",
      "r176",
      "r217",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r320",
      "r323",
      "r324",
      "r336",
      "r451",
      "r606",
      "r620",
      "r621"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r11",
      "r99",
      "r114",
      "r475",
      "r587",
      "r600",
      "r618"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities And Stockholders Equity",
        "totalLabel": "Total liabilities and net assets"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r4",
      "r98",
      "r109"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Long-Term Line of Credit",
        "terseLabel": "Revolving line of credit borrowings outstanding",
        "totalLabel": "Long-Term Line of Credit, Total",
        "verboseLabel": "Revolving credit facility"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityAxis": {
     "auth_ref": [
      "r12",
      "r586"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of lender, which may be a single entity (for example, but not limited to, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit.",
        "label": "Lender Name [Axis]"
       }
      }
     },
     "localname": "LineOfCreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityExpirationDate1": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the credit facility terminates, in YYYY-MM-DD format.",
        "label": "Line of Credit Facility, Expiration Date",
        "terseLabel": "Revolving line of credit, maturity date"
       }
      }
     },
     "localname": "LineOfCreditFacilityExpirationDate1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet": {
     "auth_ref": [
      "r586"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) of the credit facility.",
        "label": "Line Of Credit Facility Increase Decrease For Period Net",
        "terseLabel": "Increase revolving credit facility in aggregate amount",
        "totalLabel": "Line of Credit Facility, Increase (Decrease), Net, Total"
       }
      }
     },
     "localname": "LineOfCreditFacilityIncreaseDecreaseForPeriodNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityInterestRateDuringPeriod": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The effective interest rate during the reporting period.",
        "label": "Line Of Credit Facility Interest Rate During Period",
        "terseLabel": "Line of credit interest rate"
       }
      }
     },
     "localname": "LineOfCreditFacilityInterestRateDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LineOfCreditFacilityLenderDomain": {
     "auth_ref": [
      "r12",
      "r586"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the lender, which may be a single entity (for example, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit, including a letter of credit facility.",
        "label": "Line of Credit Facility, Lender [Domain]"
       }
      }
     },
     "localname": "LineOfCreditFacilityLenderDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r12"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "terseLabel": "Revolving line of credit maximum borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r4",
      "r98",
      "r113",
      "r254",
      "r269",
      "r460",
      "r461"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation.",
        "label": "Borrowings Outstanding",
        "terseLabel": "Total Amount Outstanding",
        "totalLabel": "Long-Term Debt, Total",
        "verboseLabel": "Borrowings Outstanding"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtAverageAmountOutstanding": {
     "auth_ref": [
      "r440",
      "r441"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average amount outstanding of long-term debt.",
        "label": "Long-Term Debt, Average Amount Outstanding",
        "terseLabel": "Average outstanding balance"
       }
      }
     },
     "localname": "LongTermDebtAverageAmountOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.",
        "label": "Long Term Debt Fair Value",
        "terseLabel": "Fair Value"
       }
      }
     },
     "localname": "LongTermDebtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtWeightedAverageInterestRateOverTime": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated over time.",
        "label": "Long-Term Debt, Weighted Average Interest Rate, over Time",
        "terseLabel": "Weighted average interest rate"
       }
      }
     },
     "localname": "LongTermDebtWeightedAverageInterestRateOverTime",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r15"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Longterm Debt Type [Axis]",
        "terseLabel": "Long-Term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r15",
      "r52"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Longterm Debt Type [Domain]",
        "terseLabel": "Long-Term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LossContingencyDamagesSoughtValue": {
     "auth_ref": [
      "r602",
      "r603",
      "r604"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value (monetary amount) of the award the plaintiff seeks in the legal matter.",
        "label": "Loss Contingency Damages Sought Value",
        "terseLabel": "Loss contingency, damages sought, value"
       }
      }
     },
     "localname": "LossContingencyDamagesSoughtValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ManagementAndServiceFeesBaseRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management and Service Fees, Base Rate",
        "terseLabel": "Management fee calculated at annual rate of average adjusted gross assets"
       }
      }
     },
     "localname": "ManagementAndServiceFeesBaseRate",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ManagementAndServiceFeesIncentiveRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management and Service Fees, Incentive Rate",
        "terseLabel": "Income incentive fee calculation percentage on pre-incentive fee net investment income"
       }
      }
     },
     "localname": "ManagementAndServiceFeesIncentiveRate",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ManagementFeeExpense": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses related to the managing member or general partner for management of the day-to-day business functions of the limited liability company (LLC) or limited partnership (LP).",
        "label": "Management Fee Expense",
        "terseLabel": "Management fees"
       }
      }
     },
     "localname": "ManagementFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ManagementFeePayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of the unpaid portion of the fee payable to the managing member or general partner for management of the fund or trust.",
        "label": "Management Fee Payable",
        "terseLabel": "Management fee payable"
       }
      }
     },
     "localname": "ManagementFeePayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketApproachValuationTechniqueMember": {
     "auth_ref": [
      "r83"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach using price and other relevant information generated by market transaction involving identical or comparable asset, liability, or group of assets and liabilities.",
        "label": "Market Approach Valuation Technique [Member]",
        "terseLabel": "Market Approach"
       }
      }
     },
     "localname": "MarketApproachValuationTechniqueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "auth_ref": [
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate to determine present value of future cash flows.",
        "label": "Measurement Input Discount Rate [Member]",
        "terseLabel": "Discount Rate"
       }
      }
     },
     "localname": "MeasurementInputDiscountRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputPriceVolatilityMember": {
     "auth_ref": [
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using rate at which price of security will increase (decrease) for given set of returns.",
        "label": "Measurement Input, Price Volatility [Member]",
        "terseLabel": "Volatility"
       }
      }
     },
     "localname": "MeasurementInputPriceVolatilityMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputRevenueMultipleMember": {
     "auth_ref": [
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using market valuation of entity divided by revenue.",
        "label": "Measurement Input Revenue Multiple [Member]",
        "terseLabel": "Earnings Multiple"
       }
      }
     },
     "localname": "MeasurementInputRevenueMultipleMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputRiskFreeInterestRateMember": {
     "auth_ref": [
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate on instrument with zero risk of financial loss.",
        "label": "Measurement Input, Risk Free Interest Rate [Member]",
        "terseLabel": "Risk Free Rate"
       }
      }
     },
     "localname": "MeasurementInputRiskFreeInterestRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r331"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MoneyMarketFundsMember": {
     "auth_ref": [
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fund that invests in short-term money-market instruments, for example, but not limited to, commercial paper, banker's acceptances, repurchase agreements, government securities, certificates of deposit, and other highly liquid securities.",
        "label": "Money Market Funds [Member]",
        "terseLabel": "Money Market"
       }
      }
     },
     "localname": "MoneyMarketFundsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NetAssetValuePerShare": {
     "auth_ref": [
      "r79",
      "r80",
      "r87",
      "r131",
      "r136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net asset value per share or per unit of investments in certain entities that calculate net asset value per share. Includes, but is not limited to, by unit, membership interest, or other ownership interest. Investment includes, but is not limited to, investment in certain hedge funds, venture capital funds, private equity funds, real estate partnerships or funds. Excludes fair value disclosure.",
        "label": "Net Asset Value Per Share",
        "periodEndLabel": "Net asset value, end of period",
        "periodStartLabel": "Net asset value, beginning of period",
        "terseLabel": "Net asset value per share"
       }
      }
     },
     "localname": "NetAssetValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r170"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided By Used In Financing Activities",
        "totalLabel": "Net cash provided by (used for) financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided By Used In Financing Activities [Abstract]",
        "terseLabel": "Cash flows from financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r32",
      "r33",
      "r36"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided By Used In Operating Activities",
        "totalLabel": "Net cash provided by (used for) operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided By Used In Operating Activities [Abstract]",
        "terseLabel": "Cash flows from operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetInvestmentIncome": {
     "auth_ref": [
      "r398"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after investment expense, of income earned from investments in securities and real estate. Includes, but is not limited to, real estate investment, policy loans, dividends, and interest. Excludes realized gain (loss) on investments.",
        "label": "Net Investment Income",
        "terseLabel": "Net investment income before taxes",
        "totalLabel": "Net investment income before taxes"
       }
      }
     },
     "localname": "NetInvestmentIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetInvestmentIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Investment Income [Abstract]",
        "terseLabel": "Investment Income:"
       }
      }
     },
     "localname": "NetInvestmentIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NonInvestmentAssetsLessNonInvestmentLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net of non investment assets and liabilities. This amount represents the difference between the aggregate value of the investments, including long and short positions, and net assets.",
        "label": "Non Investment Assets Less Non Investment Liabilities",
        "negatedLabel": "Other Liabilities in Excess of Assets (245.17% of Net Assets)",
        "negatedTerseLabel": "Other Liabilities in Excess of Assets"
       }
      }
     },
     "localname": "NonInvestmentAssetsLessNonInvestmentLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseDirectorsFees": {
     "auth_ref": [
      "r105"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noninterest expense related to directors' fees which are fees paid by an Entity to its directors. Directors' fees may be paid in addition to salary and other benefits.",
        "label": "Noninterest Expense Directors Fees",
        "terseLabel": "Directors\u2019 fees"
       }
      }
     },
     "localname": "NoninterestExpenseDirectorsFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayable": {
     "auth_ref": [
      "r4",
      "r98",
      "r113"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, aggregate carrying amount of all types of notes payable, as of the balance sheet date, with initial maturities beyond one year or beyond the normal operating cycle, if longer.",
        "label": "Notes Payable",
        "terseLabel": "Notes payable (including unamortized discount of $2,781 and $3,935, respectively)",
        "totalLabel": "Notes Payable, Total"
       }
      }
     },
     "localname": "NotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OilAndGasExplorationAndProductionMember": {
     "auth_ref": [
      "r611"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Process related to upstream activity for viscous liquid derived from petroleum and flammable gas occurring naturally underground. Activity includes, but is not limited to, exploration, development and production.",
        "label": "Oil And Gas Exploration And Production [Member]",
        "terseLabel": "Oil &amp; Gas Exploration &amp; Production"
       }
      }
     },
     "localname": "OilAndGasExplorationAndProductionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OpenTaxYear": {
     "auth_ref": [
      "r305"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax year that remains open to examination under enacted tax laws, in YYYY format.",
        "label": "Open Tax Year",
        "terseLabel": "Open tax year"
       }
      }
     },
     "localname": "OpenTaxYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "gYearListItemType"
    },
    "us-gaap_OperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.",
        "label": "Operating Expenses",
        "totalLabel": "Total expenses"
       }
      }
     },
     "localname": "OperatingExpenses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "Expenses:"
       }
      }
     },
     "localname": "OperatingExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperationsCommencedDate1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the operations of the entity commenced, in YYYY-MM-DD format.",
        "label": "Operations commenced date"
       }
      }
     },
     "localname": "OperationsCommencedDate1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization Consolidation And Presentation Of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r1",
      "r76"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization Consolidation And Presentation Of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Organization"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureOrganization"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherExpenses": {
     "auth_ref": [
      "r22",
      "r120"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 8.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense classified as other.",
        "label": "Other Expenses",
        "terseLabel": "Other expenses"
       }
      }
     },
     "localname": "OtherExpenses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "auth_ref": [
      "r107"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other.",
        "label": "Other Interest And Dividend Income",
        "terseLabel": "Total other income",
        "totalLabel": "Other Interest And Dividend Income, Total"
       }
      }
     },
     "localname": "OtherInterestAndDividendIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PayableInvestmentPurchase": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Payable, Investment, Purchase",
        "terseLabel": "Payable for investments purchased"
       }
      }
     },
     "localname": "PayableInvestmentPurchase",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for Purchase of Investment, Operating Activity",
        "negatedLabel": "Purchases of investments"
       }
      }
     },
     "localname": "PaymentsForPurchaseOfInvestmentOperatingActivity",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividends": {
     "auth_ref": [
      "r29"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash outflow in the form of capital distributions and dividends to common shareholders, preferred shareholders and noncontrolling interests.",
        "label": "Payments of Dividends",
        "negatedLabel": "Distributions paid",
        "terseLabel": "Distributions paid",
        "totalLabel": "Payments of Dividends, Total"
       }
      }
     },
     "localname": "PaymentsOfDividends",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfFinancingCosts": {
     "auth_ref": [
      "r31"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for loan and debt issuance costs.",
        "label": "Payments Of Financing Costs",
        "negatedLabel": "Payments of deferred financing costs",
        "totalLabel": "Payments of Financing Costs, Total"
       }
      }
     },
     "localname": "PaymentsOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company.",
        "label": "Preferred Stock [Member]",
        "terseLabel": "Preferred Stock"
       }
      }
     },
     "localname": "PreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 9.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets.",
        "label": "Prepaid Expense And Other Assets",
        "terseLabel": "Prepaid expenses and other assets"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrimeRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate charged by financial institutions to their most creditworthy borrowers.",
        "label": "Prime Rate [Member]",
        "terseLabel": "Prime Rate"
       }
      }
     },
     "localname": "PrimeRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Disposition of Investment, Operating Activity",
        "terseLabel": "Proceeds from sales of investments"
       }
      }
     },
     "localname": "ProceedsFromDispositionOfInvestmentOperatingActivity",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r27"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds From Issuance Of Common Stock",
        "terseLabel": "Proceeds from issuance of common stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfLongTermDebt": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a debt initially having maturity due after one year or beyond the operating cycle, if longer.",
        "label": "Proceeds from Issuance of Long-Term Debt",
        "terseLabel": "Issuance of notes payable",
        "totalLabel": "Proceeds from Issuance of Long-Term Debt, Total"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r142",
      "r144"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 6.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer.",
        "label": "Professional Fees",
        "terseLabel": "Professional services"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r156",
      "r163",
      "r164",
      "r169",
      "r176",
      "r182",
      "r188",
      "r189",
      "r206",
      "r207",
      "r209",
      "r211",
      "r217",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r318",
      "r321",
      "r322",
      "r328",
      "r336",
      "r396",
      "r452",
      "r472",
      "r473",
      "r582",
      "r606"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Profit Loss",
        "terseLabel": "Net increase (decrease) in net assets resulting from operations",
        "totalLabel": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RatioOfIndebtednessToNetCapital1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indebtedness divided by net capital.",
        "label": "Ratio Of Indebtedness To Net Capital1",
        "terseLabel": "Asset coverage ratio"
       }
      }
     },
     "localname": "RatioOfIndebtednessToNetCapital1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_RealizedInvestmentGainsLosses": {
     "auth_ref": [
      "r119"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment.",
        "label": "Realized Investment Gains Losses",
        "negatedLabel": "Net realized (gain) loss on investments",
        "terseLabel": "Total net realized gain (loss)",
        "totalLabel": "Total net realized gain (loss)",
        "verboseLabel": "Net realized gain (loss)"
       }
      }
     },
     "localname": "RealizedInvestmentGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReceivableInvestmentSale": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivable, Investment, Sale",
        "terseLabel": "Receivable for investments sold"
       }
      }
     },
     "localname": "ReceivableInvestmentSale",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r295",
      "r342",
      "r343"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]",
        "terseLabel": "Related Party"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r295",
      "r342",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party Transactions By Related Party [Axis]",
        "terseLabel": "Related Party"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r340",
      "r341",
      "r343",
      "r345",
      "r346"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Significant Agreements and Related Parties"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedParties"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfLinesOfCredit": {
     "auth_ref": [
      "r30",
      "r586"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
        "label": "Repayments of Lines of Credit",
        "negatedLabel": "Repayments under credit facility"
       }
      }
     },
     "localname": "RepaymentsOfLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfLongTermLinesOfCredit": {
     "auth_ref": [
      "r30"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for the settlement of obligation drawn from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer.",
        "label": "Repayments of Long-Term Lines of Credit",
        "terseLabel": "Repayment of revolving line of credit"
       }
      }
     },
     "localname": "RepaymentsOfLongTermLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfNotesPayable": {
     "auth_ref": [
      "r30"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for a borrowing supported by a written promise to pay an obligation.",
        "label": "Repayments Of Notes Payable",
        "negatedLabel": "Repayment of notes payable"
       }
      }
     },
     "localname": "RepaymentsOfNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCash": {
     "auth_ref": [
      "r580",
      "r584",
      "r628",
      "r629"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParenthetical": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
        "label": "Restricted Cash",
        "terseLabel": "Restricted cash",
        "totalLabel": "Restricted Cash, Total"
       }
      }
     },
     "localname": "RestrictedCash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r448",
      "r449"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue Recognition Policy [Text Block]",
        "terseLabel": "Revenue Recognition"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevolvingCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount.",
        "label": "Revolving Credit Facility [Member]",
        "terseLabel": "Senior Secured Revolving Line of Credit",
        "verboseLabel": "Revolving Credit Facility"
       }
      }
     },
     "localname": "RevolvingCreditFacilityMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.",
        "label": "Sale Of Stock Price Per Share",
        "terseLabel": "Sale of stock, price per share"
       }
      }
     },
     "localname": "SaleOfStockPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ScheduleOfCapitalizationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule of Capitalization [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfCapitalizationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfCapitalizationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of information required and determined to be disclosed concerning the capitalization of the entity which is comprised of its long-term debt and equity instruments. The table may be detailed by subsidiary (legal entity) and include information by type of debt or equity detailed by instrument.",
        "label": "Schedule of Capitalization [Table]"
       }
      }
     },
     "localname": "ScheduleOfCapitalizationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to carrying amount and estimated fair value of short-term and long-term debt instruments or arrangements, including but not limited to, identification of terms, features, and collateral requirements.",
        "label": "Schedule Of Carrying Values And Estimated Fair Values Of Debt Instruments Table [Text Block]",
        "terseLabel": "Summary of Commitments, Borrowings Outstanding and Fair Value of Notes"
       }
      }
     },
     "localname": "ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "auth_ref": [
      "r15",
      "r55",
      "r56",
      "r57",
      "r58",
      "r89",
      "r90",
      "r91",
      "r108",
      "r460",
      "r462",
      "r588"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer.",
        "label": "Schedule Of Debt Instruments [Text Block]",
        "terseLabel": "Schedule of Senior Securities (Including Debt Securities and Other Indebtedness)"
       }
      }
     },
     "localname": "ScheduleOfDebtInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Investments [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A tabular presentation of the information summarizing investments in and advances to majority-owned subsidiaries, other controlled companies, and other affiliates, as prescribed by the SEC. It reflects specified information about ownership, financial results from, and financial position in such entities. Includes the tabular presentations that disaggregate investments in and advances to majority-owned subsidiaries, other controlled companies, and other affiliates.",
        "label": "Schedule Of Investments In And Advances To Affiliates Schedule Of Investments Table [Text Block]",
        "terseLabel": "Schedule of Fair Value with Transactions in Affiliated investments and controlled investments"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule Of Investments [Line Items]",
        "terseLabel": "Schedule of Investments [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "auth_ref": [
      "r147"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A container table for all schedule of investment items. It ties in the \"Legal Entity [Axis]\" to all of its contained line items.",
        "label": "Schedule Of Investments [Table]",
        "terseLabel": "Schedule Of Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r93",
      "r94"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule Of Related Party Transactions By Related Party [Table]",
        "terseLabel": "Schedule Of Related Party Transactions By Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember": {
     "auth_ref": [
      "r615"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed rate on U.S. dollar, constant-notional interest rate swap that has its variable-rate leg referenced to Secured Overnight Financing Rate (SOFR) with no additional spread over SOFR on variable-rate leg.",
        "label": "Secured Overnight Financing Rate Sofr Overnight Index Swap Rate [Member]",
        "terseLabel": "SOFR"
       }
      }
     },
     "localname": "SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeniorNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bond that takes priority over other debt securities sold by the issuer. In the event the issuer goes bankrupt, senior debt holders receive priority for (must receive) repayment prior to (relative to) junior and unsecured (general) creditors.",
        "label": "Senior Notes [Member]",
        "terseLabel": "Senior Notes",
        "verboseLabel": "Note"
       }
      }
     },
     "localname": "SeniorNotesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeniorSubordinatedNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior subordinated note is a bond that takes priority over other debt securities sold by the issuer. In the event the issuer goes bankrupt, senior subordinated debt holders receive priority for [must receive] repayment [prior] relative to junior and unsecured (general) creditors. However senior subordinated notes are junior to Senior Notes and Senior bond holders.",
        "label": "Senior Subordinated Notes [Member]",
        "terseLabel": "Subordinated Note"
       }
      }
     },
     "localname": "SeniorSubordinatedNotesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares Outstanding",
        "periodEndLabel": "Shares outstanding at the end of the period",
        "periodStartLabel": "Shares outstanding at the beginning of the period",
        "terseLabel": "Shares outstanding, end of period"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShortTermDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt arrangement having an initial term within one year or the normal operating cycle, if longer.",
        "label": "Short Term Debt [Member]",
        "terseLabel": "Short Term Investments"
       }
      }
     },
     "localname": "ShortTermDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermInvestmentsMember": {
     "auth_ref": [
      "r424",
      "r425",
      "r426",
      "r478"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments which are not otherwise included in another category or item that the entity has the intent to sell or dispose of within one year from the date of the balance sheet.",
        "label": "Short Term Investments [Member]1",
        "terseLabel": "Short-Term Investments",
        "verboseLabel": "ShortTermInvestments"
       }
      }
     },
     "localname": "ShortTermInvestmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r42",
      "r173"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r159",
      "r160",
      "r161",
      "r176",
      "r193",
      "r194",
      "r195",
      "r197",
      "r200",
      "r201",
      "r217",
      "r232",
      "r234",
      "r235",
      "r236",
      "r239",
      "r240",
      "r272",
      "r273",
      "r275",
      "r279",
      "r286",
      "r336",
      "r440",
      "r577",
      "r585",
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Statement Class Of Stock [Axis]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r179",
      "r180",
      "r181",
      "r199",
      "r382"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r6",
      "r7",
      "r54",
      "r59"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Issuance of common stock"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r6",
      "r7",
      "r54",
      "r59"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "order": 2.0,
       "parentTag": "gecc_NetIncreaseDecreaseInNetAssetsResultingFromCapitalTransactions",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period, Value, New Issues",
        "terseLabel": "Issuance of common stock, net"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r7",
      "r9",
      "r10",
      "r48",
      "r475",
      "r587",
      "r600",
      "r618"
     ],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders Equity",
        "periodEndLabel": "Stockholders' Equity Attributable to Parent, Ending Balance",
        "periodStartLabel": "Stockholders' Equity Attributable to Parent, Beginning Balance",
        "totalLabel": "Total net assets"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders Equity [Abstract]",
        "terseLabel": "Net Assets"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r62",
      "r175",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r282",
      "r283",
      "r285",
      "r287",
      "r326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Stockholders Equity Note Disclosure [Text Block]",
        "terseLabel": "Capital Activity"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureCapitalActivity1"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StockholdersEquityNoteStockSplitConversionRatio1": {
     "auth_ref": [
      "r60"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio applied to the conversion of stock split, for example but not limited to, one share converted to two or two shares converted to one.",
        "label": "Stockholders Equity Note Stock Split Conversion Ratio1",
        "terseLabel": "Reverse stock split, conversion ratio",
        "verboseLabel": "Reverse stock split, outstanding common stock"
       }
      }
     },
     "localname": "StockholdersEquityNoteStockSplitConversionRatio1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSParentheticalUnaudited"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_StockholdersEquityReverseStockSplit": {
     "auth_ref": [
      "r61"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the reverse stock split arrangement. Also provide the retroactive effect given by the reverse split that occurs after the balance sheet date but before the release of financial statements.",
        "label": "Reverse stock split",
        "terseLabel": "Reverse stock split, conversion ratio",
        "verboseLabel": "Description of reverse stock split"
       }
      }
     },
     "localname": "StockholdersEquityReverseStockSplit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r337",
      "r349"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r337",
      "r349"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r337",
      "r349"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r337",
      "r349"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r348",
      "r350"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSubsequentEvents1"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental disclosure of cash flow information:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes": {
     "auth_ref": [
      "r406"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate cost of investments for Federal income tax purposes.",
        "label": "Tax Basis Of Investments Cost For Income Tax Purposes",
        "terseLabel": "Aggregate cost of federal income tax",
        "verboseLabel": "Tax cost"
       }
      }
     },
     "localname": "TaxBasisOfInvestmentsCostForIncomeTaxPurposes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationScheduleOfAggregateUnrealizedAppreciationAndDepreciationOnInvestmentForUsFederalIncomeTaxPurposeDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation": {
     "auth_ref": [
      "r403"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate gross unrealized appreciation for all Investments in which there is an excess of value over tax cost.",
        "label": "Tax Basis Of Investments Gross Unrealized Appreciation",
        "terseLabel": "Investment owned, gross unrealized appreciation excess of value cost"
       }
      }
     },
     "localname": "TaxBasisOfInvestmentsGrossUnrealizedAppreciation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation": {
     "auth_ref": [
      "r404"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate gross unrealized depreciation for all Investments in which there is an excess of tax cost over value.",
        "label": "Tax Basis Of Investments Gross Unrealized Depreciation",
        "terseLabel": "Investment owned, gross unrealized depreciation excess of value cost"
       }
      }
     },
     "localname": "TaxBasisOfInvestmentsGrossUnrealizedDepreciation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet": {
     "auth_ref": [
      "r405"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net unrealized appreciation or depreciation.",
        "label": "Tax Basis Of Investments Unrealized Appreciation Depreciation Net",
        "terseLabel": "Investment owned,net unrealized depreciation",
        "totalLabel": "Tax Basis of Investments, Unrealized Appreciation (Depreciation), Net, Total"
       }
      }
     },
     "localname": "TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxCreditCarryforwardAmount": {
     "auth_ref": [
      "r67"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of the tax credit carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.",
        "label": "Tax Credit Carryforward, Amount",
        "terseLabel": "Tax credit carryforward"
       }
      }
     },
     "localname": "TaxCreditCarryforwardAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxCreditCarryforwardAxis": {
     "auth_ref": [
      "r68"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by specific tax credit related to an unused tax credit.",
        "label": "Tax Credit Carryforward [Axis]"
       }
      }
     },
     "localname": "TaxCreditCarryforwardAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxCreditCarryforwardNameDomain": {
     "auth_ref": [
      "r68"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name of the tax credit carryforward.",
        "label": "Tax Credit Carryforward, Name [Domain]"
       }
      }
     },
     "localname": "TaxCreditCarryforwardNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TaxPeriodAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information about the period subject to enacted tax laws.",
        "label": "Tax Period [Axis]"
       }
      }
     },
     "localname": "TaxPeriodAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxPeriodDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identified tax period.",
        "label": "Tax Period [Domain]"
       }
      }
     },
     "localname": "TaxPeriodDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TechnologySectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of the economy consisting of companies engaged in technology-related business activities.",
        "label": "Technology Sector [Member]",
        "terseLabel": "Technology"
       }
      }
     },
     "localname": "TechnologySectorMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TradingActivityByTypeAxis": {
     "auth_ref": [
      "r77"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of trading activity.",
        "label": "Trading Activity [Axis]"
       }
      }
     },
     "localname": "TradingActivityByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TradingActivityByTypeDomain": {
     "auth_ref": [
      "r77"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gains and losses on trading activities (including both derivative and nonderivative instruments) recognized in the statement of financial performance, separately by major types of items (such as fixed income/interest rates, foreign exchange, equity, commodity, and credit).",
        "label": "Trading Activity, by Type [Domain]"
       }
      }
     },
     "localname": "TradingActivityByTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r215",
      "r216",
      "r266",
      "r284",
      "r325",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r597",
      "r598",
      "r599",
      "r631",
      "r632",
      "r633",
      "r634",
      "r635",
      "r636",
      "r637"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Transfers And Servicing Of Financial Instruments Types Of Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnfundedLoanCommitmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Undisbursed funds of a credit facility in which the borrower may draw upon.",
        "label": "Unfunded Loan Commitment [Member]",
        "terseLabel": "Unfunded Loan Commitment"
       }
      }
     },
     "localname": "UnfundedLoanCommitmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized Gain (Loss), Investment and Derivative, Operating, after Tax",
        "negatedLabel": "Net change in unrealized (appreciation) depreciation on investments",
        "terseLabel": "Total net change in unrealized appreciation (depreciation)",
        "verboseLabel": "Net change in unrealized appreciation (depreciation) on investments"
       }
      }
     },
     "localname": "UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefits": {
     "auth_ref": [
      "r301",
      "r306"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrecognized tax benefits.",
        "label": "Unrecognized Tax Benefits",
        "periodEndLabel": "Unrecognized Tax Benefits, Ending Balance",
        "periodStartLabel": "Unrecognized Tax Benefits, Beginning Balance",
        "terseLabel": "Uncertain tax position"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureTaxInformationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnsecuredDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt obligation not collateralized by pledge of, mortgage of or other lien on the entity's assets.",
        "label": "Unsecured Debt [Member]",
        "terseLabel": "Unsecured Notes",
        "verboseLabel": "Unsecured Note"
       }
      }
     },
     "localname": "UnsecuredDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r43",
      "r44",
      "r45",
      "r202",
      "r203",
      "r204",
      "r205"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use Of Estimates",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationTechniqueAxis": {
     "auth_ref": [
      "r83"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by valuation approach and technique.",
        "label": "Valuation Technique [Axis]",
        "terseLabel": "Valuation Approach and Technique"
       }
      }
     },
     "localname": "ValuationTechniqueAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationTechniqueDomain": {
     "auth_ref": [
      "r83"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach and technique.",
        "label": "Valuation Technique [Domain]",
        "terseLabel": "Valuation Approach and Technique"
       }
      }
     },
     "localname": "ValuationTechniqueDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValuationTechniqueOptionPricingModelMember": {
     "auth_ref": [
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation technique calculating price of option.",
        "label": "Valuation Technique, Option Pricing Model [Member]",
        "terseLabel": "Options Pricing Model"
       }
      }
     },
     "localname": "ValuationTechniqueOptionPricingModelMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]",
        "terseLabel": "Variable Rate"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]",
        "terseLabel": "Variable Rate"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Security that gives the holder the right to purchase shares of stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
        "label": "Warrant [Member]",
        "terseLabel": "Warrants"
       }
      }
     },
     "localname": "WarrantMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r192",
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Weighted average shares outstanding diluted",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Diluted, Total"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r191",
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Weighted average shares outstanding basic",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.greatelmcc.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 5
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=77885760&loc=SL35686385-199418",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "https://asc.fasb.org/topic&trid=2122149",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(3))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1-5)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.2)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.4)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(5))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.3)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.3(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.7)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=66023616&loc=d3e9120-115832",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=66023616&loc=d3e9145-115832",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=66023616&loc=d3e9046-115832",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=66023616&loc=d3e9079-115832",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=118262037&loc=d3e9915-115836",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=118262037&loc=d3e9915-115836",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=118262037&loc=d3e9915-115836",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10177-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10328-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10421-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(e)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(h)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/subtopic&trid=2324234",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.12(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-05(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e604008-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124433917&loc=SL114874205-224268",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124433917&loc=SL114874234-224268",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.2(a),(b),(c),(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874367-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874367-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL6090603-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14.1(b)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14.1(b)(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14.1(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "https://asc.fasb.org/subtopic&trid=2324412",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e681-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1278-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1(e))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.3)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5066-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4,6)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(a),(b))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(c),9(a))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.8)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "8",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496180-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "https://asc.fasb.org/topic&trid=2144680",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4946-128472",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=d3e90205-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=SL126733271-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "830",
   "URI": "https://asc.fasb.org/topic&trid=2175825",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org/topic&trid=2122745",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=d3e56071-112765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org/topic&trid=2122774",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4273-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2)(i))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=126898976&loc=d3e600178-122990",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2)(ii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=126898976&loc=d3e600178-122990",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2)(iii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=126898976&loc=d3e600178-122990",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2)(iv))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=126898976&loc=d3e600178-122990",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124439613&loc=SL124453110-224270",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org/topic&trid=2122369",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r440": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r441": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r442": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r443": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r444": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(4)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r445": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921833-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r482": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r483": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r484": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r485": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-23",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r486": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r487": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r488": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r489": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27405-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r490": {
   "Name": "Form F-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r491": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r492": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r493": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r494": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "1",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r495": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r496": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r497": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r498": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "5",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r499": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "6",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(24))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org/topic&trid=2196928",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r500": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "Instruction 2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r501": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "1",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r502": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r503": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r504": {
   "Name": "Form N-2",
   "Paragraph": "d",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r505": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r506": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r507": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r508": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r509": {
   "Name": "Form N-2",
   "Paragraph": "e",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org/topic&trid=2144648",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r510": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r511": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r512": {
   "Name": "Form N-2",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r513": {
   "Name": "Form N-2",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r514": {
   "Name": "Form N-2",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r515": {
   "Name": "Form N-2",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r516": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r517": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 1",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r518": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r519": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a, g, h",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r520": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "f",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r521": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "g",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r522": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "i",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r523": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 11",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r524": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 4",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r525": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 5",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r526": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 6",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r527": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 7",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r528": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 7",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "b",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r529": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 8",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org/topic&trid=2208564",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r530": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 9",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r531": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r532": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r533": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 3",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r534": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 8",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r535": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r536": {
   "Name": "Form N-2",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r537": {
   "Name": "Form N-2",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subparagraph": "Instruction 2",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r538": {
   "Name": "Form N-2",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subparagraph": "Instruction 3",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r539": {
   "Name": "Form N-2",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r540": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 1",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r541": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 4",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r542": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 5",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r543": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 8",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r544": {
   "Name": "Form N-2",
   "Paragraph": "b, d",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r545": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r546": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r547": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "1",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r548": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "2",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r549": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "3",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r550": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r551": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "4",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r552": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 2",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r553": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 3",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r554": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 4",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r555": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instructions 4, 5",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r556": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r557": {
   "Name": "Form N-2",
   "Paragraph": "e",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r558": {
   "Name": "Form N-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r559": {
   "Name": "Form N-4",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r560": {
   "Name": "Form N-6",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r561": {
   "Name": "Form S-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r562": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r563": {
   "Name": "Investment Company Act",
   "Number": "270",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r564": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "313",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r565": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r566": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r567": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "413",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r568": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r569": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "c",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r570": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "d",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r571": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "e",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r572": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "486",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r573": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "486",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r574": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r575": {
   "Name": "Securities Act",
   "Publisher": "SEC",
   "Section": "8",
   "Subsection": "c",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21538-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2626-109256",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 4.C)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187143-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "https://asc.fasb.org/topic&trid=2127136",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.C)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187143-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=124256753&loc=SL5864739-113975",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "https://asc.fasb.org/topic&trid=2208762",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=126898976&loc=d3e600178-122990",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r631": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r632": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r633": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r634": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r635": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r636": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r637": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r638": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r639": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r640": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "217",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126976462&loc=d3e36027-109320",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(4)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "https://asc.fasb.org/topic&trid=2197479",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624186-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624186-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126972413&loc=SL7495116-110257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "59",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126972413&loc=SL6740821-110257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  }
 },
 "version": "2.2"
}
