{
 "version": "2.2",
 "instance": {
  "gecc-20230930.htm": {
   "nsprefix": "gecc",
   "nsuri": "http://www.greatelmcc.com/20230930",
   "dts": {
    "inline": {
     "local": [
      "gecc-20230930.htm"
     ]
    },
    "schema": {
     "local": [
      "gecc-20230930.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://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-roles-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-types-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-roles-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-types-2023.xsd",
      "https://xbrl.sec.gov/cef/2023/cef-2023.xsd",
      "https://xbrl.sec.gov/cef/2023/cef-2023_pre.xsd",
      "https://xbrl.sec.gov/country/2023/country-2023.xsd",
      "https://xbrl.sec.gov/dei/2023/dei-2023.xsd",
      "https://xbrl.sec.gov/dei/2023/dei-2023_lab.xsd",
      "https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd",
      "https://xbrl.sec.gov/ecd/2023/ecd-sub-2023.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "gecc-20230930_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "gecc-20230930_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "gecc-20230930_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "gecc-20230930_pre.xml"
     ]
    }
   },
   "keyStandard": 215,
   "keyCustom": 70,
   "axisStandard": 22,
   "axisCustom": 0,
   "memberStandard": 35,
   "memberCustom": 82,
   "hidden": {
    "total": 9,
    "http://fasb.org/us-gaap/2023": 5,
    "http://xbrl.sec.gov/dei/2023": 4
   },
   "contextCount": 950,
   "entityCount": 1,
   "segmentCount": 121,
   "elementCount": 958,
   "unitCount": 4,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/dei/2023": 40,
    "http://xbrl.sec.gov/ecd/2023": 4,
    "http://fasb.org/us-gaap/2023": 2117,
    "http://xbrl.sec.gov/cef/2023": 69
   },
   "report": {
    "R1": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "longName": "100000 - Document - Document and Entity Information",
     "shortName": "Document and Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "dei:DocumentPeriodEndDate",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
     "longName": "100010 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (unaudited)",
     "shortName": "CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
     "longName": "100020 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (unaudited) (Parenthetical)",
     "shortName": "CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (unaudited) (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:DebtInstrumentUnamortizedDiscount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:DebtInstrumentUnamortizedDiscount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R4": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited",
     "longName": "100030 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (unaudited)",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS (unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "4",
     "firstAnchor": {
      "contextRef": "C_f24f7495-f617-416a-9514-7cb67f3919fb",
      "name": "us-gaap:InterestIncomeOperating",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f24f7495-f617-416a-9514-7cb67f3919fb",
      "name": "us-gaap:OtherInterestAndDividendIncome",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited",
     "longName": "100040 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (unaudited)",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "5",
     "firstAnchor": {
      "contextRef": "C_f24f7495-f617-416a-9514-7cb67f3919fb",
      "name": "us-gaap:InvestmentIncomeNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f24f7495-f617-416a-9514-7cb67f3919fb",
      "name": "us-gaap:InvestmentCompanyDividendDistribution",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSParentheticalUnaudited",
     "longName": "100050 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parenthetical) (unaudited)",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parenthetical) (unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "6",
     "firstAnchor": null,
     "uniqueAnchor": null
    },
    "R7": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited",
     "longName": "100060 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited)",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "7",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:ProfitLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:PaymentsForPurchaseOfInvestmentOperatingActivity",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParentheticalUnaudited",
     "longName": "100070 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical) (unaudited)",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical) (unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "8",
     "firstAnchor": {
      "contextRef": "C_1a0ae482-7b96-4b44-b053-02d9e916f8d2",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_1a0ae482-7b96-4b44-b053-02d9e916f8d2",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited",
     "longName": "100080 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (unaudited)",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "9",
     "firstAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:NonInvestmentAssetsLessNonInvestmentLiabilities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
     "longName": "100090 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Parenthetical) (unaudited)",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (Parenthetical) (unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "10",
     "firstAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:InvestmentOwnedPercentOfNetAssets",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "gecc:PercentageOfNonQualifyingAssets",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
     "longName": "100100 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Investment Consisted)",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (Investment Consisted)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "11",
     "firstAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_336e8e6e-8109-4fea-865b-1dd56f81d193",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue",
     "longName": "100110 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Geographic Composition of Portfolio At Fair Value)",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (Geographic Composition of Portfolio At Fair Value)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "12",
     "firstAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7ad4b37e-3c55-4333-87f5-ab5731ce3350",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
     "longName": "100120 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Industry Composition of Portfolio At Fair Value)",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (Industry Composition of Portfolio At Fair Value)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "13",
     "firstAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_06986e11-d252-4014-8ba4-945575bf240f",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R14": {
     "role": "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
     "longName": "995445 - Disclosure - Insider Trading Arrangements",
     "shortName": "Insider Trading Arrangements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "ecd:Rule10b51ArrAdoptedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "ecd:Rule10b51ArrAdoptedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureOrganization",
     "longName": "995455 - Disclosure - Organization",
     "shortName": "Organization",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPolicies",
     "longName": "995465 - Disclosure - Significant Accounting Policies",
     "shortName": "Significant Accounting Policies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://xbrl.sec.gov/cef/role/N2",
     "longName": "995470 - Disclosure - N-2",
     "shortName": "N-2",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "17",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "dei:EntityFileNumber",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "cef:InvestmentObjectivesAndPracticesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedParties",
     "longName": "995475 - Disclosure - Significant Agreements and Related Parties",
     "shortName": "Significant Agreements and Related Parties",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurement",
     "longName": "995485 - Disclosure - Fair Value Measurement",
     "shortName": "Fair Value Measurement",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebt1",
     "longName": "995495 - Disclosure - Debt",
     "shortName": "Debt",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureCapitalActivity1",
     "longName": "995505 - Disclosure - Capital Activity",
     "shortName": "Capital Activity",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingencies",
     "longName": "995515 - Disclosure - Commitment and Contingencies",
     "shortName": "Commitment and Contingencies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "22",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureIndemnification",
     "longName": "995525 - Disclosure - Indemnification",
     "shortName": "Indemnification",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "23",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "gecc:IndemnificationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "gecc:IndemnificationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFinancialHighlights1",
     "longName": "995535 - Disclosure - Financial Highlights",
     "shortName": "Financial Highlights",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "24",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestments2",
     "longName": "995545 - Disclosure - Affiliates and Controlled Investments",
     "shortName": "Affiliates and Controlled Investments",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "25",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEvents1",
     "longName": "995555 - Disclosure - Subsequent Events",
     "shortName": "Subsequent Events",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "26",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies",
     "longName": "995565 - Disclosure - Significant Accounting Policies (Policies)",
     "shortName": "Significant Accounting Policies (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "27",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementTables",
     "longName": "995575 - Disclosure - Fair Value Measurement (Tables)",
     "shortName": "Fair Value Measurement (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "28",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtTables",
     "longName": "995585 - Disclosure - Debt (Tables)",
     "shortName": "Debt (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "29",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsTables",
     "longName": "995595 - Disclosure - Financial Highlights (Tables)",
     "shortName": "Financial Highlights (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "30",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsTables",
     "longName": "995605 - Disclosure - Affiliates and Controlled Investments (Tables)",
     "shortName": "Affiliates and Controlled Investments (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "31",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails",
     "longName": "995615 - Disclosure - Organization - Additional Information (Details)",
     "shortName": "Organization - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "32",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "dei:EntityIncorporationDateOfIncorporation",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "dei:EntityIncorporationDateOfIncorporation",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
     "longName": "995625 - Disclosure - Significant Accounting Policies - Additional Information (Details)",
     "shortName": "Significant Accounting Policies - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "33",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "gecc:ReverseStockSplitEffectiveDate",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "gecc:RetroactiveAdjustmentsForReverseStockSplitPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "gecc:ReverseStockSplitEffectiveDate",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "gecc:RetroactiveAdjustmentsForReverseStockSplitPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
     "longName": "995635 - Disclosure - Significant Agreements and Related Parties - Additional Information (Details)",
     "shortName": "Significant Agreements and Related Parties - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "34",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:ManagementAndServiceFeesBaseRate",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:ManagementAndServiceFeesBaseRate",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails",
     "longName": "995645 - Disclosure - Fair Value Measurement - Summary of Investment Assets Categorized within Fair Value Hierarchy (Details)",
     "shortName": "Fair Value Measurement - Summary of Investment Assets Categorized within Fair Value Hierarchy (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "35",
     "firstAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d9314953-25a0-4ff4-a448-bfb5346102a9",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R36": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
     "longName": "995655 - Disclosure - Fair Value Measurement - Summary of Reconciliation of Level 3 Assets (Details)",
     "shortName": "Fair Value Measurement - Summary of Reconciliation of Level 3 Assets (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "36",
     "firstAnchor": {
      "contextRef": "C_4311d055-1f49-48ba-af6b-0d23eb2e9582",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_8c36b21f-5434-4797-bd21-b0b785e84060",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R37": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
     "longName": "995665 - Disclosure - Fair Value Measurement - Summary of Reconciliation of Level 3 Assets (Parenthetical) (Details)",
     "shortName": "Fair Value Measurement - Summary of Reconciliation of Level 3 Assets (Parenthetical) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "37",
     "firstAnchor": {
      "contextRef": "C_ee507d3f-5742-48e7-ac13-aa32f8f68f52",
      "name": "gecc:FairValueAssetRecurringBasisNetChangeInUnrealizedAppreciationStillHeld",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_ee507d3f-5742-48e7-ac13-aa32f8f68f52",
      "name": "gecc:FairValueAssetRecurringBasisNetChangeInUnrealizedAppreciationStillHeld",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R38": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
     "longName": "995675 - Disclosure - Fair Value Measurement - Additional Information (Details)",
     "shortName": "Fair Value Measurement - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "38",
     "firstAnchor": {
      "contextRef": "C_ee507d3f-5742-48e7-ac13-aa32f8f68f52",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_60a1f44e-e9bc-46d8-abfd-9cfaafe16031",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R39": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
     "longName": "995685 - Disclosure - Fair Value Measurement - Ranges of Significant Unobservable Inputs to Value Level 3 Assets (Details)",
     "shortName": "Fair Value Measurement - Ranges of Significant Unobservable Inputs to Value Level 3 Assets (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "39",
     "firstAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9f1dc10b-60cf-4f01-a31f-36774a346646",
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisValuationTechniquesTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R40": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
     "longName": "995695 - Disclosure - Debt - Additional Information (Details)",
     "shortName": "Debt - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "40",
     "firstAnchor": {
      "contextRef": "C_21702cac-f2fb-4105-ac44-083a533812ec",
      "name": "us-gaap:LineOfCredit",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:RatioOfIndebtednessToNetCapital1",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "1",
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R41": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
     "longName": "995705 - Disclosure - Debt - Schedule of Senior Securities (Including Debt Securities and Other Indebtedness) (Details)",
     "shortName": "Debt - Schedule of Senior Securities (Including Debt Securities and Other Indebtedness) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "41",
     "firstAnchor": {
      "contextRef": "C_9128ad5a-6bb4-4a38-8cd1-60e233e80e56",
      "name": "us-gaap:LongTermDebt",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9128ad5a-6bb4-4a38-8cd1-60e233e80e56",
      "name": "us-gaap:LongTermDebt",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R42": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
     "longName": "995715 - Disclosure - Debt - Schedule of Senior Securities (Including Debt Securities and Other Indebtedness) (Parenthetical) (Details)",
     "shortName": "Debt - Schedule of Senior Securities (Including Debt Securities and Other Indebtedness) (Parenthetical) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "42",
     "firstAnchor": {
      "contextRef": "C_b356d7cc-f4a3-4c78-9d0d-013d59e91186",
      "name": "gecc:AmountOfAssetCoveragePerUnitExpressedIndebtedness",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_b356d7cc-f4a3-4c78-9d0d-013d59e91186",
      "name": "gecc:AmountOfAssetCoveragePerUnitExpressedIndebtedness",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R43": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails",
     "longName": "995725 - Disclosure - Debt - Summary of Components of Interest Expense (Details)",
     "shortName": "Debt - Summary of Components of Interest Expense (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "43",
     "firstAnchor": {
      "contextRef": "C_f24f7495-f617-416a-9514-7cb67f3919fb",
      "name": "us-gaap:InterestExpenseDebtExcludingAmortization",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gecc:SummaryOfComponentsOfInterestExpenseTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f24f7495-f617-416a-9514-7cb67f3919fb",
      "name": "us-gaap:InterestExpenseDebtExcludingAmortization",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "gecc:SummaryOfComponentsOfInterestExpenseTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R44": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
     "longName": "995735 - Disclosure - Debt - Summary of Commitments, Borrowings Outstanding and Fair Value of Notes (Details)",
     "shortName": "Debt - Summary of Commitments, Borrowings Outstanding and Fair Value of Notes (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "44",
     "firstAnchor": {
      "contextRef": "C_2109b12d-3f7c-44f9-b36c-281c0839e671",
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_2109b12d-3f7c-44f9-b36c-281c0839e671",
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R45": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
     "longName": "995745 - Disclosure - Capital Activity - Additional Information (Details)",
     "shortName": "Capital Activity - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "45",
     "firstAnchor": {
      "contextRef": "C_002429ce-6c91-4177-b27e-c1c29939a6ec",
      "name": "us-gaap:SaleOfStockPricePerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_002429ce-6c91-4177-b27e-c1c29939a6ec",
      "name": "us-gaap:SaleOfStockPricePerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R46": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
     "longName": "995755 - Disclosure - Commitment and Contingencies - Additional Information (Details)",
     "shortName": "Commitment and Contingencies - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "46",
     "firstAnchor": {
      "contextRef": "C_fb37ac23-65a0-465b-afe5-c3a7ccb99d10",
      "name": "us-gaap:LossContingencyDamagesSoughtValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_fb37ac23-65a0-465b-afe5-c3a7ccb99d10",
      "name": "us-gaap:LossContingencyDamagesSoughtValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R47": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails",
     "longName": "995765 - Disclosure - Financial Highlights - Schedule of Financial Highlights of the Company (Details)",
     "shortName": "Financial Highlights - Schedule of Financial Highlights of the Company (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "47",
     "firstAnchor": {
      "contextRef": "C_fbbe62f3-4b40-4494-a4ed-e2b08785c6a3",
      "name": "us-gaap:NetAssetValuePerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cef:SharePriceTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:InvestmentCompanyGainLossOnInvestmentPerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R48": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyParentheticalDetails",
     "longName": "995775 - Disclosure - Financial Highlights - Schedule of Financial Highlights of the Company (Parenthetical) (Details)",
     "shortName": "Financial Highlights - Schedule of Financial Highlights of the Company (Parenthetical) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "48",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "gecc:AverageNetAssets",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "gecc:AverageNetAssets",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R49": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
     "longName": "995785 - Disclosure - Affiliates and Controlled Investments - Additional Information (Details)",
     "shortName": "Affiliates and Controlled Investments - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "49",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "gecc:PercentageOfAggregateFairValueOfNonControlledAffiliatedInvestments",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "gecc:PercentageOfAggregateFairValueOfNonControlledAffiliatedInvestments",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true,
      "unique": true
     }
    },
    "R50": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
     "longName": "995795 - Disclosure - Affiliates and Controlled Investments - Schedule of Fair Value with Transactions in Affiliated investments and controlled investments (Details)",
     "shortName": "Affiliates and Controlled Investments - Schedule of Fair Value with Transactions in Affiliated investments and controlled investments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "50",
     "firstAnchor": {
      "contextRef": "C_21702cac-f2fb-4105-ac44-083a533812ec",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_a4943e5d-5121-486f-ac6e-65bc3e93027e",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R51": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
     "longName": "995805 - Disclosure - Affiliates and Controlled Investments - Schedule of Fair Value with Transactions in Affiliated investments and controlled investments (Parenthetical) (Details)",
     "shortName": "Affiliates and Controlled Investments - Schedule of Fair Value with Transactions in Affiliated investments and controlled investments (Parenthetical) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "51",
     "firstAnchor": {
      "contextRef": "C_1b63fa09-2225-48e7-8d5e-a3c900c270c6",
      "name": "gecc:PercentageOfClassInAffiliatedInvestments",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_ed20af9e-7e95-4177-93c9-b6a551c130ef",
      "name": "gecc:PercentageOfClassInAffiliatedInvestments",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    },
    "R52": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails",
     "longName": "995815 - Disclosure - Affiliates and Controlled Investments - Schedule of Unaudited Financial Information (Details)",
     "shortName": "Affiliates and Controlled Investments - Schedule of Unaudited Financial Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "52",
     "firstAnchor": {
      "contextRef": "C_cccf786b-54ee-41b6-81a5-d3a6310c95f4",
      "name": "us-gaap:Assets",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R53": {
     "role": "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
     "longName": "995825 - Disclosure - Subsequent Events - Additional Information (Details)",
     "shortName": "Subsequent Events - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "53",
     "firstAnchor": {
      "contextRef": "C_c5c29963-f1b0-477a-87d7-5e43b29bf48d",
      "name": "us-gaap:InvestmentCompanyDistributionToShareholdersPerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_b489f005-f96c-49b3-96c3-4786af3bd78c",
      "name": "us-gaap:DividendsPayableAmountPerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "gecc-20230930.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "us-gaap_FinancialInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancialInstrumentAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Instrument",
        "label": "Financial Instrument [Axis]",
        "documentation": "Information by type of financial instrument."
       }
      }
     },
     "auth_ref": [
      "r184",
      "r185",
      "r186",
      "r187",
      "r188",
      "r189",
      "r190",
      "r191",
      "r192",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r219",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r225",
      "r226",
      "r267",
      "r285",
      "r337",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r415",
      "r668",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r887",
      "r888",
      "r889",
      "r890"
     ]
    },
    "us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SOFR",
        "label": "Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r905"
     ]
    },
    "gecc_EquitransMidstreamCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EquitransMidstreamCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equitrans Midstream Corp. 2200 Energy Drive Canonsburg, PA 15317",
        "label": "Equitrans Midstream Corp [Member]",
        "documentation": "Equitrans Midstream Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GeccmNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GeccmNotesMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "GECCM Notes [Member]",
        "label": "GECCM Notes [Member]",
        "documentation": "GECCM notes."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentInterestRatePaidInKind": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentInterestRatePaidInKind",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest Rate, PIK",
        "label": "Investment, Interest Rate, Paid in Kind",
        "documentation": "Rate of interest paid in kind on investment."
       }
      }
     },
     "auth_ref": [
      "r549",
      "r568",
      "r572",
      "r606"
     ]
    },
    "gecc_ForumEnergyTechnologiesIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ForumEnergyTechnologiesIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forum Energy Technologies, Inc. 10344 Sam Houston Park Drive, Suite 300 Houston, TX 77064",
        "label": "Forum Energy Technologies Inc [Member]",
        "documentation": "Forum Energy Technologies, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GainLossOnInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net realized and unrealized gains (losses)",
        "label": "Gain (Loss) on Investments",
        "totalLabel": "Net realized and unrealized gains (losses)",
        "documentation": "Amount of realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r74",
      "r859"
     ]
    },
    "gecc_SterlingCommercialCreditLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SterlingCommercialCreditLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sterling Commercial Credit, LLC 10153 Grand River Rd Brighton, MI 48116",
        "label": "Sterling Commercial Credit L L C [Member]",
        "documentation": "Sterling Commercial Credit, LLC.",
        "verboseLabel": "Sterling Commercial Credit LLC"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_NetRealizedGainLossOnRepurchaseOfDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NetRealizedGainLossOnRepurchaseOfDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net realized gain on repurchase of debt",
        "label": "Net Realized Gain Loss On Repurchase Of Debt",
        "documentation": "Net realized gain on repurchase of debt."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ParPetroleumLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ParPetroleumLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Par Petroleum, LLC 825 Town &amp; Country Lane, Suite 1500 Houston, TX 77024",
        "label": "Par Petroleum L L C [Member]",
        "documentation": "Par Petroleum, LLC."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentInterestRatePaidInCash": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentInterestRatePaidInCash",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest Rate, Cash",
        "label": "Investment, Interest Rate, Paid in Cash",
        "documentation": "Rate of interest paid in cash on investment."
       }
      }
     },
     "auth_ref": [
      "r943",
      "r945",
      "r947",
      "r950"
     ]
    },
    "us-gaap_ProfitLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProfitLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "parentTag": "us-gaap_StockholdersEquityPeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net increase (decrease) in net assets resulting from operations",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "totalLabel": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest, Total",
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r114",
      "r124",
      "r125",
      "r131",
      "r139",
      "r144",
      "r150",
      "r151",
      "r164",
      "r168",
      "r172",
      "r174",
      "r218",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r330",
      "r333",
      "r334",
      "r340",
      "r348",
      "r406",
      "r413",
      "r441",
      "r506",
      "r531",
      "r533",
      "r661",
      "r680",
      "r681",
      "r694",
      "r873",
      "r897"
     ]
    },
    "us-gaap_InvestmentInterestRateFloor": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentInterestRateFloor",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest Rate, Floor",
        "label": "Investment, Interest Rate, Floor",
        "documentation": "Minimum rate of interest on investment."
       }
      }
     },
     "auth_ref": [
      "r943",
      "r945",
      "r947",
      "r950"
     ]
    },
    "gecc_CatchaInvestmentCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CatchaInvestmentCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Catcha Investment Corp [Member]",
        "documentation": "Catcha Investment Corp.",
        "terseLabel": "Catcha Investment Corp Level 42, Suntec Tower Three, 8 Temasek Blvd, Singapore 038988"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_MiscellaneousMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "MiscellaneousMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Miscellaneous",
        "label": "Miscellaneous [Member]",
        "documentation": "Miscellaneous."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Commitments, Borrowings Outstanding and Fair Value of Notes",
        "label": "Schedule of Carrying Values and Estimated Fair Values of Debt Instruments [Table Text Block]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentRepurchaseAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentRepurchaseAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt instrument purchased amount",
        "label": "Debt Instrument, Repurchase Amount",
        "documentation": "Fair value amount of debt instrument that was repurchased."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CapitalLossCarryforwardLongTerm": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CapitalLossCarryforwardLongTerm",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capital loss carryforward, long-term",
        "label": "Capital Loss Carryforward Long Term",
        "documentation": "Capital loss carryforward, long-term."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Award Types",
        "terseLabel": "All Award Types",
        "documentation": "Award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r298",
      "r299",
      "r300",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323"
     ]
    },
    "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]",
        "terseLabel": "Supplemental disclosure of non-cash financing activities:"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code",
        "documentation": "Two-character EDGAR code representing the state or country of incorporation."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_EquityFundsFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EquityFundsFourMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Funds Four",
        "label": "Equity Funds Four [Member]",
        "documentation": "Equity Funds Four [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentMaturityDate",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maturity",
        "label": "Investment Maturity Date",
        "documentation": "Maturity date of investment, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r548",
      "r549",
      "r567",
      "r568",
      "r572",
      "r573",
      "r605",
      "r606",
      "r686",
      "r884",
      "r886"
     ]
    },
    "gecc_EaglePointCreditCompanyIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EaglePointCreditCompanyIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ManagementFeePayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ManagementFeePayable",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Management fee payable",
        "label": "Management Fee Payable",
        "documentation": "Amount of fee payable for management of fund or trust."
       }
      }
     },
     "auth_ref": [
      "r478"
     ]
    },
    "gecc_AgileGrowthCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AgileGrowthCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Agile Growth Corp Riverside Center 275 Grove Street, Suite 2-400 Newton, MA 02466",
        "label": "Agile Growth Corp [Member]",
        "documentation": "Agile Growth Corp."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfCapitalizationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfCapitalizationLineItems",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Capitalization [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ScienceStrategicAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ScienceStrategicAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Science Strategic Acquisition Corp. Alpha 1447 2nd Street Santa Monica, CA 90401",
        "label": "Science Strategic Acquisition Corp [Member]",
        "documentation": "Science Strategic Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ApparelMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ApparelMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Apparel",
        "label": "Apparel [Member]",
        "documentation": "Apparel."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SixPointSevenFivePercentNotesDueTwoThousandTwentyFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SixPointSevenFivePercentNotesDueTwoThousandTwentyFiveMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Six Point Seven Five Percent Notes Due Two Thousand Twenty Five [Member]",
        "documentation": "Six point seven five percent notes due two thousand twenty five.",
        "terseLabel": "6.75% Notes due 2025",
        "verboseLabel": "GECCM Notes"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevolvingCreditFacilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RevolvingCreditFacilityMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Revolving Credit Facility",
        "label": "Revolving Credit Facility [Member]",
        "terseLabel": "Senior Secured Revolving Line of Credit",
        "documentation": "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SustainableDevelopmentAcquisitionICorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SustainableDevelopmentAcquisitionICorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sustainable Development Acquisition I Corp. 5701 Truxtun Avenue, Suite 201 Bakersfield, CA 90036",
        "label": "Sustainable Development Acquisition I Corp [Member]",
        "documentation": "Sustainable Development Acquisition I Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CommunicationsEquipmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommunicationsEquipmentMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Communications Equipment",
        "label": "Communications Equipment [Member]",
        "documentation": "Communications equipment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharePrice",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Price",
        "documentation": "Price of a single share of a number of saleable stocks of a company."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_PvpTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "PvpTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Table]",
        "terseLabel": "Pay vs Performance Disclosure"
       }
      }
     },
     "auth_ref": [
      "r810"
     ]
    },
    "gecc_FirstLienSecuredLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FirstLienSecuredLoanMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "1st Lien, Secured Loan",
        "label": "First Lien Secured Loan [Member]",
        "documentation": "First lien, secured loan."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIssuerAffiliationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentIssuerAffiliationDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Issuer Affiliation [Domain]",
        "documentation": "Affiliation of issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r425",
      "r440",
      "r464",
      "r474",
      "r488",
      "r489",
      "r510",
      "r511",
      "r512",
      "r513",
      "r519",
      "r520",
      "r525",
      "r526",
      "r554",
      "r555",
      "r561",
      "r586",
      "r590",
      "r591",
      "r609",
      "r610",
      "r612",
      "r613",
      "r617",
      "r618",
      "r622",
      "r623",
      "r624"
     ]
    },
    "us-gaap_TradingActivityByTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TradingActivityByTypeDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Activity, by Type [Domain]",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureOrganization"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Organization",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure."
       }
      }
     },
     "auth_ref": [
      "r55",
      "r90",
      "r423",
      "r424"
     ]
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingencies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments and Contingencies",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "documentation": "The entire disclosure for commitments and contingencies."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r227",
      "r228",
      "r641",
      "r893"
     ]
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of Financing Receivable",
        "label": "Class of Financing Receivable [Axis]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r34",
      "r110",
      "r111",
      "r112",
      "r113",
      "r179",
      "r180",
      "r181",
      "r182",
      "r183",
      "r221",
      "r222",
      "r223",
      "r662",
      "r663",
      "r664",
      "r666",
      "r667",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r869",
      "r870"
     ]
    },
    "gecc_FortistarSustainableSolutionsCorp1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FortistarSustainableSolutionsCorp1Member",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fortistar Sustainable Solutions Corp. 1",
        "label": "Fortistar Sustainable Solutions Corp1 [Member]",
        "documentation": "Fortistar Sustainable Solutions Corp. 1."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TradingActivityByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TradingActivityByTypeAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Activity [Axis]",
        "documentation": "Information by type of trading activity."
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "gecc_TransportationEquipmentManufacturingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TransportationEquipmentManufacturingMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transportation Equipment Manufacturing",
        "label": "Transportation Equipment Manufacturing [Member]",
        "documentation": "Transportation equipment manufacturing."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of Financing Receivable",
        "label": "Class of Financing Receivable [Domain]",
        "documentation": "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk."
       }
      }
     },
     "auth_ref": [
      "r110",
      "r111",
      "r112",
      "r113",
      "r180",
      "r181",
      "r182",
      "r183",
      "r662",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r869",
      "r870"
     ]
    },
    "gecc_PivotalInvestmentCorpIIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PivotalInvestmentCorpIIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pivotal Investment Corp III The Chrysler Building 405 Lexington Avenue, 11th Floor New York, NY 10174",
        "label": "Pivotal Investment Corp I I I [Member]",
        "documentation": "Pivotal Investment Corp III."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EmployeeStockOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EmployeeStockOptionMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Stock Option [Member]",
        "terseLabel": "Employee Stock Option",
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Securities Act File Number",
        "terseLabel": "Entity File Number",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquitySecuritiesIndustryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquitySecuritiesIndustryMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Industry Sector",
        "label": "Industry Sector [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r461",
      "r465",
      "r468",
      "r554",
      "r569",
      "r590",
      "r624",
      "r686"
     ]
    },
    "us-gaap_EquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_DebtInstrumentDenominationIntegralMultiples": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DebtInstrumentDenominationIntegralMultiples",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument Denomination integral multiples.",
        "label": "Debt Instrument Denomination Integral Multiples",
        "terseLabel": "Debt instrument denomination integral multiples"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CityNationalBankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CityNationalBankMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "City National Bank",
        "label": "City National Bank [Member]",
        "documentation": "City national bank."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RealizedInvestmentGainsLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RealizedInvestmentGainsLosses",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "parentTag": "us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net realized (gain) loss on investments",
        "terseLabel": "Total net realized gain (loss)",
        "label": "Realized Investment Gains (Losses)",
        "totalLabel": "Realized Investment Gains (Losses), Total",
        "verboseLabel": "Net realized gain (loss)",
        "documentation": "Amount of realized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r419"
     ]
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock, shares issued",
        "label": "Common Stock, Shares, Issued",
        "verboseLabel": "Shares of common stock sold",
        "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."
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate fair value transferred from Level 2 to Level 3",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Transfers Into Level 3",
        "documentation": "Amount of transfer of financial instrument classified as an asset into level 3 of the fair value hierarchy."
       }
      }
     },
     "auth_ref": [
      "r347"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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",
        "documentation": "Amount of transfers of financial instrument classified as an asset out of level 3 of the fair value hierarchy."
       }
      }
     },
     "auth_ref": [
      "r347"
     ]
    },
    "us-gaap_InvestmentIssuerAffiliationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentIssuerAffiliationAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Issuer Affiliation [Axis]",
        "documentation": "Information by affiliation of issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r425",
      "r440",
      "r464",
      "r474",
      "r488",
      "r489",
      "r510",
      "r511",
      "r512",
      "r513",
      "r519",
      "r520",
      "r525",
      "r526",
      "r554",
      "r555",
      "r561",
      "r586",
      "r590",
      "r591",
      "r609",
      "r610",
      "r612",
      "r613",
      "r617",
      "r618",
      "r622",
      "r623",
      "r624"
     ]
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongtermDebtTypeDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Term Debt, Type",
        "label": "Long-Term Debt, Type [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r18",
      "r35"
     ]
    },
    "us-gaap_CommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockValue",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock, par value $0.01 per share (100,000,000 shares authorized, 7,601,958 shares issued and outstanding and 7,601,958 shares issued and outstanding, respectively)",
        "label": "Common Stock, Value, Issued",
        "verboseLabel": "Common stock, value",
        "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."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r410",
      "r682"
     ]
    },
    "gecc_NetChangeInShortTermInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NetChangeInShortTermInvestments",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net change in short-term investments",
        "label": "Net Change In Short Term Investments",
        "documentation": "Net change in short-term investments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentAffiliatedIssuerControlledMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentAffiliatedIssuerControlledMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Controlled Investments",
        "label": "Investment, Affiliated Issuer, Controlled [Member]",
        "documentation": "Controlled affiliated issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r425",
      "r440",
      "r480",
      "r482",
      "r488",
      "r503",
      "r510",
      "r511",
      "r618"
     ]
    },
    "us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentAffiliatedIssuerNoncontrolledMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-Controlled, Affiliated Investments",
        "label": "Investment, Affiliated Issuer, Noncontrolled [Member]",
        "documentation": "Noncontrolled affiliated issuer of investment."
       }
      }
     },
     "auth_ref": [
      "r425",
      "r440",
      "r481",
      "r483",
      "r489",
      "r503",
      "r510",
      "r511",
      "r598",
      "r609",
      "r610",
      "r612",
      "r613",
      "r617",
      "r618",
      "r622",
      "r623",
      "r624"
     ]
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesAuthorized",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock, shares authorized",
        "label": "Common Stock, Shares Authorized",
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r486"
     ]
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesOutstanding",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock, shares outstanding",
        "label": "Common Stock, Shares, Outstanding",
        "periodStartLabel": "Shares outstanding at the beginning of the period",
        "periodEndLabel": "Shares outstanding at the end of the period",
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r63",
      "r486",
      "r504",
      "r938",
      "r939"
     ]
    },
    "us-gaap_UnfundedLoanCommitmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UnfundedLoanCommitmentMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unfunded Loan Commitment",
        "label": "Unfunded Loan Commitment [Member]",
        "documentation": "Undisbursed funds of a credit facility in which the borrower may draw upon."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Purchases",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases",
        "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."
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "gecc_GreatElmHealthcareFinanceLlcMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GreatElmHealthcareFinanceLlcMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Great Elm Healthcare Finance, LLC",
        "label": "Great Elm Healthcare Finance, LLC [Member]",
        "documentation": "Great Elm Healthcare Finance, LLC."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentAcquisitionDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentAcquisitionDate",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Initial Acquisition Date",
        "label": "Investment, Acquisition Date",
        "documentation": "Date when investment is acquired, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r556",
      "r565",
      "r581",
      "r623"
     ]
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestments2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments in and Advances to Affiliates, Schedule of Investments [Text Block]",
        "terseLabel": "Affiliated and Controlled Investments",
        "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."
       }
      }
     },
     "auth_ref": [
      "r101",
      "r604",
      "r619",
      "r620"
     ]
    },
    "gecc_JawsMustangAcquisitionCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "JawsMustangAcquisitionCorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Jaws Mustang Acquisition Corporation 1601 Washington Avenue, Suite 800 Miami Beach, FL 33139",
        "label": "Jaws Mustang Acquisition Corporation [Member]",
        "documentation": "Jaws mustang acquisition corporation."
       }
      }
     },
     "auth_ref": []
    },
    "dei_InvestmentCompanyActFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "InvestmentCompanyActFileNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act File Number"
       }
      }
     },
     "auth_ref": [
      "r726",
      "r793",
      "r794",
      "r795"
     ]
    },
    "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Expense, after Reduction of Fee Waiver and Reimbursement",
        "totalLabel": "Net expenses",
        "documentation": "Amount, after reimbursement and fee waiver, of expense for generation of investment income classified as operating."
       }
      }
     },
     "auth_ref": [
      "r935"
     ]
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfDebtInstrumentsTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Senior Securities (Including Debt Securities and Other Indebtedness)",
        "label": "Schedule of Long-Term Debt Instruments [Table Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r18",
      "r36",
      "r38",
      "r46",
      "r47",
      "r48",
      "r54",
      "r86",
      "r87",
      "r670",
      "r672",
      "r879"
     ]
    },
    "gecc_ConsumerServicesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ConsumerServicesMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consumer Services",
        "label": "Consumer Services [Member]",
        "documentation": "Consumer services."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_LevyStormerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "LevyStormerMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Levy/Stormer 905 South Boulevard East Rochester Hills, MI 48307",
        "label": "Levy Stormer [Member]",
        "documentation": "Levy/Stormer."
       }
      }
     },
     "auth_ref": []
    },
    "srt_EuropeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "EuropeMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Europe",
        "label": "Europe [Member]"
       }
      }
     },
     "auth_ref": [
      "r942",
      "r944",
      "r946",
      "r949"
     ]
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ECLEntertainmentLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ECLEntertainmentLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ECL Entertainment, LLC 8978 Spanish Ridge Ave Las Vegas, NV 89148",
        "label": "E C L Entertainment L L C [Member]",
        "documentation": "ECL Entertainment, LLC."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TishmanSpeyerInnovationCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TishmanSpeyerInnovationCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tishman Speyer Innovation Corp. II Rockefeller Center 45 Rockefeller Plaza New York\u00a0,\u00a0NY 10111",
        "label": "Tishman Speyer Innovation Corp I I [Member]",
        "documentation": "Tishman Speyer Innovation Corp. II."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CommonEquityEightyPercentageOfClassMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommonEquityEightyPercentageOfClassMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity (80% of class)",
        "label": "Common Equity Eighty Percentage Of Class [Member]",
        "documentation": "Common equity eighty percentage of class."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TRUUKAsiaLimitedLiquidatingTrustMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TRUUKAsiaLimitedLiquidatingTrustMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "TRU (UK) Asia Limited Liquidating Trust Cannon Place, 78 Cannon Street, London, EC4N 6AF",
        "label": "T R U U K Asia Limited Liquidating Trust [Member]",
        "documentation": "TRU (UK) Asia Limited Liquidating Trust."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CapitalLossCarryforward": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CapitalLossCarryforward",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capital loss carryforward",
        "label": "Capital Loss Carryforward",
        "documentation": "Capital loss carryforward."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityMethodInvestmentsAndJointVenturesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityMethodInvestmentsAndJointVenturesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Method Investments and Joint Ventures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SummitMidstreamHoldingsLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SummitMidstreamHoldingsLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summit Midstream Holdings, LLC 910 Louisiana Street, Suite 4200 Houston, TX 77002",
        "label": "Summit Midstream Holdings L L C [Member]",
        "documentation": "Summit Midstream Holdings, LLC."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_AccelerateAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AccelerateAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accelerate Acquisition Corp. 51 John F Kennedy Parkway Short Hills, NJ 07078",
        "label": "Accelerate Acquisition Corp [Member]",
        "documentation": "Accelerate Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TritiumDCFCLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TritiumDCFCLtdMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tritium DCFC Ltd 23 Archimedes Place Murarrie, QLD Australia",
        "label": "Tritium D C F C Ltd [Member]",
        "documentation": "Tritium DCFC Ltd."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromIssuanceOfLongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromIssuanceOfLongTermDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance of notes payable",
        "label": "Proceeds from Issuance of Long-Term Debt",
        "totalLabel": "Proceeds from Issuance of Long-Term Debt, Total",
        "documentation": "The cash inflow from a debt initially having maturity due after one year or beyond the operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r431"
     ]
    },
    "us-gaap_ManagementAndServiceFeesBaseRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ManagementAndServiceFeesBaseRate",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management and Service Fees, Base Rate",
        "terseLabel": "Management fee calculated at annual rate of average adjusted gross assets",
        "documentation": "Base rate for management and service fees under arrangement to manage operations, including, but not limited to, investment."
       }
      }
     },
     "auth_ref": [
      "r937"
     ]
    },
    "gecc_InvestmentDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "InvestmentDebtMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt",
        "label": "Investment Debt [Member]",
        "documentation": "Investment debt."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccountingPoliciesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FASTAcquisitionCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FASTAcquisitionCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FAST Acquisition Corp II",
        "label": "F A S T Acquisition Corp I I [Member]",
        "documentation": "FAST Acquisition Corp II."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SecurityObligationsOfOwnershipTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SecurityObligationsOfOwnershipTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Obligations of Ownership [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r734"
     ]
    },
    "gecc_PercentageOfClassInAffiliatedInvestments": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfClassInAffiliatedInvestments",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Equity interests purchased by strategic investor",
        "documentation": "Equity interest percentage class in affiliates.",
        "label": "Equity Interest Percentage Class in Affiliates",
        "terseLabel": "Percentage of class"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FusionAcquisitionCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FusionAcquisitionCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fusion Acquisition Corp II",
        "label": "Fusion Acquisition Corp I I [Member]",
        "documentation": "Fusion Acquisition Corp II."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ManagementAndServiceFeesIncentiveRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ManagementAndServiceFeesIncentiveRate",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management and Service Fees, Incentive Rate",
        "terseLabel": "Income incentive fee calculation percentage on pre-incentive fee net investment income",
        "documentation": "Rate based on performance for management and service fees under arrangement to manage operations, including, but not limited to, investment."
       }
      }
     },
     "auth_ref": [
      "r937"
     ]
    },
    "gecc_HarveyGulfHoldingsLlcMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "HarveyGulfHoldingsLlcMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ArcLightCleanTransitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ArcLightCleanTransitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ArcLight Clean Transition Corp 200 Clarendon Street, 55th Floor Boston, MA 02116",
        "label": "Arc Light Clean Transition Corp [Member]",
        "documentation": "ArcLight Clean Transition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GoresHoldingsVIIIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GoresHoldingsVIIIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gores Holdings VII, Inc.",
        "label": "Gores Holdings V I I Inc [Member]",
        "documentation": "Gores Holdings VII, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FrontierAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FrontierAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Frontier Acquisition Corp",
        "label": "Frontier Acquisition Corp [Member]",
        "documentation": "Frontier Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ChemicalsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ChemicalsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Chemicals",
        "label": "Chemicals [Member]",
        "documentation": "Chemicals."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ShippingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ShippingMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shipping.",
        "label": "Shipping [Member]",
        "terseLabel": "Shipping"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_AffiliatedInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AffiliatedInvestmentsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Affiliated Investments",
        "label": "Affiliated Investments [Member]",
        "documentation": "Affiliated investments."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_WTOffshoreIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "WTOffshoreIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "W&amp;T Offshore, Inc. 5718 Westheimer Road, Suite 700 Houston, TX 77057",
        "label": "W T Offshore Inc [Member]",
        "documentation": "W&amp;T Offshore, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PercentageOfAggregateFairValueOfNonControlledAffiliatedInvestments": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfAggregateFairValueOfNonControlledAffiliatedInvestments",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of aggregate fair value of non-controlled, affiliated investments",
        "label": "Percentage Of Aggregate Fair Value Of Non Controlled Affiliated Investments",
        "documentation": "Percentage of aggregate fair value of non-controlled, affiliated investments."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_StockholdersEquityNoteFractionalShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "StockholdersEquityNoteFractionalShares",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fractional shares",
        "label": "Stockholders Equity Note Fractional Shares",
        "documentation": "Stockholders equity note fractional shares."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of principal amount redeemed",
        "label": "Debt Instrument, Redemption Price, Percentage of Principal Amount Redeemed",
        "documentation": "Percentage of principal amount of debt redeemed."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementOfFinancialPositionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FTACHeraAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FTACHeraAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FTAC Hera Acquisition Corp.",
        "label": "F T A C Hera Acquisition Corp [Member]",
        "documentation": "FTAC Hera Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SlamCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SlamCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Slam Corp. 55 Hudson Yards, 47th Floor, Suite C New York, NY 10001",
        "label": "Slam Corp [Member]",
        "documentation": "Slam Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ContributionsToInvestmentsPaidInAdvanceOfTradeDate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ContributionsToInvestmentsPaidInAdvanceOfTradeDate",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Contributions to investments paid in advance of trade date",
        "label": "Contributions to Investments Paid in Advance of Trade Date",
        "documentation": "Contributions to investments paid in advance of trade date."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TotalShortTermInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TotalShortTermInvestmentsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Short-Term Investments",
        "label": "Total Short Term Investments [Member]",
        "documentation": "Total short-term investments."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FathomDigitalManufacturingCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FathomDigitalManufacturingCorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fathom Digital Manufacturing Corporation",
        "label": "Fathom Digital Manufacturing Corporation [Member]",
        "documentation": "Fathom Digital Manufacturing Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CumulativeAccruedIncentiveFeesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CumulativeAccruedIncentiveFeesPayable",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative accrued incentive fees payable.",
        "label": "Cumulative Accrued Incentive Fees Payable",
        "terseLabel": "Cumulative accrued incentive fees payable"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CapitalizedPaymentInKindInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CapitalizedPaymentInKindInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capitalized payment-in-kind Interest.",
        "label": "Capitalized Payment-in-kind Interest",
        "negatedLabel": "Capitalized payment-in-kind interest"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss)",
        "terseLabel": "Net Income (Loss)",
        "totalLabel": "Net profit from operations",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent."
       }
      }
     },
     "auth_ref": [
      "r69",
      "r80",
      "r96",
      "r114",
      "r124",
      "r125",
      "r127",
      "r139",
      "r144",
      "r145",
      "r146",
      "r147",
      "r148",
      "r150",
      "r151",
      "r156",
      "r164",
      "r168",
      "r172",
      "r174",
      "r218",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r340",
      "r348",
      "r414",
      "r506",
      "r531",
      "r533",
      "r661",
      "r693",
      "r897"
     ]
    },
    "gecc_RestaurantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "RestaurantsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restaurants",
        "label": "Restaurants [Member]",
        "documentation": "Restaurants."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_VantageSpecialtyChemicalsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "VantageSpecialtyChemicalsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vantage Specialty Chemicals, Inc. 1751 Lake Cook Rd., Suite 550 Deerfield, IL 60015",
        "label": "Vantage Specialty Chemicals Inc [Member]",
        "documentation": "Vantage Specialty Chemicals, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseDebtExcludingAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseDebtExcludingAmortization",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestExpenseDebt",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Borrowing interest expense",
        "label": "Interest Expense, Debt, Excluding Amortization",
        "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."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r263",
      "r672",
      "r673"
     ]
    },
    "srt_StatementGeographicalAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "StatementGeographicalAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Geographical",
        "label": "Geographical [Axis]"
       }
      }
     },
     "auth_ref": [
      "r176",
      "r177",
      "r461",
      "r465",
      "r467",
      "r554",
      "r569",
      "r590",
      "r624",
      "r640",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r654",
      "r675",
      "r686",
      "r902",
      "r923"
     ]
    },
    "gecc_AvationCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AvationCapitalMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Avation Capital SA 65 Kampong Bahru Road, #01-01 Singapore 169370",
        "label": "Avation Capital [Member]",
        "documentation": "Avation capital."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ClosedEndFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ClosedEndFundMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Closed-End Fund.",
        "label": "Closed-End Fund [Member]",
        "terseLabel": "Closed-End Fund"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetInvestmentIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetInvestmentIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Investment Income",
        "terseLabel": "Net investment income before taxes",
        "totalLabel": "Net investment income before taxes",
        "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."
       }
      }
     },
     "auth_ref": [
      "r102",
      "r416",
      "r417",
      "r518",
      "r693"
     ]
    },
    "gecc_PathfinderAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PathfinderAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pathfinder Acquisition Corp 1950 University Avenue, Suite 350 Palo Alto, CA 94303",
        "label": "Pathfinder Acquisition Corp [Member]",
        "documentation": "Pathfinder Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_RumbleIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "RumbleIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rumble Inc [Member].",
        "label": "Rumble Inc [Member]",
        "terseLabel": "Rumble Inc. 444 Gulf of Mexico Drive Longboat Key, FL 34228"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FractionalSharesRedeemedForCashInLieuOfReverseStockSplitShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FractionalSharesRedeemedForCashInLieuOfReverseStockSplitShares",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fractional shares redeemed for cash in lieu of reverse stock split",
        "label": "Fractional Shares Redeemed For Cash In Lieu Of Reverse Stock Split Shares",
        "documentation": "Fractional shares redeemed for cash in lieu of reverse stock split, shares.",
        "negatedLabel": "Fractional shares redeemed for cash in lieu of reverse stock split"
       }
      }
     },
     "auth_ref": []
    },
    "srt_SegmentGeographicalDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "SegmentGeographicalDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Geographical",
        "label": "Geographical [Domain]"
       }
      }
     },
     "auth_ref": [
      "r176",
      "r177",
      "r461",
      "r465",
      "r467",
      "r554",
      "r569",
      "r590",
      "r624",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r654",
      "r675",
      "r686",
      "r902",
      "r923"
     ]
    },
    "gecc_IncentiveFeeExpenseReversal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "IncentiveFeeExpenseReversal",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Incentive fees",
        "label": "Incentive Fee Expense (Reversal)",
        "documentation": "Incentive fee expense (reversal)."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_LummusTechnologyHoldingsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "LummusTechnologyHoldingsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Lummus Technology Holdings 5825 N. Sam Houston Parkway West, #600 Houston, TX 77086",
        "label": "Lummus Technology Holdings [Member]",
        "documentation": "Lummus Technology Holdings."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FortressValueAcquisitionCorpIVMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FortressValueAcquisitionCorpIVMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fortress Value Acquisition Corp. IV",
        "label": "Fortress Value Acquisition Corp I V [Member]",
        "documentation": "Fortress Value Acquisition Corp. IV."
       }
      }
     },
     "auth_ref": []
    },
    "cef_PreferredStockRestrictionsArrearageTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "PreferredStockRestrictionsArrearageTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Arrearage [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r736"
     ]
    },
    "gecc_PercentageOfControlledInvestments": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfControlledInvestments",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of controlled investments",
        "label": "Percentage Of Controlled Investments",
        "documentation": "Percentage of controlled investments."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_DebtInstrumentAssetCoverageRatioPerUnitAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DebtInstrumentAssetCoverageRatioPerUnitAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Coverage Ratio Per Unit",
        "label": "Debt Instrument Asset Coverage Ratio Per Unit Amount",
        "documentation": "Debt instrument, asset coverage ratio per unit amount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventsTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEvents1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Events",
        "label": "Subsequent Events [Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r358",
      "r360"
     ]
    },
    "gecc_NetIncreaseDecreaseInNetAssetsResultingFromCapitalTransactions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NetIncreaseDecreaseInNetAssetsResultingFromCapitalTransactions",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net increase (decrease) in net assets resulting from capital transactions",
        "label": "Net Increase Decrease In Net Assets Resulting From Capital Transactions",
        "documentation": "Net increase (decrease) in net assets resulting from capital transactions."
       }
      }
     },
     "auth_ref": []
    },
    "dei_ExhibitsOnly462dFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "ExhibitsOnly462dFileNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d), File Number"
       }
      }
     },
     "auth_ref": [
      "r853"
     ]
    },
    "gecc_LineOfCreditFacilityCovenantNetAssetPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "LineOfCreditFacilityCovenantNetAssetPercentage",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_StockholdersEquityNoteFractionalSharesAggregateAmountOfRedemption": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "StockholdersEquityNoteFractionalSharesAggregateAmountOfRedemption",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fractional shares aggregate amount of redemption",
        "label": "Stockholders Equity Note Fractional Shares Aggregate Amount Of Redemption",
        "documentation": "Stockholders equity note fractional shares aggregate amount of redemption."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TerranOrbitalCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TerranOrbitalCorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Terran Orbital Corporation 6800 Broken Sound Pkwy NW, Suite 200 Boca Raton, FL 33487",
        "label": "Terran Orbital Corporation [Member]",
        "documentation": "Terran Orbital Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_GainLossOnInvestments",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 8.0
      },
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Unrealized Gain (Loss), Investment and Derivative, Operating, after Tax, Total",
        "label": "Unrealized Gain (Loss), Investment and Derivative, Operating, after Tax",
        "terseLabel": "Total net change in unrealized appreciation (depreciation)",
        "verboseLabel": "Net change in unrealized appreciation (depreciation) on investments",
        "negatedLabel": "Net change in unrealized (appreciation) depreciation on investments",
        "documentation": "Amount, after tax, of unrealized gain (loss) from investment and derivative, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity."
       }
      }
     },
     "auth_ref": [
      "r441",
      "r532",
      "r639",
      "r694",
      "r934"
     ]
    },
    "gecc_ForesightEnergyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ForesightEnergyMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Foresight Energy 211 North Broadway, Suite 2600 St. Louis, MO 63102",
        "label": "Foresight Energy [Member]",
        "documentation": "Foresight Energy."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_NewfoldDigitalIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NewfoldDigitalIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Newfold Digital Inc. 5335 Gate Parkway Jacksonville, FL 32256",
        "label": "Newfold Digital Inc [Member]",
        "documentation": "Newfold Digital Inc."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CommonEquityZeroPercentageOfClassMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommonEquityZeroPercentageOfClassMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common Equity (0% of class)",
        "label": "Common Equity Zero Percentage Of Class [Member]",
        "documentation": "Common equity zero percentage of class."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsForPurchaseOfInvestmentOperatingActivity",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payment for Purchase, Investment, Operating Activity",
        "negatedLabel": "Purchases of investments",
        "documentation": "Amount of cash outflow for acquisition of investment, classified as operating activity. Includes, but is not limited to, funding, origination, drawdown, and participation in investment."
       }
      }
     },
     "auth_ref": [
      "r940"
     ]
    },
    "gecc_InvestmentCompanyIssuanceOfCommonStock": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "InvestmentCompanyIssuanceOfCommonStock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance of common stock",
        "label": "Investment Company Issuance Of Common Stock",
        "documentation": "Per share or unit amount of investment company, Issuance of common stock.",
        "negatedLabel": "Issuance of common stock"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TargetHospitalityCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TargetHospitalityCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Target Hospitality Corp. 2170 Buckthorne Place, Suite 440 The Woodlands, TX 77380",
        "label": "Target Hospitality Corp [Member]",
        "documentation": "Target Hospitality Corp."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdditionalPaidInCapitalCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Paid in Capital, Common Stock",
        "terseLabel": "Additional paid-in capital",
        "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."
       }
      }
     },
     "auth_ref": [
      "r64"
     ]
    },
    "us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromDispositionOfInvestmentOperatingActivity",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Disposition of Investment, Operating Activity",
        "terseLabel": "Proceeds from sales of investments",
        "documentation": "Amount of cash inflow from sale of investment, classified as operating activity. Includes, but is not limited to, repayment, principal payment, paydown, and maturity of investment."
       }
      }
     },
     "auth_ref": [
      "r940"
     ]
    },
    "gecc_PlumAcquisitionCorpIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PlumAcquisitionCorpIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Plum Acquisition Corp. I 2021 Fillmore Street, #2089 San Francisco, CA 94115",
        "label": "Plum Acquisition Corp I [Member]",
        "documentation": "Plum Acquisition Corp. I."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueDisclosuresAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SproutHoldingsLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SproutHoldingsLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sprout Holdings, LLC 90 Merrick Ave, East Meadow, NY 11554",
        "label": "Sprout Holdings L L C [Member]",
        "documentation": "Sprout Holdings, LLC."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SecurityDividendsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SecurityDividendsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Dividends [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r729"
     ]
    },
    "gecc_DebtInstrumentFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DebtInstrumentFourMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument Four",
        "label": "Debt Instrument Four [Member]",
        "documentation": "Debt Instrument Four [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PrimaveraCapitalAcquisitionCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PrimaveraCapitalAcquisitionCorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Primavera Capital Acquisition Corporation 41/F Gloucester Tower 15 Queen's Road Central Hong Kong",
        "label": "Primavera Capital Acquisition Corporation [Member]",
        "documentation": "Primavera Capital Acquisition Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_IncentiveFeesEarned": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "IncentiveFeesEarned",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Incentive fees earned",
        "label": "Incentive Fees Earned",
        "documentation": "Incentive fees earned."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ProceedsFromPrincipalPayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ProceedsFromPrincipalPayments",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from principal payments",
        "label": "Proceeds From Principal Payments",
        "documentation": "Proceeds from principal payments."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GoresTechnologyPartnersIIIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GoresTechnologyPartnersIIIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gores Technology Partners II, Inc",
        "label": "Gores Technology Partners I I Inc [Member]",
        "documentation": "Gores Technology Partners II, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_BiotechnologyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "BiotechnologyMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Biotechnology",
        "label": "Biotechnology [Member]",
        "documentation": "Biotechnology."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_EnergyMidstreamMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EnergyMidstreamMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Energy Midstream",
        "label": "Energy Midstream [Member]",
        "documentation": "Energy midstream."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_RubyTuesdayOperationsLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "RubyTuesdayOperationsLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ruby Tuesday Operations LLC 333 E. Broadway Avenue Maryville, TN 37804",
        "label": "Ruby Tuesday Operations L L C [Member]",
        "documentation": "Ruby Tuesday Operations LLC."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_DebtInstrumentAverageMarketValuePerUnit": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DebtInstrumentAverageMarketValuePerUnit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average Market Value Per Unit",
        "label": "Debt Instrument Average Market Value Per Unit",
        "documentation": "Debt instrument, average market value per unit."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash paid for interest",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "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."
       }
      }
     },
     "auth_ref": [
      "r130",
      "r133",
      "r134"
     ]
    },
    "gecc_NicePakProductsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NicePakProductsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_LCattertonAsiaAcquisitionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "LCattertonAsiaAcquisitionMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "L Catterton Asia Acquisition C 8 Marina View Asia Square Tower 1, No 41-03 Singapore, 018960",
        "label": "L Catterton Asia Acquisition [Member]",
        "documentation": "L Catterton Asia Acquisition."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PercentageOfCumulativePreIncentiveFeeNetReturn": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfCumulativePreIncentiveFeeNetReturn",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of Cumulative pre incentive fee net return",
        "label": "Percentage Of Cumulative Pre Incentive Fee Net Return",
        "documentation": "Percentage of Cumulative pre incentive fee net return."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GroveCollaborativeHoldingsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GroveCollaborativeHoldingsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Grove Collaborative Holdings, Inc.",
        "label": "Grove Collaborative Holdings Inc [Member]",
        "documentation": "Grove Collaborative Holdings, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cef_DistributionsMayReducePrincipalTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "DistributionsMayReducePrincipalTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distributions May Reduce Principal [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r735"
     ]
    },
    "gecc_PercentageOfNetOrdinaryIncome": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfNetOrdinaryIncome",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of net ordinary income",
        "label": "Percentage Of Net Ordinary Income",
        "documentation": "Percentage of net ordinary income."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GeccnNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GeccnNotesMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "GECCN Notes [Member]",
        "documentation": "GECCN notes."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TCWSpecialPurposeAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TCWSpecialPurposeAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "TCW Special Purpose Acquisition Corp. 865 South Figueroa Street Los Angeles, CA 90017",
        "label": "T C W Special Purpose Acquisition Corp [Member]",
        "documentation": "TCW Special Purpose Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_NumberOfNewSharesOfCommonStockPurchased": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NumberOfNewSharesOfCommonStockPurchased",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of new shares of common stock purchased.",
        "label": "Number Of New Shares Of Common Stock Purchased",
        "documentation": "Number of new shares of common stock purchased."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FairValueAssetRecurringBasisNetChangeInUnrealizedAppreciationStillHeld": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FairValueAssetRecurringBasisNetChangeInUnrealizedAppreciationStillHeld",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value, net change in unrealized appreciation",
        "label": "Fair Value Asset Recurring Basis Net Change In Unrealized Appreciation Still Held",
        "documentation": "Fair value asset recurring basis net change in unrealized appreciation still held."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CasinosAndGamingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CasinosAndGamingMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Casinos &amp; Gaming",
        "label": "Casinos And Gaming [Member]",
        "documentation": "Casinos and gaming."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GeccoNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GeccoNotesMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "GECCO Notes [Member]",
        "label": "GECCO Notes [Member]",
        "documentation": "GECCO notes."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FinastraGroupHoldingsLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FinastraGroupHoldingsLtdMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Finastra Group Holdings, Ltd. 285 Madison Avenue New York, NY 10017",
        "label": "Finastra Group Holdings Ltd [Member]",
        "documentation": "Finastra Group Holdings, Ltd."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_WirelessTelecommunicationsServicesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "WirelessTelecommunicationsServicesMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Wireless Telecommunications Services",
        "label": "Wireless Telecommunications Services [Member]",
        "documentation": "Wireless Telecommunications Services."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_HurdleRateIncomeIncentiveFeeCalculationOnQuarterlyBasis": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "HurdleRateIncomeIncentiveFeeCalculationOnQuarterlyBasis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hurdle rate income incentive fee calculation on quarterly basis",
        "label": "Hurdle Rate Income Incentive Fee Calculation On Quarterly Basis",
        "documentation": "Hurdle rate income incentive fee calculation on quarterly basis."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TRUTajTrustMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TRUTajTrustMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "TRU Taj Trust 505 Park Avenue, 2nd Floor New York, NY 10022",
        "label": "T R U Taj Trust [Member]",
        "documentation": "TRU Taj Trust."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_AmountOfIndebtedness": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AmountOfIndebtedness",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of indebtedness.",
        "label": "Amount of Indebtedness",
        "terseLabel": "Amount of indebtedness"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SpecialPurposeAcquisitionsCompanyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SpecialPurposeAcquisitionsCompanyMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Special purpose acquisitions company.",
        "label": "Special Purpose Acquisitions Company [Member]",
        "terseLabel": "Special Purpose Acquisition Company"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ReceivableOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ReceivableOneMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Receivable",
        "label": "Receivable One [Member]",
        "documentation": "Receivable one."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CommitmentsAndContingenciesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommitmentsAndContingenciesLineItems",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments And Contingencies [Line Items]",
        "label": "Commitments And Contingencies [Line Items]",
        "documentation": "Commitments and contingencies."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfCapitalizationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfCapitalizationTable",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Capitalization [Table]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AwardTmgMethodTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardTmgMethodTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Method [Text Block]",
        "terseLabel": "Award Timing Method"
       }
      }
     },
     "auth_ref": [
      "r833"
     ]
    },
    "dei_EntityInteractiveDataCurrent": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityInteractiveDataCurrent",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r848"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardsCloseToMnpiDiscIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r835"
     ]
    },
    "ecd_AwardExrcPrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardExrcPrice",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Exercise Price",
        "terseLabel": "Exercise Price"
       }
      }
     },
     "auth_ref": [
      "r837"
     ]
    },
    "ecd_AwardTmgPredtrmndFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardTmgPredtrmndFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Predetermined [Flag]",
        "terseLabel": "Award Timing Predetermined"
       }
      }
     },
     "auth_ref": [
      "r833"
     ]
    },
    "us-gaap_InvestmentOwnedAtCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentOwnedAtCost",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Owned, Cost",
        "terseLabel": "Investment at amortized cost",
        "verboseLabel": "Cost",
        "documentation": "Cost of the investment."
       }
      }
     },
     "auth_ref": [
      "r425",
      "r466",
      "r467",
      "r558",
      "r566",
      "r583",
      "r623",
      "r686",
      "r695",
      "r930"
     ]
    },
    "dei_DocumentRegistrationStatement": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentRegistrationStatement",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Registration Statement",
        "documentation": "Boolean flag that is true only for a form used as a registration statement."
       }
      }
     },
     "auth_ref": [
      "r696"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Hierarchy and NAV",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient."
       }
      }
     },
     "auth_ref": [
      "r256",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r343",
      "r364",
      "r365",
      "r366",
      "r670",
      "r671",
      "r676",
      "r677",
      "r678"
     ]
    },
    "ecd_AwardTmgMnpiCnsdrdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardTmgMnpiCnsdrdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Considered [Flag]",
        "terseLabel": "Award Timing MNPI Considered"
       }
      }
     },
     "auth_ref": [
      "r833"
     ]
    },
    "us-gaap_StockholdersEquityNoteStockSplitConversionRatio1": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityNoteStockSplitConversionRatio1",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reverse stock split, conversion ratio",
        "label": "Stockholders' Equity Note, Stock Split, Conversion Ratio",
        "verboseLabel": "Reverse stock split, outstanding common stock",
        "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."
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Type",
        "label": "Investment Type [Axis]",
        "documentation": "Information by type of investments."
       }
      }
     },
     "auth_ref": [
      "r460",
      "r462",
      "r463",
      "r466",
      "r469",
      "r545",
      "r554",
      "r569",
      "r577",
      "r590",
      "r594",
      "r595",
      "r624",
      "r628",
      "r629",
      "r630",
      "r631",
      "r686"
     ]
    },
    "ecd_AwardTmgHowMnpiCnsdrdTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardTmgHowMnpiCnsdrdTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing, How MNPI Considered [Text Block]",
        "terseLabel": "Award Timing, How MNPI Considered"
       }
      }
     },
     "auth_ref": [
      "r833"
     ]
    },
    "dei_PreEffectiveAmendmentNumber": {
     "xbrltype": "sequenceNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "PreEffectiveAmendmentNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pre-Effective Amendment Number",
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 before the registration becomes effective."
       }
      }
     },
     "auth_ref": [
      "r696"
     ]
    },
    "dei_PreEffectiveAmendment": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "PreEffectiveAmendment",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pre-Effective Amendment"
       }
      }
     },
     "auth_ref": [
      "r696"
     ]
    },
    "us-gaap_InvestmentOwnedBalancePrincipalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentOwnedBalancePrincipalAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Par Amount / Quantity",
        "label": "Investment Owned, Balance, Principal Amount",
        "documentation": "Amount of principal of investment owned."
       }
      }
     },
     "auth_ref": [
      "r459",
      "r469",
      "r552",
      "r580",
      "r608",
      "r686"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardsCloseToMnpiDiscTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table Text Block]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures, Table"
       }
      }
     },
     "auth_ref": [
      "r834"
     ]
    },
    "us-gaap_EquityMethodInvestmentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityMethodInvestmentsTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Unaudited Financial Information",
        "label": "Equity Method Investments [Table Text Block]",
        "documentation": "Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information."
       }
      }
     },
     "auth_ref": [
      "r214"
     ]
    },
    "us-gaap_AssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "NET ASSETS",
        "terseLabel": "Net assets, end of period",
        "periodStartLabel": "Net assets at beginning of period",
        "periodEndLabel": "Net assets at end of period",
        "label": "Net Assets",
        "documentation": "Amount of net assets (liabilities)."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "dei_PostEffectiveAmendment": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "PostEffectiveAmendment",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-Effective Amendment"
       }
      }
     },
     "auth_ref": [
      "r696"
     ]
    },
    "ecd_MnpiDiscTimedForCompValFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "MnpiDiscTimedForCompValFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MNPI Disclosure Timed for Compensation Value [Flag]",
        "terseLabel": "MNPI Disclosure Timed for Compensation Value"
       }
      }
     },
     "auth_ref": [
      "r833"
     ]
    },
    "us-gaap_NotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NotesPayable",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Notes payable (including unamortized discount of $3,145 and $2,781, respectively)",
        "label": "Notes Payable",
        "totalLabel": "Notes Payable, Total",
        "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."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r94",
      "r921"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardsCloseToMnpiDiscTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures"
       }
      }
     },
     "auth_ref": [
      "r834"
     ]
    },
    "dei_PostEffectiveAmendmentNumber": {
     "xbrltype": "sequenceNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "PostEffectiveAmendmentNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-Effective Amendment Number",
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 after the registration becomes effective."
       }
      }
     },
     "auth_ref": [
      "r696"
     ]
    },
    "dei_InvestmentCompanyActRegistration": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "InvestmentCompanyActRegistration",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act Registration"
       }
      }
     },
     "auth_ref": [
      "r808"
     ]
    },
    "us-gaap_NonInvestmentAssetsLessNonInvestmentLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NonInvestmentAssetsLessNonInvestmentLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Other Liabilities in Excess of Net Assets",
        "negatedLabel": "Other Liabilities in Excess of Assets (245.17% of Net Assets)",
        "label": "Non Investment Assets Less Non Investment Liabilities",
        "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."
       }
      }
     },
     "auth_ref": [
      "r503"
     ]
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Amortization of premium and accretion of discount, net",
        "label": "Accretion (Amortization) of Discounts and Premiums, Investments",
        "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."
       }
      }
     },
     "auth_ref": [
      "r80"
     ]
    },
    "dei_InvestmentCompanyRegistrationAmendmentNumber": {
     "xbrltype": "sequenceNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "InvestmentCompanyRegistrationAmendmentNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment Number"
       }
      }
     },
     "auth_ref": [
      "r808"
     ]
    },
    "dei_InvestmentCompanyRegistrationAmendment": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "InvestmentCompanyRegistrationAmendment",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment"
       }
      }
     },
     "auth_ref": [
      "r808"
     ]
    },
    "ecd_AwardUndrlygSecuritiesAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardUndrlygSecuritiesAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Underlying Securities Amount",
        "terseLabel": "Underlying Securities"
       }
      }
     },
     "auth_ref": [
      "r836"
     ]
    },
    "us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TaxBasisOfInvestmentsCostForIncomeTaxPurposes",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate cost of federal income tax",
        "label": "Investment, Tax Basis, Cost",
        "documentation": "Amount of cost of investment for federal income tax purpose."
       }
      }
     },
     "auth_ref": [
      "r430"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments",
        "label": "Investments [Domain]",
        "documentation": "Asset obtained to generate income or appreciate in value."
       }
      }
     },
     "auth_ref": [
      "r460",
      "r462",
      "r463",
      "r466",
      "r469",
      "r545",
      "r554",
      "r569",
      "r577",
      "r590",
      "r594",
      "r595",
      "r624",
      "r628",
      "r629",
      "r630",
      "r631",
      "r686"
     ]
    },
    "gecc_ClimateRealImpactSolutionsIIAcquisitionCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ClimateRealImpactSolutionsIIAcquisitionCorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Climate Real Impact Solutions II Acquisition Corporation",
        "label": "Climate Real Impact Solutions I I Acquisition Corporation [Member]",
        "documentation": "Climate Real Impact Solutions II Acquisition Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AwardGrantDateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardGrantDateFairValue",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Grant Date Fair Value",
        "terseLabel": "Fair Value as of Grant Date"
       }
      }
     },
     "auth_ref": [
      "r838"
     ]
    },
    "ecd_UndrlygSecurityMktPriceChngPct": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "UndrlygSecurityMktPriceChngPct",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underlying Security Market Price Change, Percent",
        "terseLabel": "Underlying Security Market Price Change"
       }
      }
     },
     "auth_ref": [
      "r839"
     ]
    },
    "dei_DelayedOrContinuousOffering": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DelayedOrContinuousOffering",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Delayed or Continuous Offering"
       }
      }
     },
     "auth_ref": [
      "r725",
      "r726",
      "r806"
     ]
    },
    "dei_DividendOrInterestReinvestmentPlanOnly": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DividendOrInterestReinvestmentPlanOnly",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend or Interest Reinvestment Plan Only"
       }
      }
     },
     "auth_ref": [
      "r725",
      "r726",
      "r806"
     ]
    },
    "dei_EffectiveUponFiling462e": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EffectiveUponFiling462e",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Upon Filing, 462(e)"
       }
      }
     },
     "auth_ref": [
      "r854"
     ]
    },
    "ecd_InsiderTradingArrLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "InsiderTradingArrLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Arrangements [Line Items]",
        "terseLabel": "Insider Trading Arrangements:"
       }
      }
     },
     "auth_ref": [
      "r840"
     ]
    },
    "gecc_SCIHSaltHoldingsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SCIHSaltHoldingsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "S C I H Salt Holdings Inc [Member]",
        "documentation": "SCIH Salt Holdings Inc.",
        "terseLabel": "SCIH Salt Holdings Inc. 1875 Century Park East Suite 320 Los Angeles, CA 90067"
       }
      }
     },
     "auth_ref": []
    },
    "cef_LongTermDebtRightsLimitedByOtherSecuritiesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LongTermDebtRightsLimitedByOtherSecuritiesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r744"
     ]
    },
    "cef_AnnualDividendPayment": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AnnualDividendPayment",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment"
       }
      }
     },
     "auth_ref": [
      "r782"
     ]
    },
    "cef_LowestPriceOrBid": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LowestPriceOrBid",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid"
       }
      }
     },
     "auth_ref": [
      "r785"
     ]
    },
    "cef_OtherSecuritiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherSecuritiesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Securities [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r745"
     ]
    },
    "cef_OtherSecurityTitleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherSecurityTitleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Title [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r745"
     ]
    },
    "cef_AnnualDividendPaymentInitial": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AnnualDividendPaymentInitial",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Initial"
       }
      }
     },
     "auth_ref": [
      "r782"
     ]
    },
    "gecc_SecondLienSecuredBondMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SecondLienSecuredBondMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2nd Lien Secured Bond",
        "label": "Second Lien Secured Bond [Member]",
        "documentation": "Second lien, secured bond."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PolestarAutomotiveHoldingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PolestarAutomotiveHoldingMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Polestar Automotive Holding UK PLC Assar Gabrielssons V\u00e4g 9 405 31 G\u00f6teborg, Sweden",
        "label": "Polestar Automotive Holding [Member]",
        "documentation": "Polestar Automotive Holding."
       }
      }
     },
     "auth_ref": []
    },
    "cef_OtherSecurityDescriptionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherSecurityDescriptionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Description [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r745"
     ]
    },
    "gecc_LoansHeldForInvestmentUnfundedLoanCommitments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "LoansHeldForInvestmentUnfundedLoanCommitments",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans held for investment",
        "label": "Loans Held For Investment Unfunded Loan Commitments",
        "documentation": "Loans held for investment unfunded loan commitments."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ColicityIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ColicityIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Colicity Inc",
        "label": "Colicity Inc [Member]",
        "documentation": "Colicity Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cef_AnnualInterestRateInitialPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AnnualInterestRateInitialPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Initial [Percent]"
       }
      }
     },
     "auth_ref": [
      "r782"
     ]
    },
    "cef_AnnualDividendPaymentCurrent": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AnnualDividendPaymentCurrent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Current"
       }
      }
     },
     "auth_ref": [
      "r782"
     ]
    },
    "gecc_ExciseTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ExciseTax",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Excise tax",
        "label": "Excise Tax",
        "documentation": "Excise tax."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Member]",
        "terseLabel": "Equity",
        "documentation": "Trading in a derivative instrument whose primary underlying risk is tied to share prices."
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "gecc_PercentageOfExciseTaxOnMinimumDistributionAmount": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfExciseTaxOnMinimumDistributionAmount",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Issuance of common stock",
        "documentation": "Number of new stock issued during the period."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r62",
      "r63",
      "r88",
      "r431",
      "r535",
      "r634"
     ]
    },
    "gecc_InvestmentCompanyRatioOfTotalExpensesToAverageNetAssetsBeforeWaiver": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "InvestmentCompanyRatioOfTotalExpensesToAverageNetAssetsBeforeWaiver",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ratio of total expenses to average net assets before waiver",
        "label": "Investment Company Ratio Of Total Expenses To Average Net Assets Before Waiver",
        "documentation": "Investment company, Ratio of total expenses to average net assets before waiver."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfInvestmentsTable",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Investments [Table]",
        "label": "Schedule of Investments [Table]",
        "documentation": "Disclosure of information about investments owned by investment company."
       }
      }
     },
     "auth_ref": [
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r596",
      "r597",
      "r598",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r622",
      "r623",
      "r624",
      "r625",
      "r626",
      "r627"
     ]
    },
    "cef_ProspectusTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ProspectusTable",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus:"
       }
      }
     },
     "auth_ref": [
      "r726"
     ]
    },
    "gecc_CommonStockDistributed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommonStockDistributed",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock distributed",
        "label": "Common Stock Distributed",
        "documentation": "Common stock distributed."
       }
      }
     },
     "auth_ref": []
    },
    "cef_AnnualInterestRatePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AnnualInterestRatePercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate [Percent]"
       }
      }
     },
     "auth_ref": [
      "r782"
     ]
    },
    "gecc_LazardGrowthAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "LazardGrowthAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Lazard Growth Acquisition Corp 30 Rockefeller Plaza New York, NY 10112",
        "label": "Lazard Growth Acquisition Corp [Member]",
        "documentation": "Lazard Growth Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "cef_WarrantsOrRightsCalledPeriodDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "WarrantsOrRightsCalledPeriodDate",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Period [Date]"
       }
      }
     },
     "auth_ref": [
      "r745"
     ]
    },
    "gecc_PercentageOfIndividualInvestmentFairValueOnMarketCapitalization": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfIndividualInvestmentFairValueOnMarketCapitalization",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage Of Individual Investment Fair Value On Market Capitalization",
        "documentation": "Percentage of individual investment fair value on market capitalization.",
        "terseLabel": "Percentage of individual investment fair value on total capitalization"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 2",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r256",
      "r290",
      "r295",
      "r343",
      "r365",
      "r670",
      "r671",
      "r676",
      "r677",
      "r678"
     ]
    },
    "cef_WarrantsOrRightsCalledAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "WarrantsOrRightsCalledAmount",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Amount"
       }
      }
     },
     "auth_ref": [
      "r745"
     ]
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfInvestmentsLineItems",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments [Line Items]",
        "terseLabel": "Schedule of Investments [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r622",
      "r623",
      "r624",
      "r625",
      "r626",
      "r627"
     ]
    },
    "gecc_SprintCommunicationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SprintCommunicationsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sprint Communications 6200 Sprint Parkway Overland Park, KS 66251",
        "label": "Sprint Communications [Member]",
        "documentation": "Sprint Communications."
       }
      }
     },
     "auth_ref": []
    },
    "cef_WarrantsOrRightsCalledTitleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "WarrantsOrRightsCalledTitleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Title"
       }
      }
     },
     "auth_ref": [
      "r745"
     ]
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 1",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date."
       }
      }
     },
     "auth_ref": [
      "r256",
      "r290",
      "r295",
      "r343",
      "r364",
      "r676",
      "r677",
      "r678"
     ]
    },
    "gecc_InternetMediaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "InternetMediaMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Internet Media",
        "label": "Internet Media [Member]",
        "documentation": "Internet Media."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ControlledInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ControlledInvestmentsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Controlled Investments",
        "label": "Controlled Investments [Member]",
        "documentation": "Controlled investments."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_EquityFundsSixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EquityFundsSixMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Funds Six [Member]",
        "label": "Equity Funds Six [Member]",
        "terseLabel": "Equity Funds Six"
       }
      }
     },
     "auth_ref": []
    },
    "cef_ReturnAtMinusFivePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ReturnAtMinusFivePercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Five [Percent]"
       }
      }
     },
     "auth_ref": [
      "r784"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisValuationTechniquesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisValuationTechniquesTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ranges of Significant Unobservable Inputs to Value Level 3 Assets",
        "label": "Fair Value, Assets and Liabilities Measured on Nonrecurring Basis, Valuation Techniques [Table Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Related Party",
        "label": "Related Party, Type [Axis]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r296",
      "r355",
      "r356",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r503",
      "r505",
      "r544",
      "r910"
     ]
    },
    "cef_EffectsOfLeverageTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "EffectsOfLeverageTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r784"
     ]
    },
    "gecc_AusterlitzAcquisitionCorporationIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AusterlitzAcquisitionCorporationIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Austerlitz Acquisition Corp. I 1701 Village Center Circle Las Vegas, NV 89134",
        "label": "Austerlitz Acquisition Corporation I [Member]",
        "documentation": "Austerlitz Acquisition Corporation I."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_DistributionsToStockholders": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DistributionsToStockholders",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "parentTag": "us-gaap_StockholdersEquityPeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distributions to stockholders.",
        "label": "Distributions to Stockholders",
        "totalLabel": "Total distributions to stockholders",
        "negatedTotalLabel": "Total distributions to stockholders"
       }
      }
     },
     "auth_ref": []
    },
    "cef_WarrantsOrRightsExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "WarrantsOrRightsExercisePrice",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Exercise Price"
       }
      }
     },
     "auth_ref": [
      "r745"
     ]
    },
    "cef_AnnualCoverageReturnRatePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AnnualCoverageReturnRatePercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Coverage Return Rate [Percent]"
       }
      }
     },
     "auth_ref": [
      "r783"
     ]
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 3",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r256",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r343",
      "r366",
      "r670",
      "r671",
      "r676",
      "r677",
      "r678"
     ]
    },
    "cef_OutstandingSecuritiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OutstandingSecuritiesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Securities [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r746"
     ]
    },
    "cef_AnnualInterestRateCurrentPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AnnualInterestRateCurrentPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Current [Percent]"
       }
      }
     },
     "auth_ref": [
      "r782"
     ]
    },
    "gecc_BrokerQuotesValuationTechniqueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "BrokerQuotesValuationTechniqueMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Broker Quotes",
        "label": "Broker Quotes Valuation Technique [Member]",
        "documentation": "Broker quotes valuation technique."
       }
      }
     },
     "auth_ref": []
    },
    "cef_ReturnAtMinusTenPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ReturnAtMinusTenPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Ten [Percent]"
       }
      }
     },
     "auth_ref": [
      "r784"
     ]
    },
    "gecc_AmountOfAssetCoveragePerUnitExpressedIndebtedness": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AmountOfAssetCoveragePerUnitExpressedIndebtedness",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_AdministrativeFeesExpensePayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AdministrativeFeesExpensePayable",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Administrative expense payable",
        "label": "Administrative Fees Expense Payable",
        "documentation": "Administrative fees expense payable."
       }
      }
     },
     "auth_ref": []
    },
    "cef_OutstandingSecurityAuthorizedShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OutstandingSecurityAuthorizedShares",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Authorized [Shares]"
       }
      }
     },
     "auth_ref": [
      "r748"
     ]
    },
    "us-gaap_InvestmentInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentInterestRate",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest Rate",
        "label": "Investment Interest Rate",
        "documentation": "Rate of interest on investment."
       }
      }
     },
     "auth_ref": [
      "r548",
      "r549",
      "r567",
      "r568",
      "r572",
      "r573",
      "r605",
      "r606",
      "r686",
      "r883",
      "r885"
     ]
    },
    "gecc_NonAffiliatedNonControlledInvestmentsPIKMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NonAffiliatedNonControlledInvestmentsPIKMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-affiliated, non-controlled investments (PIK)",
        "label": "Non Affiliated Non Controlled Investments P I K [Member]",
        "documentation": "Non-affiliated, non-controlled investments (PIK)."
       }
      }
     },
     "auth_ref": []
    },
    "cef_OutstandingSecurityTitleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OutstandingSecurityTitleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Title [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r747"
     ]
    },
    "gecc_RossAcquisitionCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "RossAcquisitionCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ross Acquisition Corp II 1 Pelican Lane Palm Beach, FL 33480",
        "label": "Ross Acquisition Corp I I [Member]",
        "documentation": "Ross Acquisition Corp II."
       }
      }
     },
     "auth_ref": []
    },
    "cef_OutstandingSecurityNotHeldShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OutstandingSecurityNotHeldShares",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Not Held [Shares]"
       }
      }
     },
     "auth_ref": [
      "r750"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash provided by (used for) financing activities",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "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."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "gecc_PercentageOfQualifyingAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfQualifyingAssets",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage Of qualifying assets.",
        "label": "Percentage Of Qualifying Assets",
        "terseLabel": "Percentage of qualifying assets"
       }
      }
     },
     "auth_ref": []
    },
    "cef_OutstandingSecurityHeldShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OutstandingSecurityHeldShares",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Held [Shares]"
       }
      }
     },
     "auth_ref": [
      "r749"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash flows from financing activities",
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FirstReserveSustainableGrowthCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FirstReserveSustainableGrowthCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "First Reserve Sustainable Growth Corp.",
        "label": "First Reserve Sustainable Growth Corp [Member]",
        "documentation": "First Reserve Sustainable Growth Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_InvestmentCompanyCapitalShareActivityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "InvestmentCompanyCapitalShareActivityAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company capital share activity.",
        "label": "Investment Company Capital Share Activity [Abstract]",
        "terseLabel": "Capital share activity"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_InvestmentEquityAndOtherMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "InvestmentEquityAndOtherMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity/Other",
        "label": "Investment Equity And Other [Member]",
        "documentation": "Investment equity and other."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash provided by (used for) operating activities",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "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."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r79",
      "r80"
     ]
    },
    "cef_ProspectusLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ProspectusLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r726"
     ]
    },
    "cef_ReturnAtZeroPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ReturnAtZeroPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Zero [Percent]"
       }
      }
     },
     "auth_ref": [
      "r784"
     ]
    },
    "gecc_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetRealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetRealizedGainLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Realized Gain (Loss)",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Net Realized Gain Loss",
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis asset net realized gain (loss)."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SecurityPreemptiveAndOtherRightsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SecurityPreemptiveAndOtherRightsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Preemptive and Other Rights [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r733"
     ]
    },
    "gecc_SpecialtyFinanceMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SpecialtyFinanceMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Specialty Finance",
        "label": "Specialty Finance [Member]",
        "documentation": "Specialty finance."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_InsuranceMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "InsuranceMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Insurance",
        "label": "Insurance [Member]",
        "documentation": "Insurance member"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash flows from operating activities",
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentOwnedPercentOfNetAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentOwnedPercentOfNetAssets",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Owned, Net Assets, Percentage",
        "terseLabel": "Percentage of Net Assets",
        "verboseLabel": "Percentage of Class",
        "documentation": "Percentage of investment owned to net assets."
       }
      }
     },
     "auth_ref": [
      "r462",
      "r466",
      "r467",
      "r554",
      "r576",
      "r590",
      "r593",
      "r624",
      "r686",
      "r930"
     ]
    },
    "gecc_LineOfCreditFacilityCovenantNetAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "LineOfCreditFacilityCovenantNetAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Line of credit facility covenant net assets",
        "label": "Line Of Credit Facility Covenant Net Assets",
        "documentation": "Line of credit facility covenant net assets."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TwoThousandTwentyNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TwoThousandTwentyNotesMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2020 Notes",
        "label": "Two Thousand Twenty Notes [Member]",
        "documentation": "Two Thousand Twenty Notes."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Revenues": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Revenues",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross revenues",
        "label": "Revenues",
        "totalLabel": "Revenues, Total",
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss)."
       }
      }
     },
     "auth_ref": [
      "r128",
      "r139",
      "r165",
      "r166",
      "r167",
      "r170",
      "r171",
      "r175",
      "r176",
      "r178",
      "r218",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r348",
      "r406",
      "r897"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 19.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Increase (decrease) in accrued expenses and other liabilities",
        "label": "Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities",
        "documentation": "Amount of increase (decrease) in accrued expenses, and obligations classified as other."
       }
      }
     },
     "auth_ref": [
      "r874"
     ]
    },
    "gecc_MissionAdvancementCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "MissionAdvancementCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mission Advancement Corp. 2525 East Camelback Road, Suite 850 Phoenix, AZ 85016",
        "label": "Mission Advancement Corp [Member]",
        "documentation": "Mission Advancement Corp."
       }
      }
     },
     "auth_ref": []
    },
    "cef_ReturnAtPlusFivePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ReturnAtPlusFivePercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Five [Percent]"
       }
      }
     },
     "auth_ref": [
      "r784"
     ]
    },
    "gecc_AtlasCrestInvestmentCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AtlasCrestInvestmentCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Atlas Crest Investment Corp. II 399 Park Avenue New York, NY 10022",
        "label": "Atlas Crest Investment Corp I I [Member]",
        "documentation": "Atlas Crest Investment Corp. II."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RatioOfIndebtednessToNetCapital1": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RatioOfIndebtednessToNetCapital1",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset coverage ratio",
        "label": "Ratio of Indebtedness to Net Capital",
        "documentation": "Indebtedness divided by net capital."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from issuance of common stock",
        "label": "Proceeds from Issuance of Common Stock",
        "documentation": "The cash inflow from the additional capital contribution to the entity."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SaleOfStockPricePerShare",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sale of stock, price per share",
        "label": "Sale of Stock, Price Per Share",
        "documentation": "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingExpensesAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Expenses:",
        "label": "Operating Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_DaveIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DaveIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dave Inc.",
        "label": "Dave Inc [Member]",
        "documentation": "Dave Inc."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_DeferredFinancingCostsAndDeferredOfferingCostsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DeferredFinancingCostsAndDeferredOfferingCostsPolicyTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred Financing Costs and Deferred Offering Costs",
        "label": "Deferred Financing Costs And Deferred Offering Costs Policy [Text Block]",
        "documentation": "Deferred financing costs and deferred offering costs."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_UnitedStatesTreasuryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "UnitedStatesTreasuryMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "United States Treasury",
        "label": "United States Treasury [Member]",
        "documentation": "United states treasury."
       }
      }
     },
     "auth_ref": []
    },
    "cef_ReturnAtPlusTenPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ReturnAtPlusTenPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Ten [Percent]"
       }
      }
     },
     "auth_ref": [
      "r784"
     ]
    },
    "gecc_EightPointTwoFivePercentNotesDueTwoThousandTwentyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EightPointTwoFivePercentNotesDueTwoThousandTwentyMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eight point two five percent notes due two thousand twenty.",
        "label": "Eight Point Two Five Percent Notes Due Two Thousand Twenty [Member]",
        "terseLabel": "8.25% Notes due 2020"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_IrisAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "IrisAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementOfStockholdersEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_EquityFundsOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EquityFundsOneMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Funds One",
        "label": "Equity Funds One [Member]",
        "documentation": "Equity Funds One [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementOfCashFlowsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "cef_EffectsOfLeveragePurposeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "EffectsOfLeveragePurposeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage, Purpose [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r784"
     ]
    },
    "gecc_OnePointFiveLienSecuredLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "OnePointFiveLienSecuredLoanMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "1.5 Lien, Secured Loan",
        "label": "One Point Five Lien Secured Loan [Member]",
        "documentation": "One point five lien, secured loan."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_NetRealizedGainsLossesAndNetChangeInUnrealizedAppreciationDepreciationPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NetRealizedGainsLossesAndNetChangeInUnrealizedAppreciationDepreciationPolicyTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "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]",
        "documentation": "Net realized gains (losses) and net change in unrealized appreciation (depreciation),"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_NorthernStarInvestmentCorpIIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NorthernStarInvestmentCorpIIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Northern Star Investment Corp. III The Chrysler Building 405 Lexington Avenue New York, NY 10174",
        "label": "Northern Star Investment Corp I I I [Member]",
        "documentation": "Northern Star Investment Corp. III."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CCNeubergerPrincipalHoldingsIIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CCNeubergerPrincipalHoldingsIIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C C Neuberger Principal Holdings I I I [Member]",
        "documentation": "CC Neuberger Principal Holdings III.",
        "terseLabel": "CC Neuberger Principal Holdings III 200 Park Avenue, 58th Floor New York, NY 10166"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_VariableRateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "VariableRateAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable Rate",
        "label": "Variable Rate [Axis]",
        "documentation": "Information by type of variable rate."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_HudsonExecutiveInvestmentCorpIIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "HudsonExecutiveInvestmentCorpIIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hudson Executive Investment Corp. III 570 Lexington Avenue, 35th Floor New York, NY",
        "label": "Hudson Executive Investment Corp I I I [Member]",
        "documentation": "Hudson Executive Investment Corp. III."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SummaryOfComponentsOfInterestExpenseTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SummaryOfComponentsOfInterestExpenseTableTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Components of Interest Expense",
        "label": "Summary Of Components Of Interest Expense Table [Text Block]",
        "documentation": "Summary of components of interest expense."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SixPointFiveZeroNotesDueTwoThousandTwentyTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SixPointFiveZeroNotesDueTwoThousandTwentyTwoMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "GECCL Notes",
        "label": "Six Point Five Zero Notes Due Two Thousand Twenty Two [Member]",
        "documentation": "Six Point Five Zero Notes Due Two Thousand Twenty Two."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountsPayableAndOtherAccruedLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccountsPayableAndOtherAccruedLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued expenses and other liabilities",
        "label": "Accounts Payable and Other Accrued Liabilities",
        "documentation": "Amount of liabilities incurred and payable to vendors for goods and services received, and accrued liabilities classified as other."
       }
      }
     },
     "auth_ref": [
      "r476"
     ]
    },
    "gecc_GreatElmSpecialtyFinanceMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GreatElmSpecialtyFinanceMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Great Elm Specialty Finance, LLC",
        "terseLabel": "Great Elm Specialty Finance",
        "label": "Great Elm Specialty Finance [Member]",
        "documentation": "Great Elm Specialty Finance."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_OnePointTwoFiveLienSecuredLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "OnePointTwoFiveLienSecuredLoanMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "1.25 Lien Secured Loan",
        "label": "One Point Two Five Lien Secured Loan [Member]",
        "documentation": "One point two five lien, secured loan."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SharePriceTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SharePriceTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Price [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r786"
     ]
    },
    "gecc_WyndenStarkLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "WyndenStarkLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Wynden Stark LLC 295 Madison Ave, 12th Floor New York, NY 10017",
        "label": "Wynden Stark L L C [Member]",
        "documentation": "Wynden Stark LLC."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_NorthernStarInvestmentCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NorthernStarInvestmentCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Northern Star Investment Corp. II The Chrysler Building 405 Lexington Avenue New York, NY 10174",
        "label": "Northern Star Investment Corp I I [Member]",
        "documentation": "Northern Star Investment Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_VelocityAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "VelocityAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Velocity Acquisition Corp",
        "label": "Velocity Acquisition Corp [Member]",
        "documentation": "Velocity Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxesPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Income Taxes Paid, Net, Total",
        "label": "Income Taxes Paid, Net",
        "terseLabel": "Cash paid for excise tax",
        "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."
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "us-gaap_EquityMethodInvestmentSoldCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityMethodInvestmentSoldCarryingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Equity Method Investment, Amount Sold, Total",
        "label": "Equity Method Investment, Amount Sold",
        "terseLabel": "Equity investment sold",
        "documentation": "Amount of the entity's equity method investment which has been sold."
       }
      }
     },
     "auth_ref": []
    },
    "cef_NetExpenseOverAssetsPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "NetExpenseOverAssetsPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Expense over Assets [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "cef_ExpenseExampleYears1to3": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ExpenseExampleYears1to3",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 3"
       }
      }
     },
     "auth_ref": [
      "r758"
     ]
    },
    "cef_WaiversAndReimbursementsOfFeesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "WaiversAndReimbursementsOfFeesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Waivers and Reimbursements of Fees [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One",
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProfessionalFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProfessionalFees",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Professional services",
        "label": "Professional Fees",
        "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."
       }
      }
     },
     "auth_ref": [
      "r693",
      "r933",
      "r936"
     ]
    },
    "cef_ExpenseExampleTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ExpenseExampleTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r751"
     ]
    },
    "dei_EntityAddressAddressLine2": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressAddressLine2",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line Two",
        "terseLabel": "Entity Address, Address Line Two",
        "documentation": "Address Line 2 such as Street or Suite number"
       }
      }
     },
     "auth_ref": []
    },
    "cef_TotalAnnualExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "TotalAnnualExpensesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Annual Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r764"
     ]
    },
    "cef_AcquiredFundFeesAndExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AcquiredFundFeesAndExpensesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r754"
     ]
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine3": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressAddressLine3",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line Three",
        "documentation": "Address Line 3 such as an Office Park"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Assets",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total assets",
        "label": "Assets",
        "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."
       }
      }
     },
     "auth_ref": [
      "r92",
      "r118",
      "r139",
      "r164",
      "r169",
      "r173",
      "r218",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r331",
      "r335",
      "r348",
      "r408",
      "r498",
      "r682",
      "r695",
      "r897",
      "r898",
      "r911"
     ]
    },
    "cef_ExpenseExampleYear01": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ExpenseExampleYear01",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Year 01"
       }
      }
     },
     "auth_ref": [
      "r758"
     ]
    },
    "dei_EntityAddressCityOrTown": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressCityOrTown",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town",
        "documentation": "Name of the City or Town"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShortTermDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShortTermDebtMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Short Term Investments",
        "label": "Short-Term Debt [Member]",
        "documentation": "Debt arrangement having an initial term within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesCurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Current liabilities",
        "label": "Liabilities, Current",
        "totalLabel": "Liabilities, Current, Total",
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r116",
      "r139",
      "r218",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r332",
      "r335",
      "r336",
      "r348",
      "r682",
      "r897",
      "r911",
      "r912"
     ]
    },
    "cef_ExpenseExampleYears1to5": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ExpenseExampleYears1to5",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 5"
       }
      }
     },
     "auth_ref": [
      "r758"
     ]
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyFinancialHighlightsTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFinancialHighlights1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Highlights",
        "label": "Investment Company, Financial Highlights [Text Block]",
        "documentation": "The entire disclosure of financial highlights reported by investment company."
       }
      }
     },
     "auth_ref": [
      "r438",
      "r444",
      "r448",
      "r452"
     ]
    },
    "dei_EntityAddressStateOrProvince": {
     "xbrltype": "stateOrProvinceItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressStateOrProvince",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province",
        "documentation": "Name of the state or province."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInDividendsReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInDividendsReceivable",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "(Increase) decrease in dividends receivable",
        "label": "Increase (Decrease) in Dividends Receivable",
        "documentation": "The increase (decrease) during the reporting period in cash disbursements due from investments, representing the shareholders' portion of profits."
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "us-gaap_ClassOfStockDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfStockDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of Stock",
        "label": "Class of Stock [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r108",
      "r119",
      "r120",
      "r121",
      "r139",
      "r154",
      "r155",
      "r157",
      "r159",
      "r162",
      "r163",
      "r218",
      "r233",
      "r235",
      "r236",
      "r237",
      "r240",
      "r241",
      "r274",
      "r275",
      "r277",
      "r280",
      "r287",
      "r348",
      "r431",
      "r432",
      "r433",
      "r434",
      "r443",
      "r446",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r486",
      "r507",
      "r535",
      "r633",
      "r634",
      "r635",
      "r636",
      "r637",
      "r860",
      "r876",
      "r882"
     ]
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyFinancialHighlightsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Financial Highlights [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt instrument, interest rate",
        "label": "Debt Instrument, Interest Rate, Effective Percentage",
        "documentation": "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium."
       }
      }
     },
     "auth_ref": [
      "r17",
      "r47",
      "r271",
      "r351"
     ]
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyFinancialHighlightsTableTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Financial Highlights of the Company",
        "label": "Investment Company, Financial Highlights [Table Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r444"
     ]
    },
    "cef_ExpenseExampleYears1to10": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ExpenseExampleYears1to10",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 10"
       }
      }
     },
     "auth_ref": [
      "r758"
     ]
    },
    "dei_EntityAddressPostalZipCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressPostalZipCode",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code",
        "documentation": "Code for the postal or zip code"
       }
      }
     },
     "auth_ref": []
    },
    "cef_PurposeOfFeeTableNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "PurposeOfFeeTableNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purpose of Fee Table , Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r752"
     ]
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyInvestmentIncomeLossPerShare",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails": {
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net investment income per share (basic and diluted):",
        "label": "Investment Company, Investment Income (Loss), Per Share",
        "verboseLabel": "Net investment income",
        "documentation": "Per share or unit amount, after investment expense, of dividend and interest investment income (loss)."
       }
      }
     },
     "auth_ref": [
      "r451"
     ]
    },
    "us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyGainLossOnInvestmentPerShare",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails": {
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net realized gains (loss)",
        "label": "Investment Company, Gain (Loss) on Investment, Per Share",
        "documentation": "Per share or unit amount of realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r452"
     ]
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentMaturityDate",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maturity date",
        "label": "Debt Instrument, Maturity Date",
        "documentation": "Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r107",
      "r669",
      "r908"
     ]
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Investment Income (Loss) from Operations, Per Share",
        "totalLabel": "Net increase (decrease) in net assets resulting from operations",
        "documentation": "Per share or unit amount of investment income (loss) and realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r453"
     ]
    },
    "cef_ManagementFeeNotBasedOnNetAssetsNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ManagementFeeNotBasedOnNetAssetsNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fee not based on Net Assets, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r763"
     ]
    },
    "us-gaap_InvestmentCompanyDistributionToShareholdersPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyDistributionToShareholdersPerShare",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Distribution to Shareholders, Per Share",
        "terseLabel": "Distributions declared from net investment income",
        "negatedLabel": "Distributions declared from net investment income",
        "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."
       }
      }
     },
     "auth_ref": [
      "r439",
      "r454"
     ]
    },
    "dei_AmendmentDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AmendmentDescription",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Description",
        "documentation": "Description of changes contained within amended document."
       }
      }
     },
     "auth_ref": []
    },
    "cef_BasisOfTransactionFeesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "BasisOfTransactionFeesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Transaction Fees, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r759"
     ]
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustments to reconcile net increase (decrease) in net assets resulting from operations to net cash provided by (used for) operating activities:",
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyFinancialRatiosAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyFinancialRatiosAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ratio/Supplemental Data:",
        "label": "Investment Company, Financial Ratios [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossRatio": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyInvestmentIncomeLossRatio",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ratio of net investment income to average net assets",
        "label": "Investment Company, Investment Income (Loss) Ratio",
        "documentation": "Percentage of investment income (loss) to average net assets."
       }
      }
     },
     "auth_ref": []
    },
    "cef_OtherTransactionFeesBasisNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherTransactionFeesBasisNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r760"
     ]
    },
    "cef_OtherTransactionFeesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherTransactionFeesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r760"
     ]
    },
    "cef_OtherTransactionFeesBasisMaximum": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherTransactionFeesBasisMaximum",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum"
       }
      }
     },
     "auth_ref": [
      "r760"
     ]
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CityAreaCode",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "City Area Code",
        "terseLabel": "City Area Code",
        "documentation": "Area code of city"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument, Name",
        "label": "Debt Instrument, Name [Domain]",
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r18",
      "r140",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r249",
      "r254",
      "r255",
      "r256",
      "r257",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r351",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r877"
     ]
    },
    "cef_OtherTransactionFeesBasisMaximumPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherTransactionFeesBasisMaximumPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum [Percent]"
       }
      }
     },
     "auth_ref": [
      "r760"
     ]
    },
    "cef_OtherExpensesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherExpensesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r761"
     ]
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number",
        "documentation": "Local phone number for entity."
       }
      }
     },
     "auth_ref": []
    },
    "cef_IncentiveAllocationPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "IncentiveAllocationPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation [Percent]"
       }
      }
     },
     "auth_ref": [
      "r756"
     ]
    },
    "cef_AcquiredFundFeesEstimatedNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AcquiredFundFeesEstimatedNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees Estimated, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r755"
     ]
    },
    "us-gaap_DomesticCountryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DomesticCountryMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal",
        "label": "Domestic Tax Authority [Member]",
        "documentation": "Designated tax department of the government that is entitled to levy and collect income taxes from the entity in its country of domicile."
       }
      }
     },
     "auth_ref": []
    },
    "cef_AcquiredFundFeesAndExpensesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AcquiredFundFeesAndExpensesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r753"
     ]
    },
    "us-gaap_InvestmentCompanyTotalReturnAfterIncentiveFees": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyTotalReturnAfterIncentiveFees",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total return based on net asset value",
        "label": "Investment Company, Total Return after Incentive Fees",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r447"
     ]
    },
    "cef_AcquiredFundIncentiveAllocationNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AcquiredFundIncentiveAllocationNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Incentive Allocation, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r756"
     ]
    },
    "us-gaap_InvestmentCompanyDividendDistribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyDividendDistribution",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "parentTag": "gecc_DistributionsToStockholders",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Investment Company, Dividend Distribution, Total",
        "label": "Investment Company, Dividend Distribution",
        "negatedLabel": "Distributions",
        "documentation": "Amount of dividend distribution from ordinary income and capital gain. Excludes distribution for tax return of capital."
       }
      }
     },
     "auth_ref": [
      "r439",
      "r442",
      "r443",
      "r534"
     ]
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementLineItems",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statement [Line Items]",
        "label": "Statement [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r141",
      "r142",
      "r143",
      "r161",
      "r392",
      "r425",
      "r458",
      "r474",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r486",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r494",
      "r495",
      "r496",
      "r497",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r505",
      "r510",
      "r511",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r535",
      "r687"
     ]
    },
    "gecc_AmericanTowerCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AmericanTowerCorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "American Tower Corporation 116 Huntington Avenue Boston, MA 02116",
        "label": "American Tower Corporation [Member]",
        "documentation": "American tower corporation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlements",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sales and Settlements",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases, (Sales), Issuances, (Settlements)",
        "totalLabel": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases, (Sales), Issuances, (Settlements), Total",
        "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."
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Summary of Reconciliation of Level 3 Assets",
        "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."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r45"
     ]
    },
    "us-gaap_InvestmentCompanyIncentiveFeeToAverageNetAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyIncentiveFeeToAverageNetAssets",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ratio of incentive fees to average net assets",
        "label": "Investment Company, Incentive Fee to Average Net Assets",
        "documentation": "Percentage of incentive fee expense to average net assets."
       }
      }
     },
     "auth_ref": [
      "r445"
     ]
    },
    "us-gaap_RelatedPartyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Related Party",
        "label": "Related Party, Type [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r296",
      "r355",
      "r356",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r503",
      "r505",
      "r544"
     ]
    },
    "us-gaap_InvestmentCompanyDistributionToShareholdersAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyDistributionToShareholdersAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Distributions to stockholders:",
        "label": "Investment Company, Distribution to Shareholders [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation [Table]",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r45"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning Balance",
        "periodEndLabel": "Ending Balance",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "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."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Transfers In/Out",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net",
        "totalLabel": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net, Total",
        "verboseLabel": "Fair value transferred, increased pricing transparency",
        "documentation": "Amount of transfer of financial instrument classified as an asset into (out of) level 3 of the fair value hierarchy."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_EnergyServicesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EnergyServicesMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Energy Services",
        "label": "Energy Services [Member]",
        "documentation": "Energy services."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Instruments",
        "label": "Financial Instruments [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r184",
      "r185",
      "r186",
      "r187",
      "r188",
      "r189",
      "r190",
      "r191",
      "r192",
      "r193",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r267",
      "r285",
      "r337",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r415",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r887",
      "r888",
      "r889",
      "r890"
     ]
    },
    "ecd_PayVsPerformanceDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "PayVsPerformanceDisclosureLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Line Items]",
        "terseLabel": "Pay vs Performance Disclosure"
       }
      }
     },
     "auth_ref": [
      "r810"
     ]
    },
    "gecc_BlackstoneSecuredLendingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "BlackstoneSecuredLendingMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsOfFinancingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsOfFinancingCosts",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Payments of deferred financing costs",
        "label": "Payments of Financing Costs",
        "totalLabel": "Payments of Financing Costs, Total",
        "documentation": "The cash outflow for loan and debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "gecc_RMGAcquisitionCorpIIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "RMGAcquisitionCorpIIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "RMG Acquisition Corp. III 57 Ocean, Suite 403 5775 Collins Avenue Miami Beach, FL 33140",
        "label": "R M G Acquisition Corp I I I [Member]",
        "documentation": "RMG Acquisition Corp. III."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PrepaidExpensesAndOtherAssetsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PrepaidExpensesAndOtherAssetsPolicyTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prepaid Expenses and Other Assets",
        "label": "Prepaid Expenses and Other Assets [Policy Text Block]",
        "documentation": "Prepaid Expenses and other assets policy."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyExpenseRatioIncludingVoluntaryFeeWaiver": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyExpenseRatioIncludingVoluntaryFeeWaiver",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ratio of total expenses to average net assets after waiver",
        "label": "Investment Company, Expense Ratio, after Voluntary Fee Waiver Deduction",
        "documentation": "Percentage, after deduction of voluntary fee waiver, of expense to average net assets."
       }
      }
     },
     "auth_ref": [
      "r924"
     ]
    },
    "gecc_FivePointEightSevenFivePercentNotesDueTwoThousandTwentySixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FivePointEightSevenFivePercentNotesDueTwoThousandTwentySixMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Five Point Eight Seven Five Percent Notes Due Two Thousand Twenty Six [Member]",
        "documentation": "Five point eight seven five percent notes due two thousand twenty six.",
        "terseLabel": "5.875% Notes due 2026",
        "verboseLabel": "GECCO Notes"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_AusterlitzAcquisitionCorporationIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AusterlitzAcquisitionCorporationIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Austerlitz Acquisition Corp. II 1701 Village Center Circle Las Vegas, NV 89134",
        "label": "Austerlitz Acquisition Corporation I I [Member]",
        "documentation": "Austerlitz Acquisition Corporation II."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CommitmentsAndContingenciesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommitmentsAndContingenciesTable",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments And Contingencies [Table]",
        "label": "Commitments And Contingencies [Table]",
        "documentation": "Commitments and contingencies."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_RetroactiveAdjustmentsForReverseStockSplitPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "RetroactiveAdjustmentsForReverseStockSplitPolicyTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Retroactive Adjustments for Reverse Stock Split",
        "label": "Retroactive Adjustments For Reverse Stock Split Policy [Text Block]",
        "documentation": "Retroactive adjustments for reverse stock split."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_APTIMCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "APTIMCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "APTIM Corp. 4171 Essen Lane Baton Rouge, LA 70809",
        "label": "A P T I M Corp [Member]",
        "documentation": "A P T I M Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_AsiaAndOceaniaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AsiaAndOceaniaMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asia/Oceania",
        "label": "Asia And Oceania [Member]",
        "documentation": "Asia and Oceania."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Related Party Transactions By Related Party [Table]",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r49",
      "r50",
      "r512",
      "r513",
      "r516"
     ]
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedParties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Significant Agreements and Related Parties",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r352",
      "r353",
      "r354",
      "r356",
      "r357",
      "r435",
      "r436",
      "r437",
      "r514",
      "r515",
      "r516",
      "r540",
      "r542"
     ]
    },
    "gecc_AmortizationOfAcquisitionPremium": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AmortizationOfAcquisitionPremium",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amortization of acquisition premium",
        "label": "Amortization Of Acquisition Premium",
        "documentation": "Amortization of acquisition premium."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PercentageOfAggregateFairValueOfControlledInvestments": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfAggregateFairValueOfControlledInvestments",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of Aggregate Fair Value of Controlled Investments",
        "label": "Percentage Of Aggregate Fair Value Of Controlled Investments",
        "documentation": "Percentage of aggregate fair value of controlled investments."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_OnePointOneTwoFiveLienSecuredLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "OnePointOneTwoFiveLienSecuredLoanMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "1.125 Lien Secured Loan",
        "label": "One Point One Two Five Lien Secured Loan [Member]",
        "documentation": "One point one two five lien, secured loan."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionLineItems",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Related Party Transaction [Line Items]",
        "label": "Related Party Transaction [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r512",
      "r513",
      "r516"
     ]
    },
    "gecc_KKRAcquisitionHoldingsICorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "KKRAcquisitionHoldingsICorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "KKR Acquisition Holdings I Corp. 30 Hudson Yards, Suite 7500 New York, NY 10001",
        "label": "K K R Acquisition Holdings I Corp [Member]",
        "documentation": "KKR Acquisition Holdings I Corp."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LossContingencyDamagesSoughtValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LossContingencyDamagesSoughtValue",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loss contingency, damages sought, value",
        "label": "Loss Contingency, Damages Sought, Value",
        "documentation": "The value (monetary amount) of the award the plaintiff seeks in the legal matter."
       }
      }
     },
     "auth_ref": [
      "r894",
      "r895",
      "r896"
     ]
    },
    "gecc_ValuationOfPortfolioInvestmentsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ValuationOfPortfolioInvestmentsPolicyTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Valuation of Portfolio Investments",
        "label": "Valuation Of Portfolio Investments Policy [Text Block]",
        "documentation": "Valuation of portfolio investments."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_AdvancedMergerPartnersIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AdvancedMergerPartnersIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Advanced Merger Partners Inc 555 West 57th Street, Suite 1326 New York, NY 10019",
        "label": "Advanced Merger Partners Inc [Member]",
        "documentation": "Advanced Merger Partners Inc."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIncomeNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentIncomeNet",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "parentTag": "us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net investment income",
        "label": "Investment Income, Net",
        "totalLabel": "Net investment income",
        "documentation": "Amount after accretion (amortization) of discount (premium), and investment expense, of interest income and dividend income on nonoperating securities."
       }
      }
     },
     "auth_ref": [
      "r73",
      "r75"
     ]
    },
    "gecc_TribeCapitalGrowthCorpIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TribeCapitalGrowthCorpIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tribe Capital Growth Corp I 2700 19th Street San Francisco, CA 94110",
        "label": "Tribe Capital Growth Corp I [Member]",
        "documentation": "Tribe Capital Growth Corp I."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ITPLiveProductionGroupMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ITPLiveProductionGroupMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "I T P Live Production Group [Member]",
        "documentation": "ITP Live Production Group.",
        "terseLabel": "ITP Live Production Group 101 Greenwich Street, Floor 26 New York, NY 10006"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_BorrowingsUnderCreditFacility": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "BorrowingsUnderCreditFacility",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Borrowings under credit facility",
        "label": "Borrowings Under Credit Facility",
        "documentation": "Borrowings under credit facility."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SilverSpikeAcquisitionCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SilverSpikeAcquisitionCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Silver Spike Acquisition Corp II 660 Madison Avenue, Suite 1600 New York, NY 10065",
        "label": "Silver Spike Acquisition Corp I I [Member]",
        "documentation": "Silver Spike Acquisition Corp II."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_AngusChemicalCompanyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AngusChemicalCompanyMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Investment Assets Categorized within Fair Value Hierarchy",
        "label": "Fair Value, Assets Measured on Recurring Basis [Table Text Block]",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r43",
      "r91"
     ]
    },
    "gecc_AvantiSpaceLimitedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AvantiSpaceLimitedMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Avanti Space Limited Cobham House 20 Black Friars Lane London, UK EC4V 6EB",
        "label": "Avanti Space Limited [Member]",
        "documentation": "Avanti space limited."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_ExecutiveCategoryAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "ExecutiveCategoryAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Executive Category [Axis]",
        "terseLabel": "Executive Category:"
       }
      }
     },
     "auth_ref": [
      "r822"
     ]
    },
    "ecd_OutstandingAggtErrCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "OutstandingAggtErrCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Aggregate Erroneous Compensation Amount",
        "terseLabel": "Outstanding Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r708",
      "r720",
      "r801",
      "r828"
     ]
    },
    "ecd_StkPrcOrTsrEstimationMethodTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "StkPrcOrTsrEstimationMethodTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Price or TSR Estimation Method [Text Block]",
        "terseLabel": "Stock Price or TSR Estimation Method"
       }
      }
     },
     "auth_ref": [
      "r707",
      "r719",
      "r800",
      "r827"
     ]
    },
    "us-gaap_OtherLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Due to affiliates",
        "label": "Other Liabilities",
        "totalLabel": "Other Liabilities, Total",
        "documentation": "Amount of liabilities classified as other."
       }
      }
     },
     "auth_ref": [
      "r52",
      "r407",
      "r480",
      "r481",
      "r695",
      "r931"
     ]
    },
    "us-gaap_InterestExpenseDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 6.0
      },
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "label": "Interest Expense, Debt",
        "terseLabel": "Interest expense",
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt."
       }
      }
     },
     "auth_ref": [
      "r75",
      "r262",
      "r272",
      "r672",
      "r673"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings",
        "terseLabel": "Net Realized Gain (Loss)",
        "negatedLabel": "Net Realized Gain (Loss)",
        "documentation": "Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3)."
       }
      }
     },
     "auth_ref": [
      "r346"
     ]
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputDiscountRateMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Discount Rate",
        "label": "Measurement Input, Discount Rate [Member]",
        "documentation": "Measurement input using interest rate to determine present value of future cash flows."
       }
      }
     },
     "auth_ref": [
      "r907"
     ]
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxAuthorityAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Tax Authority",
        "label": "Income Tax Authority [Axis]",
        "documentation": "Information by tax jurisdiction."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "us-gaap_EquityFundsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityFundsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity/Other",
        "label": "Equity Funds [Member]",
        "documentation": "An investment that pools funds from many investors to invest in a combination of underlying investments, primarily equity investments."
       }
      }
     },
     "auth_ref": [
      "r903"
     ]
    },
    "ecd_AllExecutiveCategoriesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AllExecutiveCategoriesMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Executive Categories [Member]",
        "terseLabel": "All Executive Categories"
       }
      }
     },
     "auth_ref": [
      "r822"
     ]
    },
    "us-gaap_AdministrativeFeesExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdministrativeFeesExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Administration fees",
        "label": "Administrative Fees Expense",
        "documentation": "Amount of expense for administrative fee from service provided, including, but not limited to, salary, rent, or overhead cost."
       }
      }
     },
     "auth_ref": [
      "r49",
      "r505",
      "r936"
     ]
    },
    "us-gaap_InvestmentOwnedAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentOwnedAtFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Fair value, Ending Balance",
        "periodStartLabel": "Fair value, Beginning Balance",
        "terseLabel": "Investments at Fair Value",
        "verboseLabel": "Fair Value",
        "label": "Total investments",
        "documentation": "Fair value of investment in security owned."
       }
      }
     },
     "auth_ref": [
      "r425",
      "r459",
      "r460",
      "r461",
      "r463",
      "r465",
      "r466",
      "r467",
      "r469",
      "r474",
      "r477",
      "r488",
      "r489",
      "r545",
      "r554",
      "r555",
      "r564",
      "r576",
      "r577",
      "r590",
      "r591",
      "r592",
      "r600",
      "r603",
      "r622",
      "r624",
      "r627",
      "r686",
      "r695",
      "r930"
     ]
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract",
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Per Share Data:",
        "label": "Investment Company, Investment Income (Loss) from Operations, Per Share [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_Additional402vDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "Additional402vDisclosureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional 402(v) Disclosure [Text Block]",
        "terseLabel": "Additional 402(v) Disclosure"
       }
      }
     },
     "auth_ref": [
      "r809"
     ]
    },
    "ecd_PeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "PeoMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO [Member]",
        "terseLabel": "PEO"
       }
      }
     },
     "auth_ref": [
      "r822"
     ]
    },
    "us-gaap_ManagementFeeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ManagementFeeExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Management fees",
        "label": "Management Fee Expense",
        "documentation": "Amount of expense for investment management fee, including, but not limited to, expense in connection with research, selection, supervision, and custody of investment."
       }
      }
     },
     "auth_ref": [
      "r49",
      "r511",
      "r693",
      "r932"
     ]
    },
    "ecd_RestatementDateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "RestatementDateAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date [Axis]",
        "terseLabel": "Restatement Determination Date:"
       }
      }
     },
     "auth_ref": [
      "r704",
      "r716",
      "r797",
      "r824"
     ]
    },
    "us-gaap_MeasurementInputPriceVolatilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputPriceVolatilityMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Volatility",
        "label": "Measurement Input, Price Volatility [Member]",
        "documentation": "Measurement input using rate at which price of security will increase (decrease) for given set of returns."
       }
      }
     },
     "auth_ref": [
      "r907"
     ]
    },
    "ecd_NonPeoNeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "NonPeoNeoMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO [Member]",
        "terseLabel": "Non-PEO NEO"
       }
      }
     },
     "auth_ref": [
      "r822"
     ]
    },
    "us-gaap_MeasurementInputRevenueMultipleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputRevenueMultipleMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings Multiple",
        "label": "Measurement Input, Revenue Multiple [Member]",
        "documentation": "Measurement input using market valuation of entity divided by revenue."
       }
      }
     },
     "auth_ref": [
      "r907"
     ]
    },
    "ecd_IndividualAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "IndividualAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Individual [Axis]",
        "terseLabel": "Individual:"
       }
      }
     },
     "auth_ref": [
      "r713",
      "r722",
      "r803",
      "r822",
      "r830",
      "r834",
      "r842"
     ]
    },
    "us-gaap_TechnologySectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TechnologySectorMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Technology",
        "label": "Technology Sector [Member]",
        "documentation": "Sector of the economy consisting of companies engaged in technology-related business activities."
       }
      }
     },
     "auth_ref": [
      "r686",
      "r942",
      "r944",
      "r946",
      "r949"
     ]
    },
    "ecd_AllIndividualsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AllIndividualsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Individuals [Member]",
        "terseLabel": "All Individuals"
       }
      }
     },
     "auth_ref": [
      "r713",
      "r722",
      "r803",
      "r822",
      "r830",
      "r834",
      "r842"
     ]
    },
    "us-gaap_MeasurementInputRiskFreeInterestRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputRiskFreeInterestRateMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Risk Free Rate",
        "label": "Measurement Input, Risk Free Interest Rate [Member]",
        "documentation": "Measurement input using interest rate on instrument with zero risk of financial loss."
       }
      }
     },
     "auth_ref": [
      "r907"
     ]
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputTypeDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Input Type",
        "label": "Measurement Input Type [Domain]",
        "documentation": "Measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_RecoveryOfErrCompDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "RecoveryOfErrCompDisclosureLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Recovery of Erroneously Awarded Compensation Disclosure [Line Items]",
        "terseLabel": "Recovery of Erroneously Awarded Compensation Disclosure"
       }
      }
     },
     "auth_ref": [
      "r703",
      "r715",
      "r796",
      "r823"
     ]
    },
    "us-gaap_StockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Equity",
        "totalLabel": "Total net assets",
        "label": "Equity, Attributable to Parent",
        "periodStartLabel": "Stockholders' Equity Attributable to Parent, Beginning Balance",
        "periodEndLabel": "Stockholders' Equity Attributable to Parent, Ending Balance",
        "documentation": "Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r65",
      "r66",
      "r82",
      "r487",
      "r504",
      "r537",
      "r538",
      "r682",
      "r695",
      "r878",
      "r891",
      "r909",
      "r938"
     ]
    },
    "cef_SecurityTitleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SecurityTitleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Title [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r728"
     ]
    },
    "us-gaap_Liabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Liabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities",
        "label": "Liabilities",
        "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."
       }
      }
     },
     "auth_ref": [
      "r15",
      "r139",
      "r218",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r332",
      "r335",
      "r336",
      "r348",
      "r484",
      "r660",
      "r695",
      "r897",
      "r911",
      "r912"
     ]
    },
    "us-gaap_ValuationTechniqueOptionPricingModelMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ValuationTechniqueOptionPricingModelMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Options Pricing Model",
        "label": "Valuation Technique, Option Pricing Model [Member]",
        "documentation": "Valuation technique calculating price of option."
       }
      }
     },
     "auth_ref": [
      "r907"
     ]
    },
    "ecd_RestatementDeterminationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "RestatementDeterminationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date",
        "terseLabel": "Restatement Determination Date"
       }
      }
     },
     "auth_ref": [
      "r705",
      "r717",
      "r798",
      "r825"
     ]
    },
    "us-gaap_AlternativeInvestmentMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AlternativeInvestmentMeasurementInput",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Range (Weighted Average)",
        "label": "Alternative Investment, Measurement Input",
        "documentation": "Value of input used to measure alternative investment."
       }
      }
     },
     "auth_ref": [
      "r345"
     ]
    },
    "us-gaap_LiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liabilities",
        "label": "Liabilities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_ErrCompRecoveryTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "ErrCompRecoveryTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneously Awarded Compensation Recovery [Table]",
        "terseLabel": "Erroneously Awarded Compensation Recovery"
       }
      }
     },
     "auth_ref": [
      "r703",
      "r715",
      "r796",
      "r823"
     ]
    },
    "us-gaap_EquitySecuritiesByIndustryAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquitySecuritiesByIndustryAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Industry Sector",
        "label": "Industry Sector [Axis]",
        "documentation": "Information by industry sector, examples include but are not limited to, commercial, industrial, agricultural, financial services, technology, healthcare and real estate."
       }
      }
     },
     "auth_ref": [
      "r461",
      "r465",
      "r468",
      "r554",
      "r569",
      "r590",
      "r624",
      "r665",
      "r686"
     ]
    },
    "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Investment Company, Net Asset Value Per Share, Period Increase (Decrease), Total",
        "label": "Investment Company, Net Asset Value Per Share, Period Increase (Decrease)",
        "terseLabel": "Net decrease resulting from distributions to common stockholders",
        "documentation": "Per share or unit amount of increase (decrease) in net asset value."
       }
      }
     },
     "auth_ref": [
      "r929"
     ]
    },
    "us-gaap_OtherLiabilityRelatedPartyTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherLiabilityRelatedPartyTypeExtensibleEnumeration",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Liability, Related Party, Type [Extensible Enumeration]",
        "documentation": "Indicates type of related party for liability classified as other."
       }
      }
     },
     "auth_ref": [
      "r910"
     ]
    },
    "us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment owned,net unrealized depreciation",
        "label": "Investment, Tax Basis, Unrealized Gain (Loss)",
        "totalLabel": "Tax Basis of Investments, Unrealized Appreciation (Depreciation), Net, Total",
        "documentation": "Amount of cumulative increase (decrease) in investment from unrealized gain (loss) when value exceeds (is less than) cost for federal income tax purpose."
       }
      }
     },
     "auth_ref": [
      "r429"
     ]
    },
    "cef_SecurityVotingRightsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SecurityVotingRightsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Voting Rights [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r730"
     ]
    },
    "ecd_AggtErrCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AggtErrCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Amount",
        "terseLabel": "Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r706",
      "r718",
      "r799",
      "r826"
     ]
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherNonoperatingIncomeExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other income(expense)",
        "label": "Other Nonoperating Income (Expense)",
        "totalLabel": "Other Nonoperating Income (Expense), Total",
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other."
       }
      }
     },
     "auth_ref": [
      "r76"
     ]
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesAndStockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities and net assets",
        "label": "Liabilities and Equity",
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any."
       }
      }
     },
     "auth_ref": [
      "r67",
      "r95",
      "r412",
      "r682",
      "r878",
      "r891",
      "r909"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "parentTag": "us-gaap_StockholdersEquityPeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Issued During Period, Value, New Issues",
        "terseLabel": "Issuance of common stock, net",
        "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."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r62",
      "r63",
      "r88",
      "r443",
      "r535",
      "r634",
      "r694"
     ]
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross Additions",
        "label": "Investments in and Advances to Affiliates, at Fair Value, Gross Additions",
        "documentation": "Gross additions to the investment in and advance to the affiliate."
       }
      }
     },
     "auth_ref": [
      "r601"
     ]
    },
    "ecd_ErrCompAnalysisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "ErrCompAnalysisTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneous Compensation Analysis [Text Block]",
        "terseLabel": "Erroneous Compensation Analysis"
       }
      }
     },
     "auth_ref": [
      "r706",
      "r718",
      "r799",
      "r826"
     ]
    },
    "us-gaap_UnsecuredDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UnsecuredDebtMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unsecured Notes",
        "label": "Unsecured Debt [Member]",
        "verboseLabel": "Unsecured Note",
        "documentation": "Debt obligation not collateralized by pledge of, mortgage of or other lien on the entity's assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ValuationTechniqueDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ValuationTechniqueDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Valuation Approach and Technique",
        "label": "Valuation Approach and Technique [Domain]",
        "documentation": "Valuation approach and technique."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_MarketApproachValuationTechniqueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MarketApproachValuationTechniqueMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Market Approach",
        "label": "Valuation, Market Approach [Member]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_LongTermDebtWeightedAverageInterestRateOverTime": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtWeightedAverageInterestRateOverTime",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Weighted Average Interest Rate, over Time",
        "terseLabel": "Weighted average interest rate",
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated over time."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ValuationTechniqueAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ValuationTechniqueAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Valuation Approach and Technique",
        "label": "Valuation Approach and Technique [Axis]",
        "documentation": "Information by valuation approach and technique."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_IncomeApproachValuationTechniqueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeApproachValuationTechniqueMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Approach",
        "label": "Valuation, Income Approach [Member]",
        "documentation": "Valuation approach converting future amounts to single current discounted amount."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment, Name",
        "label": "Investment, Name [Axis]"
       }
      }
     },
     "auth_ref": [
      "r215",
      "r216",
      "r217"
     ]
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestPayableCurrentAndNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest payable",
        "label": "Interest Payable",
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables."
       }
      }
     },
     "auth_ref": [
      "r51",
      "r920"
     ]
    },
    "us-gaap_ReceivableInvestmentSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ReceivableInvestmentSale",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivable, Investment, Sale",
        "terseLabel": "Receivable for investments sold",
        "documentation": "Amount of receivable from sale of investment."
       }
      }
     },
     "auth_ref": [
      "r493",
      "r543",
      "r695"
     ]
    },
    "country_US": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "localname": "US",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "United States",
        "label": "UNITED STATES"
       }
      }
     },
     "auth_ref": []
    },
    "cef_SecurityLiabilitiesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SecurityLiabilitiesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liabilities [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r732"
     ]
    },
    "us-gaap_PayableInvestmentPurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PayableInvestmentPurchase",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payable, Investment, Purchase",
        "terseLabel": "Payable for investments purchased",
        "documentation": "Amount of payable for purchase of investment."
       }
      }
     },
     "auth_ref": [
      "r475",
      "r632",
      "r695"
     ]
    },
    "ecd_TradingArrAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "TradingArrAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement [Axis]",
        "terseLabel": "Trading Arrangement:"
       }
      }
     },
     "auth_ref": [
      "r840"
     ]
    },
    "cef_SeniorSecuritiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r770"
     ]
    },
    "cef_IncentiveAllocationMinimumPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "IncentiveAllocationMinimumPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Minimum [Percent]"
       }
      }
     },
     "auth_ref": [
      "r756"
     ]
    },
    "ecd_AllTradingArrangementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AllTradingArrangementsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Trading Arrangements [Member]",
        "terseLabel": "All Trading Arrangements"
       }
      }
     },
     "auth_ref": [
      "r840"
     ]
    },
    "cef_SeniorSecuritiesAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesAmount",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Amount (Deprecated 2023-01-31)"
       }
      }
     },
     "auth_ref": [
      "r771"
     ]
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ConsolidationPolicyTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basis of Consolidation",
        "label": "Consolidation, Policy [Policy Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r40",
      "r657"
     ]
    },
    "gecc_PerforceSoftwareIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PerforceSoftwareIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Perforce Software, Inc. 400 First Avenue North #200 Minneapolis, MN 55401",
        "label": "Perforce Software Inc [Member]",
        "documentation": "Perforce Software, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_Rule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "Rule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "auth_ref": [
      "r841"
     ]
    },
    "cef_AcquiredFundTotalAnnualExpensesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AcquiredFundTotalAnnualExpensesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Total Annual Expenses, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r757"
     ]
    },
    "gecc_ArctosNorthStarAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ArctosNorthStarAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Arctos NorthStar Acquisition Corp. 2021 McKinney Avenue, Suite 200 Dallas, TX 75201",
        "label": "Arctos North Star Acquisition Corp [Member]",
        "documentation": "Arctos NorthStar Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "cef_IncentiveAllocationMaximumPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "IncentiveAllocationMaximumPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Maximum [Percent]"
       }
      }
     },
     "auth_ref": [
      "r756"
     ]
    },
    "gecc_SignificantAccountingPoliciesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SignificantAccountingPoliciesTable",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Significant Accounting Policies [Table]",
        "label": "Significant Accounting Policies [Table]",
        "documentation": "Significant accounting policies."
       }
      }
     },
     "auth_ref": []
    },
    "cef_FinancialHighlightsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "FinancialHighlightsAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Highlights [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r766"
     ]
    },
    "gecc_EnservcoHeatWavesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EnservcoHeatWavesMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Enservco / Heat Waves 14133 County Rd 9 1/2 Longmont, CO 80504",
        "label": "Enservco Heat Waves [Member]",
        "documentation": "Enservco / Heat waves."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PlanetLabsPBCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PlanetLabsPBCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Planet Labs PBC 645 Harrison Street, 4th Floor San Francisco, CA 94107",
        "label": "Planet Labs P B C [Member]",
        "documentation": "Planet Labs PBC."
       }
      }
     },
     "auth_ref": []
    },
    "cef_PrimaryShelfFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "PrimaryShelfFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf [Flag]"
       }
      }
     },
     "auth_ref": [
      "r726"
     ]
    },
    "gecc_AccruedIncentiveFeesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AccruedIncentiveFeesPayable",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Accrued incentive fees payable",
        "terseLabel": "Accrued incentive fees payable",
        "label": "Accrued Incentive Fees Payable",
        "documentation": "Accrued incentive fees payable."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_OneEquityPartnersOpenWaterICorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "OneEquityPartnersOpenWaterICorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "One Equity Partners Open Water I Corp",
        "label": "One Equity Partners Open Water I Corp [Member]",
        "documentation": "One Equity Partners Open Water I Corp."
       }
      }
     },
     "auth_ref": []
    },
    "dei_Security12bTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "Security12bTitle",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security",
        "documentation": "Title of a 12(b) registered security."
       }
      }
     },
     "auth_ref": [
      "r697"
     ]
    },
    "gecc_RevolverMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "RevolverMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Revolver",
        "label": "Revolver [Member]",
        "documentation": "Revolver."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PearTherapeuticsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PearTherapeuticsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pear Therapeutics, Inc. 200 State Street, 13th Floor Boston, MA 02109",
        "label": "Pear Therapeutics Inc [Member]",
        "documentation": "Pear Therapeutics, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SeniorSecuritiesAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesAmt",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Amount"
       }
      }
     },
     "auth_ref": [
      "r771"
     ]
    },
    "ecd_Rule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "Rule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "auth_ref": [
      "r841"
     ]
    },
    "gecc_CommonEquityEightyEightPercentageOfClassMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommonEquityEightyEightPercentageOfClassMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity (88% of Class)",
        "label": "Common Equity Eighty Eight Percentage Of Class [Member]",
        "documentation": "Common equity eighty eight percentage of class."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SignificantAccountingPoliciesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SignificantAccountingPoliciesLineItems",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Significant Accounting Policies [Line Items]",
        "label": "Significant Accounting Policies [Line Items]",
        "documentation": "Significant accounting policies."
       }
      }
     },
     "auth_ref": []
    },
    "cef_RegisteredClosedEndFundFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "RegisteredClosedEndFundFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registered Closed-End Fund [Flag]"
       }
      }
     },
     "auth_ref": [
      "r726"
     ]
    },
    "gecc_CommonStockIssuedInKind": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommonStockIssuedInKind",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock issued in-kind",
        "label": "Common Stock Issued In Kind",
        "documentation": "Common stock issued in-kind."
       }
      }
     },
     "auth_ref": []
    },
    "cef_PrimaryShelfQualifiedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "PrimaryShelfQualifiedFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf Qualified [Flag]"
       }
      }
     },
     "auth_ref": [
      "r726"
     ]
    },
    "gecc_DebtInstrumentTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DebtInstrumentTwoMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument Two",
        "label": "Debt Instrument Two [Member]",
        "documentation": "Debt Instrument Two [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "cef_BusinessDevelopmentCompanyFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "BusinessDevelopmentCompanyFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Development Company [Flag]"
       }
      }
     },
     "auth_ref": [
      "r726"
     ]
    },
    "ecd_NonRule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "NonRule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "auth_ref": [
      "r841"
     ]
    },
    "gecc_CleaverBrooksIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CleaverBrooksIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cleaver-Brooks, Inc. 221 Law Street Thomasville, GA 31792",
        "label": "Cleaver Brooks Inc [Member]",
        "documentation": "Cleaver-Brooks, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GSFinancialSquareTreasuryObligationsFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GSFinancialSquareTreasuryObligationsFundMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "GS Financial Square Treasury Obligations Fund",
        "label": "G S Financial Square Treasury Obligations Fund [Member]",
        "documentation": "GS Financial Square Treasury Obligations Fund."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SeniorSecuritiesCvgPerUnit": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesCvgPerUnit",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Coverage per Unit"
       }
      }
     },
     "auth_ref": [
      "r772"
     ]
    },
    "gecc_EquityEightyEightPercentOfClassMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EquityEightyEightPercentOfClassMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity (88% of Class)",
        "label": "Equity Eighty Eight Percent of Class [Member]",
        "documentation": "Equity Eighty Eight Percent of Class [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_UniversalFiberSystemsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "UniversalFiberSystemsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Universal Fiber Systems 640 State Street Bristol, TN 37620",
        "label": "Universal Fiber Systems [Member]",
        "documentation": "Universal fiber systems."
       }
      }
     },
     "auth_ref": []
    },
    "cef_DividendReinvestmentAndCashPurchaseFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "DividendReinvestmentAndCashPurchaseFees",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Reinvestment and Cash Purchase Fees"
       }
      }
     },
     "auth_ref": [
      "r751"
     ]
    },
    "gecc_GoresTechnologyPartnersIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GoresTechnologyPartnersIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gores Technology Partners, Inc",
        "label": "Gores Technology Partners Inc [Member]",
        "documentation": "Gores Technology Partners, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cef_IntervalFundFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "IntervalFundFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interval Fund [Flag]"
       }
      }
     },
     "auth_ref": [
      "r726"
     ]
    },
    "ecd_NonRule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "NonRule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "auth_ref": [
      "r841"
     ]
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "TradingSymbol",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock, par value",
        "label": "Common Stock, Par or Stated Value Per Share",
        "documentation": "Face amount or stated value per share of common stock."
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "us-gaap_DeferredTaxAssetsCapitalLossCarryforwards": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredTaxAssetsCapitalLossCarryforwards",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred tax assets, capital loss carryforwards",
        "label": "Deferred Tax Assets, Capital Loss Carryforwards",
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible capital loss carryforwards."
       }
      }
     },
     "auth_ref": [
      "r39",
      "r904"
     ]
    },
    "gecc_AgroFreshIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AgroFreshIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "AgroFresh Inc. One Washington Square, 510-530 Walnut Street, Suite 1350, Philadelphia, PA 19106",
        "label": "Agro Fresh Inc [Member]",
        "documentation": "AgroFresh Inc."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_NorthernStarInvestmentCorpIVMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NorthernStarInvestmentCorpIVMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Northern Star Investment Corp. IV The Chrysler Building 405 Lexington Avenue New York, NY 10174",
        "label": "Northern Star Investment Corp I V [Member]",
        "documentation": "Northern Star Investment Corp. IV."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_InvestmentCompanyNetChangesInUnrealizedAppreciationDepreciation": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "InvestmentCompanyNetChangesInUnrealizedAppreciationDepreciation",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails": {
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net change in unrealized appreciation (depreciation)",
        "label": "Investment Company Net Changes In Unrealized Appreciation Depreciation",
        "documentation": "Per share or unit amount of investment company, Net changes in unrealized appreciation (depreciation)."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SoftwareServicesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SoftwareServicesMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Software Services",
        "label": "Software Services [Member]",
        "documentation": "Software services."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_OysterEnterprisesAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "OysterEnterprisesAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Oyster Enterprises Acquisition Corp. 777 South Flagler Drive, Suite 800W West Palm Beach, FL 33401",
        "label": "Oyster Enterprises Acquisition Corp [Member]",
        "documentation": "Oyster enterprises acquisition corp."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SeniorSecuritiesCoveragePerUnit": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesCoveragePerUnit",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Coverage per Unit (Deprecated 2023-01-31)"
       }
      }
     },
     "auth_ref": [
      "r772"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r699"
     ]
    },
    "gecc_CrestwoodEquityPartnersLPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CrestwoodEquityPartnersLPMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Crestwood Equity Partners LP 811 Main Street, Suite 3400 Houston, TX 77002",
        "label": "Crestwood Equity Partners L P [Member]",
        "documentation": "Crestwood Equity Partners LP."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_MadEngineGlobalLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "MadEngineGlobalLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mad Engine Global, LLC 6740 Cobra Way San Diego, CA, 92121",
        "label": "Mad Engine Global L L C [Member]",
        "documentation": "Mad Engine Global, LLC."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_MtrlTermsOfTrdArrTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "MtrlTermsOfTrdArrTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Terms of Trading Arrangement [Text Block]",
        "terseLabel": "Material Terms of Trading Arrangement"
       }
      }
     },
     "auth_ref": [
      "r841"
     ]
    },
    "gecc_AdTheorentHoldingCompanyIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AdTheorentHoldingCompanyIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "AdTheorent Holding Company, Inc 330 Hudson Street, 13th Floor New York, NY 10013",
        "label": "Ad Theorent Holding Company Inc [Member]",
        "documentation": "AdTheorent Holding Company, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cef_RiskTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "RiskTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "cef_NewCefOrBdcRegistrantFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "NewCefOrBdcRegistrantFlag",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New CEF or BDC Registrant [Flag]"
       }
      }
     },
     "auth_ref": [
      "r726"
     ]
    },
    "gecc_AutoManufacturerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AutoManufacturerMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Auto Manufacturer",
        "label": "Auto Manufacturer [Member]",
        "documentation": "Auto manufacturer."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Involuntary Liquidating Preference per Unit (Deprecated 2023-01-31)"
       }
      }
     },
     "auth_ref": [
      "r773"
     ]
    },
    "gecc_MartinMidstreamPartnersLPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "MartinMidstreamPartnersLPMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Martin Midstream Partners LP 4200 Stone Road Kilgore, TX 75662",
        "label": "Martin Midstream Partners L P [Member]",
        "documentation": "Martin Midstream Partners LP."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TradingArrByIndTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "TradingArrByIndTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangements, by Individual [Table]",
        "terseLabel": "Trading Arrangements, by Individual"
       }
      }
     },
     "auth_ref": [
      "r842"
     ]
    },
    "cef_FeeTableAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "FeeTableAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Table [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r751"
     ]
    },
    "gecc_CaliforniaPizzaKitchenIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CaliforniaPizzaKitchenIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "California Pizza Kitchen, Inc. 12181 Bluff Creek Drive Playa Vista, CA 90094",
        "label": "California Pizza Kitchen Inc [Member]",
        "documentation": "California Pizza Kitchen Inc,"
       }
      }
     },
     "auth_ref": []
    },
    "cef_SeniorSecuritiesHighlightsAnnualizedNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesHighlightsAnnualizedNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Annualized, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r768",
      "r775"
     ]
    },
    "gecc_OilGasRefiningMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "OilGasRefiningMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Oil Gas Refining [Member]",
        "documentation": "Oil &amp; Gas Refining.",
        "terseLabel": "Oil &amp; Gas Refining"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PIRSCapitalLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PIRSCapitalLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PIRS Capital LLC 1688 Meridian Ave Ste 700 Miami Beach, FL 33139",
        "label": "P I R S Capital L L C [Member]",
        "documentation": "PIRS Capital LLC."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CartesianGrowthCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CartesianGrowthCorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cartesian Growth Corporation 505 5th Avenue, 15th Floor New York, NY 10017",
        "label": "Cartesian Growth Corporation [Member]",
        "documentation": "Cartesian Growth Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SeniorSecuritiesNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r767",
      "r775"
     ]
    },
    "cef_SeniorSecuritiesAverageMarketValuePerUnit": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesAverageMarketValuePerUnit",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Average Market Value per Unit"
       }
      }
     },
     "auth_ref": [
      "r774"
     ]
    },
    "ecd_TrdArrIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "TrdArrIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r842"
     ]
    },
    "gecc_InvestmentInterestRateOfPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "InvestmentInterestRateOfPercentage",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment interest rate of percentage",
        "label": "Investment Interest Rate Of Percentage",
        "documentation": "Investment interest rate of percentage."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_DebtInstrumentMinimumDenomination": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DebtInstrumentMinimumDenomination",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt instrument, minimum denomination",
        "label": "Debt Instrument Minimum Denomination",
        "documentation": "Debt instrument, minimum denomination."
       }
      }
     },
     "auth_ref": []
    },
    "cef_ShareholderTransactionExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ShareholderTransactionExpensesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Transaction Expenses [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r751"
     ]
    },
    "gecc_FairValueAssetRecurringBasisNetChangeInUnrealizedDepreciationStillHeld": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FairValueAssetRecurringBasisNetChangeInUnrealizedDepreciationStillHeld",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value, net change in unrealized depreciation",
        "label": "Fair Value Asset Recurring Basis Net Change In Unrealized Depreciation Still Held",
        "documentation": "Fair value asset recurring basis net change in unrealized depreciation still held."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses",
        "terseLabel": "Other expenses",
        "documentation": "Amount of expense classified as other."
       }
      }
     },
     "auth_ref": [
      "r72"
     ]
    },
    "gecc_IncreaseDecreaseInDueFromPortfolioCompany": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "IncreaseDecreaseInDueFromPortfolioCompany",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 17.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "(Increase) decrease in due from portfolio company",
        "label": "Increase Decrease In Due From Portfolio Company",
        "documentation": "(Increase) decrease in due from portfolio company."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_EquityFundsFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EquityFundsFiveMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Funds Five",
        "label": "Equity Funds Five [Member]",
        "documentation": "Equity Funds Five [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxPolicyTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "U.S. Federal Income Taxes",
        "label": "Income Tax, Policy [Policy Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r126",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r426"
     ]
    },
    "cef_SeniorSecuritiesHeadingsNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesHeadingsNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Headings, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r777"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CFAcquisitionCorpVIIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CFAcquisitionCorpVIIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C F Acquisition Corp V I I I [Member]",
        "documentation": "CF Acquisition Corp VIII.",
        "terseLabel": "CF Acquisition Corp VIII 110 East 59th Street New York, NY 10022"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GinkoBioworksHoldingsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GinkoBioworksHoldingsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ginko Bioworks Holdings, Inc.",
        "label": "Ginko Bioworks Holdings Inc [Member]",
        "documentation": "Ginko Bioworks Holdings, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SeniorSecuritiesAveragingMethodNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesAveragingMethodNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Averaging Method, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r776"
     ]
    },
    "ecd_TrdArrTerminationDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "TrdArrTerminationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Termination Date",
        "terseLabel": "Termination Date"
       }
      }
     },
     "auth_ref": [
      "r843"
     ]
    },
    "gecc_CapitalLossCarryforwardShortTerm": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CapitalLossCarryforwardShortTerm",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capital loss carryforward, short-term",
        "label": "Capital Loss Carryforward Short Term",
        "documentation": "Capital loss carryforward, short-term."
       }
      }
     },
     "auth_ref": []
    },
    "cef_EffectsOfLeverageTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "EffectsOfLeverageTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r781"
     ]
    },
    "gecc_CapitalGainsIncentiveFeesAccrual": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CapitalGainsIncentiveFeesAccrual",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capital gains incentive fees accrual",
        "label": "Capital Gains Incentive Fees Accrual",
        "documentation": "Capital gains incentive fees accrual."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SixPointFiveZeroPercentNotesDueTwoThousandTwentyFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SixPointFiveZeroPercentNotesDueTwoThousandTwentyFourMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Six Point Five Zero Percent Notes Due Two Thousand Twenty Four [Member]",
        "documentation": "Six point five zero percent notes due two thousand twenty four.",
        "terseLabel": "6.50% Notes due 2024",
        "verboseLabel": "GECCN Notes"
       }
      }
     },
     "auth_ref": []
    },
    "cef_OtherTransactionExpense2Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherTransactionExpense2Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 2 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r760"
     ]
    },
    "gecc_M3BrigadeAcquisitionIICorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "M3BrigadeAcquisitionIICorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "M3-Brigade Acquisition II Corp. 1700 Broadway, 19th Floor New York, NY 10019",
        "label": "M3 Brigade Acquisition I I Corp [Member]",
        "documentation": "M3-Brigade Acquisition II Corp."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TrdArrIndTitle": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "TrdArrIndTitle",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Title",
        "terseLabel": "Title"
       }
      }
     },
     "auth_ref": [
      "r842"
     ]
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accumulated losses",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "totalLabel": "Accumulated Other Comprehensive Income (Loss), Net of Tax, Total",
        "documentation": "Amount, after tax, of accumulated increase (decrease) in equity from transaction and other event and circumstance from nonowner source."
       }
      }
     },
     "auth_ref": [
      "r20",
      "r21",
      "r68",
      "r122",
      "r411",
      "r421",
      "r422"
     ]
    },
    "cef_GeneralDescriptionOfRegistrantAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "GeneralDescriptionOfRegistrantAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General Description of Registrant [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r778"
     ]
    },
    "gecc_TechAndEnergyTransitionCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TechAndEnergyTransitionCorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tech and Energy Transition Corporation 125 West 55th Street New York, NY 10019",
        "label": "Tech And Energy Transition Corporation [Member]",
        "documentation": "Tech and Energy Transition Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_WarburgPincusCapitalCorpIBMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "WarburgPincusCapitalCorpIBMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Warburg Pincus Capital Corp I-B 450 Lexington Avenue New York, NY 10017",
        "label": "Warburg Pincus Capital Corp I B [Member]",
        "documentation": "Warburg Pincus Capital Corp I-B."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SeniorSecuritiesHighlightsAuditedNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SeniorSecuritiesHighlightsAuditedNoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Audited, Note [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r769",
      "r775"
     ]
    },
    "cef_InvestmentObjectivesAndPracticesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "InvestmentObjectivesAndPracticesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Objectives and Practices [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r779"
     ]
    },
    "gecc_SonderHoldingsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SonderHoldingsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sonder Holdings Inc. 101 15th Street San Francisco, CA 94103",
        "label": "Sonder Holdings Inc [Member]",
        "documentation": "Sonder Holdings Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cef_SalesLoadPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SalesLoadPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales Load [Percent]"
       }
      }
     },
     "auth_ref": [
      "r751"
     ]
    },
    "ecd_TrdArrDuration": {
     "xbrltype": "durationItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "TrdArrDuration",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Duration",
        "terseLabel": "Arrangement Duration"
       }
      }
     },
     "auth_ref": [
      "r844"
     ]
    },
    "cef_RiskFactorsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "RiskFactorsTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Factors [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r780"
     ]
    },
    "gecc_HouseholdAndPersonalProductsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "HouseholdAndPersonalProductsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Household And Personal Products [Member]",
        "documentation": "Household &amp; Personal Products.",
        "terseLabel": "Household &amp; Personal Products"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_MonitronicsInternationalIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "MonitronicsInternationalIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Monitronics International, Inc. 1990 Wittington Place Dallas, TX 75234",
        "label": "Monitronics International Inc [Member]",
        "documentation": "Monitronics International, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_IncentiveFeeWaiver": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "IncentiveFeeWaiver",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Incentive fee waiver",
        "terseLabel": "Incentive fee waiver",
        "label": "Incentive Fee Waiver",
        "documentation": "Incentive fee waiver."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_VPCImpactAcquisitionHoldingsIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "VPCImpactAcquisitionHoldingsIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "VPC Impact Acquisition Holdings II 150 North Riverside Plaza, Suite 5200 Chicago, IL 60606",
        "label": "V P C Impact Acquisition Holdings I I [Member]",
        "documentation": "VPC Impact Acquisition Holdings II."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TrdArrAdoptionDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "TrdArrAdoptionDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Adoption Date",
        "terseLabel": "Adoption Date"
       }
      }
     },
     "auth_ref": [
      "r843"
     ]
    },
    "gecc_PercentageOfCapitalGainNetIncome": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfCapitalGainNetIncome",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of capital gain net income",
        "label": "Percentage Of Capital Gain Net Income",
        "documentation": "Percentage of capital gain net income."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GecczNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GecczNotesMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "GECCZ Notes [Member]",
        "documentation": "GECCZ Notes."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_VectorGroupLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "VectorGroupLtdMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vector group Ltd [Member].",
        "label": "Vector Group Ltd [Member]",
        "terseLabel": "Vector Group Ltd. 4400 Biscayne Blvd Miami, FL 33137"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ScIONTechGrowthIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ScIONTechGrowthIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ScION Tech Growth II 10 Queen St Place, 2nd Floor London, UK EC4R 1BE",
        "label": "Sc I O N Tech Growth I I [Member]",
        "documentation": "ScION Tech Growth II."
       }
      }
     },
     "auth_ref": []
    },
    "cef_AllRisksMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AllRisksMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Risks:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ExciseAndSalesTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ExciseAndSalesTaxes",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued excise tax expense",
        "label": "Excise and Sales Taxes",
        "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."
       }
      }
     },
     "auth_ref": [
      "r128"
     ]
    },
    "us-gaap_LineOfCreditFacilityExpirationDate1": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityExpirationDate1",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line of Credit Facility, Expiration Date",
        "terseLabel": "Revolving line of credit, maturity date",
        "documentation": "Date the credit facility terminates, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "gecc_IndemnificationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "IndemnificationAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Indemnification [Abstract]",
        "documentation": "Indemnification abstract."
       }
      }
     },
     "auth_ref": []
    },
    "cef_RiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "RiskAxis",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "cef_UnderwritersCompensationPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "UnderwritersCompensationPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underwriters Compensation [Percent]"
       }
      }
     },
     "auth_ref": [
      "r760"
     ]
    },
    "gecc_AssetRecoveryLiquidationValuationTechniqueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AssetRecoveryLiquidationValuationTechniqueMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Recovery Liquidation Valuation Technique",
        "label": "Asset Recovery Liquidation Valuation Technique [Member]",
        "documentation": "Asset recovery/liquidation valuation technique."
       }
      }
     },
     "auth_ref": []
    },
    "cef_OtherTransactionExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherTransactionExpensesAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r760"
     ]
    },
    "gecc_DebtInstrumentThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DebtInstrumentThreeMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument Three",
        "label": "Debt Instrument Three [Member]",
        "documentation": "Debt Instrument Three [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FTACAthenaAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FTACAthenaAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FTAC Athena Acquisition Corp.",
        "label": "F T A C Athena Acquisition Corp [Member]",
        "documentation": "FTAC Athena Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TrdArrSecuritiesAggAvailAmt": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "TrdArrSecuritiesAggAvailAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Securities Aggregate Available Amount",
        "terseLabel": "Aggregate Available"
       }
      }
     },
     "auth_ref": [
      "r845"
     ]
    },
    "gecc_PercentageOfAnnualizedPreIncentiveFeeNetInvestmentIncomeSubjectToCatchUpProvision": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfAnnualizedPreIncentiveFeeNetInvestmentIncomeSubjectToCatchUpProvision",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "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",
        "documentation": "Percentage of annualized pre-incentive fee net investment income subject to a catch-up provision."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_DueFromPortfolioCompany": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DueFromPortfolioCompany",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Due from portfolio company",
        "label": "Due From Portfolio Company",
        "documentation": "Due from portfolio company."
       }
      }
     },
     "auth_ref": []
    },
    "cef_OtherTransactionExpense1Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherTransactionExpense1Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 1 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r760"
     ]
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CoverAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GACHoldCoIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GACHoldCoIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "GAC HoldCo Inc. Suite 1220, 407 - 2nd Street S.W. Calgary, AB T2P 2Y3",
        "label": "G A C Hold Co Inc [Member]",
        "documentation": "GAC HoldCo Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cef_LatestSharePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LatestSharePrice",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Share Price (Deprecated 2023-01-31)"
       }
      }
     },
     "auth_ref": [
      "r791"
     ]
    },
    "cef_HighestPriceOrBid": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "HighestPriceOrBid",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid"
       }
      }
     },
     "auth_ref": [
      "r785"
     ]
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash and Cash Equivalents",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "us-gaap_ShortTermInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShortTermInvestmentsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSInvestmentConsisted"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Short-Term Investments",
        "label": "Short Term Investments [Member]1",
        "verboseLabel": "ShortTermInvestments",
        "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."
       }
      }
     },
     "auth_ref": [
      "r629",
      "r630",
      "r631",
      "r655"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r698"
     ]
    },
    "cef_LowestPriceOrBidNav": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LowestPriceOrBidNav",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, NAV"
       }
      }
     },
     "auth_ref": [
      "r789"
     ]
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParentheticalUnaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash and cash equivalents",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "totalLabel": "Cash and Cash Equivalents, at Carrying Value, Total",
        "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."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r117",
      "r656"
     ]
    },
    "gecc_WarburgPincusCapitalCorpIAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "WarburgPincusCapitalCorpIAMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Warburg Pincus Capital Corp I-A 450 Lexington Avenue New York, NY 10017",
        "label": "Warburg Pincus Capital Corp I A [Member]",
        "documentation": "Warburg Pincus Capital Corp I-A."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_InvestmentRepaymentOfBorrowerToPayPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "InvestmentRepaymentOfBorrowerToPayPercentage",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment owned, amount being repaid percentage",
        "label": "Investment Repayment Of Borrower To Pay Percentage",
        "documentation": "Investment repayment of borrower to pay percentage."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CustodyFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CustodyFees",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Custody fees",
        "label": "Custody Fees",
        "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."
       }
      }
     },
     "auth_ref": [
      "r71"
     ]
    },
    "us-gaap_DeferredCostsCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredCostsCurrentAndNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Deferred Costs, Total",
        "label": "Deferred Costs",
        "terseLabel": "Deferred financing costs",
        "documentation": "The carrying amount of deferred costs."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SignificantAccountingPoliciesTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Significant Accounting Policies",
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r81",
      "r136"
     ]
    },
    "cef_HighestPriceOrBidNav": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "HighestPriceOrBidNav",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, NAV"
       }
      }
     },
     "auth_ref": [
      "r789"
     ]
    },
    "cef_HighestPriceOrBidPremiumDiscountToNavPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "HighestPriceOrBidPremiumDiscountToNavPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "auth_ref": [
      "r790"
     ]
    },
    "us-gaap_AssetsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsCurrent",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Current assets",
        "label": "Assets, Current",
        "totalLabel": "Assets, Current, Total",
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events."
       }
      }
     },
     "auth_ref": [
      "r115",
      "r123",
      "r139",
      "r218",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r331",
      "r335",
      "r348",
      "r682",
      "r897",
      "r898",
      "r911"
     ]
    },
    "cef_LatestNav": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LatestNav",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest NAV (Deprecated 2023-01-31)"
       }
      }
     },
     "auth_ref": [
      "r791"
     ]
    },
    "gecc_OilAndGasExplorationProductionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "OilAndGasExplorationProductionMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Oil And Gas Exploration Production [Member]",
        "documentation": "Oil &amp; Gas Exploration &amp; Production.",
        "terseLabel": "Oil &amp; Gas Exploration &amp; Production"
       }
      }
     },
     "auth_ref": []
    },
    "cef_SharePricesNotActualTransactionsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SharePricesNotActualTransactionsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Prices Not Actual Transactions [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r787"
     ]
    },
    "cef_LowestPriceOrBidPremiumDiscountToNavPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LowestPriceOrBidPremiumDiscountToNavPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "auth_ref": [
      "r790"
     ]
    },
    "cef_NoPublicTradingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "NoPublicTradingTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Public Trading [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r788"
     ]
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Earnings Per Share, Diluted, Total",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Earnings per share,diluted",
        "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."
       }
      }
     },
     "auth_ref": [
      "r129",
      "r145",
      "r146",
      "r147",
      "r148",
      "r149",
      "r154",
      "r157",
      "r158",
      "r159",
      "r160",
      "r339",
      "r340",
      "r405",
      "r418",
      "r659"
     ]
    },
    "cef_CapitalStockLongTermDebtAndOtherSecuritiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "CapitalStockLongTermDebtAndOtherSecuritiesAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock, Long-Term Debt, and Other Securities [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r727"
     ]
    },
    "gecc_NetRealizedGainLossOnInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NetRealizedGainLossOnInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net realized (gain) loss on investments",
        "label": "Net Realized (Gain) Loss on Investments",
        "documentation": "Net realized (gain) loss on investments."
       }
      }
     },
     "auth_ref": []
    },
    "cef_BdcFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "BdcFileNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BDC File Number"
       }
      }
     },
     "auth_ref": []
    },
    "cef_NoTradingHistoryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "NoTradingHistoryTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Trading History [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r792"
     ]
    },
    "cef_LatestPremiumDiscountToNavPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LatestPremiumDiscountToNavPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "auth_ref": [
      "r791"
     ]
    },
    "gecc_NonAffiliatedNonControlledShortTermInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NonAffiliatedNonControlledShortTermInvestmentsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-affiliated, Non-controlled Short-term Investments",
        "label": "Non Affiliated Non Controlled Short Term Investments [Member]",
        "documentation": "Non-affiliated, non-controlled short-term investments."
       }
      }
     },
     "auth_ref": []
    },
    "cef_PreferredStockRestrictionsOtherTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "PreferredStockRestrictionsOtherTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Other [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r737"
     ]
    },
    "cef_RightsSubjectToOtherThanMajorityVoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "RightsSubjectToOtherThanMajorityVoteTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Subject to Other than Majority Vote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r738"
     ]
    },
    "gecc_HospitalityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "HospitalityMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hospitality",
        "label": "Hospitality [Member]",
        "documentation": "Hospitality."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventLineItems",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r350",
      "r359"
     ]
    },
    "us-gaap_StockAppreciationRightsSARSMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockAppreciationRightsSARSMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Appreciation Rights (SARs) [Member]",
        "terseLabel": "Stock Appreciation Rights (SARs)",
        "documentation": "Right to receive cash or shares equal to appreciation of predetermined number of grantor's shares during predetermined time period."
       }
      }
     },
     "auth_ref": []
    },
    "cef_LongTermDebtIssuanceAndSubstitutionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LongTermDebtIssuanceAndSubstitutionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Issuance and Substitution [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r743"
     ]
    },
    "cef_CapitalStockTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "CapitalStockTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r728"
     ]
    },
    "gecc_AllegoNVIndustrieparkKleefseWaardWestervoortsedijkMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AllegoNVIndustrieparkKleefseWaardWestervoortsedijkMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Allego N.V. Industriepark Kleefse Waard Westervoortsedijk 73 KB 6827 AV Arnhem, The Netherlands",
        "label": "Allego N V Industriepark Kleefse Waard Westervoortsedijk [Member]",
        "documentation": "Allego N.V. Industriepark Kleefse Waard Westervoortsedijk."
       }
      }
     },
     "auth_ref": []
    },
    "cef_LongTermDebtTitleTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LongTermDebtTitleTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Title [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r740"
     ]
    },
    "us-gaap_DividendIncomeOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendIncomeOperating",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total dividend income",
        "label": "Dividend Income, Operating",
        "totalLabel": "Dividend Income, Operating, Total",
        "verboseLabel": "Dividend Income",
        "documentation": "Amount of operating dividend income on securities."
       }
      }
     },
     "auth_ref": [
      "r99",
      "r440",
      "r508",
      "r615",
      "r617",
      "r692",
      "r693",
      "r951"
     ]
    },
    "cef_LongTermDebtPrincipal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LongTermDebtPrincipal",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Principal"
       }
      }
     },
     "auth_ref": [
      "r740"
     ]
    },
    "gecc_MeasurementInputImpliedYieldMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "MeasurementInputImpliedYieldMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Implied Yield",
        "label": "Measurement Input Implied Yield [Member]",
        "documentation": "Measurement Input implied yield."
       }
      }
     },
     "auth_ref": []
    },
    "cef_RightsLimitedByOtherSecuritiesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "RightsLimitedByOtherSecuritiesTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r739"
     ]
    },
    "cef_LongTermDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LongTermDebtTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r740"
     ]
    },
    "us-gaap_SubsequentEventTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventTable",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r350",
      "r359"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Axis]",
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r350",
      "r359"
     ]
    },
    "gecc_VPCImpactAcquisitionHoldingsIIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "VPCImpactAcquisitionHoldingsIIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "VPC Impact Acquisition Holdings III 150 North Riverside Plaza, Suite 5200 Chicago, IL 60606",
        "label": "V P C Impact Acquisition Holdings I I I [Member]",
        "documentation": "VPC Impact Acquisition Holdings III."
       }
      }
     },
     "auth_ref": []
    },
    "cef_LongTermDebtStructuringTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LongTermDebtStructuringTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Structuring [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r741"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Domain]",
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r350",
      "r359"
     ]
    },
    "us-gaap_StockholdersEquityPeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityPeriodIncreaseDecrease",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total increase (decrease) in net assets",
        "label": "Stockholders' Equity, Period Increase (Decrease)",
        "documentation": "The increase (decrease) in stockholders' equity during the period."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r88",
      "r536",
      "r637",
      "r694",
      "r925"
     ]
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestAndDividendIncomeOperating",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Dividend Income, Operating",
        "totalLabel": "Total investment income",
        "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."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r952"
     ]
    },
    "us-gaap_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets",
        "label": "Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_QuadGraphicsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "QuadGraphicsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Quad/Graphics, Inc. N61 W23044 Harry's Way Sussex, WI 53089",
        "label": "Quad Graphics Inc [Member]",
        "documentation": "Quad/Graphics, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "cef_LongTermDebtDividendsAndCovenantsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LongTermDebtDividendsAndCovenantsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Dividends and Covenants [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r742"
     ]
    },
    "ecd_PvpTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "PvpTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance [Table Text Block]",
        "terseLabel": "Pay vs Performance Disclosure, Table"
       }
      }
     },
     "auth_ref": [
      "r810"
     ]
    },
    "us-gaap_LongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebt",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total Amount Outstanding",
        "label": "Long-Term Debt",
        "totalLabel": "Long-Term Debt, Total",
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r94",
      "r255",
      "r270",
      "r670",
      "r671",
      "r921"
     ]
    },
    "us-gaap_LineOfCreditFacilityLenderDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityLenderDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line of Credit Facility, Lender [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r877"
     ]
    },
    "ecd_CoSelectedMeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "CoSelectedMeasureName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Name",
        "terseLabel": "Company Selected Measure Name"
       }
      }
     },
     "auth_ref": [
      "r814"
     ]
    },
    "ecd_PeerGroupIssuersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "PeerGroupIssuersFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Issuers, Footnote [Text Block]",
        "terseLabel": "Peer Group Issuers, Footnote"
       }
      }
     },
     "auth_ref": [
      "r813"
     ]
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "terseLabel": "Revolving line of credit maximum borrowing capacity",
        "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."
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsInAndAdvancesToAffiliatesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments in and Advances to Affiliates [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NonPeoNeoAvgCompActuallyPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "NonPeoNeoAvgCompActuallyPaidAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Compensation Actually Paid Amount",
        "terseLabel": "Non-PEO NEO Average Compensation Actually Paid Amount"
       }
      }
     },
     "auth_ref": [
      "r812"
     ]
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityWellKnownSeasonedIssuer",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Well-known Seasoned Issuer",
        "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."
       }
      }
     },
     "auth_ref": [
      "r849"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Hierarchy and NAV",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value."
       }
      }
     },
     "auth_ref": [
      "r256",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r364",
      "r365",
      "r366",
      "r670",
      "r671",
      "r676",
      "r677",
      "r678"
     ]
    },
    "us-gaap_LineOfCreditFacilityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lender Name [Axis]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r877"
     ]
    },
    "ecd_PeoTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "PeoTotalCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Total Compensation Amount",
        "terseLabel": "PEO Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r811"
     ]
    },
    "dei_EntityCurrentReportingStatus": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCurrentReportingStatus",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company",
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r698"
     ]
    },
    "ecd_NonPeoNeoAvgTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "NonPeoNeoAvgTotalCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Total Compensation Amount",
        "terseLabel": "Non-PEO NEO Average Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r811"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number",
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS."
       }
      }
     },
     "auth_ref": [
      "r698"
     ]
    },
    "us-gaap_EarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Earnings Per Share, Basic, Total",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Earnings per share, basic",
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r129",
      "r145",
      "r146",
      "r147",
      "r148",
      "r149",
      "r152",
      "r154",
      "r157",
      "r158",
      "r159",
      "r160",
      "r339",
      "r340",
      "r405",
      "r418",
      "r659"
     ]
    },
    "ecd_PeoActuallyPaidCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "PeoActuallyPaidCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Actually Paid Compensation Amount",
        "terseLabel": "PEO Actually Paid Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r812"
     ]
    },
    "us-gaap_LongTermDebtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtFairValue",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value",
        "label": "Long-Term Debt, Fair Value",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityFilerCategory": {
     "xbrltype": "filerCategoryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityFilerCategory",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category",
        "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."
       }
      }
     },
     "auth_ref": [
      "r698"
     ]
    },
    "us-gaap_LineOfCredit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCredit",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Revolving credit facility",
        "totalLabel": "Long-Term Line of Credit, Total",
        "label": "Long-Term Line of Credit",
        "terseLabel": "Revolving line of credit borrowings outstanding",
        "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."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r94",
      "r921"
     ]
    },
    "us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrencyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrencyAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (Loss), Investment and Derivative, Operating, and Foreign Currency Transaction, before Tax [Abstract]",
        "terseLabel": "Net realized and unrealized gains (losses):"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "TotalShareholderRtnAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Amount",
        "terseLabel": "Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r813"
     ]
    },
    "dei_EntitySmallBusiness": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntitySmallBusiness",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business",
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC)."
       }
      }
     },
     "auth_ref": [
      "r698"
     ]
    },
    "us-gaap_InvestmentsFairValueDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsFairValueDisclosureAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments",
        "label": "Investments, Fair Value Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityEmergingGrowthCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityEmergingGrowthCompany",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company",
        "documentation": "Indicate if registrant meets the emerging growth company criteria."
       }
      }
     },
     "auth_ref": [
      "r698"
     ]
    },
    "ecd_ChangedPeerGroupFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "ChangedPeerGroupFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changed Peer Group, Footnote [Text Block]",
        "terseLabel": "Changed Peer Group, Footnote"
       }
      }
     },
     "auth_ref": [
      "r813"
     ]
    },
    "dei_EntityExTransitionPeriod": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityExTransitionPeriod",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Ex Transition Period",
        "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."
       }
      }
     },
     "auth_ref": [
      "r857"
     ]
    },
    "ecd_PeerGroupTotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "PeerGroupTotalShareholderRtnAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Total Shareholder Return Amount",
        "terseLabel": "Peer Group Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r813"
     ]
    },
    "us-gaap_InterestReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest receivable",
        "label": "Interest Receivable",
        "documentation": "Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable."
       }
      }
     },
     "auth_ref": [
      "r872",
      "r941"
     ]
    },
    "us-gaap_AmortizationOfDebtDiscountPremium": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AmortizationOfDebtDiscountPremium",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amortization of discount (premium) on long term debt",
        "label": "Amortization of Debt Discount (Premium)",
        "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."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r46",
      "r75",
      "r264"
     ]
    },
    "ecd_CoSelectedMeasureAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "CoSelectedMeasureAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Amount",
        "terseLabel": "Company Selected Measure Amount"
       }
      }
     },
     "auth_ref": [
      "r814"
     ]
    },
    "us-gaap_InterestRateRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestRateRiskMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Risk [Member]",
        "documentation": "The risk associated with changes in interest rates that effect the value of an interest-bearing asset or liability, and a servicing asset or liability."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInvCompanyType": {
     "xbrltype": "invCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityInvCompanyType",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Inv Company Type",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r847"
     ]
    },
    "ecd_NonGaapMeasureDescriptionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "NonGaapMeasureDescriptionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-GAAP Measure Description [Text Block]",
        "terseLabel": "Non-GAAP Measure Description"
       }
      }
     },
     "auth_ref": [
      "r814"
     ]
    },
    "us-gaap_DividendsPayableAmountPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsPayableAmountPerShare",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Distributions per share",
        "label": "Dividends Payable, Amount Per Share",
        "documentation": "The per share amount of a dividend declared, but not paid, as of the financial reporting date."
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "gecc_EightPointSevenFivePercentNotesDueTwoThousandTwentyEightMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EightPointSevenFivePercentNotesDueTwoThousandTwentyEightMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "8.75% Notes due 2028",
        "terseLabel": "GECCZ Notes",
        "label": "Eight Point Seven Five Percent Notes Due Two Thousand Twenty Eight [Member]",
        "documentation": "Eight point seven five percent notes due two thousand twenty eight."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossReductions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossReductions",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross Reductions",
        "label": "Investments in and Advances to Affiliates, at Fair Value, Gross Reductions",
        "documentation": "Gross reductions to the investment in and advance to the affiliate."
       }
      }
     },
     "auth_ref": [
      "r602"
     ]
    },
    "us-gaap_IncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CreditFacilityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CreditFacilityDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Facility",
        "label": "Credit Facility [Domain]",
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing."
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement",
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r229",
      "r230",
      "r231",
      "r232",
      "r289",
      "r297",
      "r320",
      "r321",
      "r322",
      "r367",
      "r391",
      "r420",
      "r470",
      "r471",
      "r548",
      "r567",
      "r573",
      "r574",
      "r605",
      "r651",
      "r652",
      "r662",
      "r674",
      "r679",
      "r683",
      "r686",
      "r892",
      "r899",
      "r914",
      "r915",
      "r916",
      "r917",
      "r918"
     ]
    },
    "dei_AdditionalSecuritiesEffective413b": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AdditionalSecuritiesEffective413b",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities Effective, 413(b)"
       }
      }
     },
     "auth_ref": [
      "r850"
     ]
    },
    "us-gaap_CreditFacilityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CreditFacilityAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Facility",
        "label": "Credit Facility [Axis]",
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputTypeAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Input Type",
        "label": "Measurement Input Type [Axis]",
        "documentation": "Information by type of measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": [
      "r344"
     ]
    },
    "gecc_NewVistaAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NewVistaAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "New Vista Acquisition Corp. 125 South Wacker Drive, Suite 300 Chicago, IL 60606",
        "label": "New Vista Acquisition Corp [Member]",
        "documentation": "New Vista Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net increase (decrease) in cash",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect",
        "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."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r78"
     ]
    },
    "us-gaap_DividendsReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends receivable",
        "label": "Dividends Receivable",
        "documentation": "Carrying amount as of the balance sheet date of dividends declared but not received."
       }
      }
     },
     "auth_ref": [
      "r872",
      "r941"
     ]
    },
    "dei_EffectiveWhenDeclaredSection8c": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EffectiveWhenDeclaredSection8c",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective when Declared, Section 8(c)"
       }
      }
     },
     "auth_ref": [
      "r858"
     ]
    },
    "gecc_LongviewAcquisitionCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "LongviewAcquisitionCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Longview Acquisition Corp. II 767 Fifth Avenue, 44th Floor New York, NY 10153",
        "label": "Longview Acquisition Corp I I [Member]",
        "documentation": "Longview Acquisition Corp. II."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EffectiveUponFiling486b": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EffectiveUponFiling486b",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective upon Filing, 486(b)"
       }
      }
     },
     "auth_ref": [
      "r856"
     ]
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum",
        "label": "Maximum [Member]"
       }
      }
     },
     "auth_ref": [
      "r229",
      "r230",
      "r231",
      "r232",
      "r297",
      "r391",
      "r420",
      "r470",
      "r471",
      "r548",
      "r567",
      "r573",
      "r574",
      "r605",
      "r651",
      "r652",
      "r662",
      "r674",
      "r679",
      "r683",
      "r899",
      "r913",
      "r914",
      "r915",
      "r916",
      "r917",
      "r918"
     ]
    },
    "gecc_ReverseStockSplitEffectiveDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ReverseStockSplitEffectiveDate",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reverse stock split effective date",
        "label": "Reverse Stock Split Effective Date",
        "documentation": "Reverse stock split effective date."
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RangeMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement",
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": [
      "r229",
      "r230",
      "r231",
      "r232",
      "r289",
      "r297",
      "r320",
      "r321",
      "r322",
      "r367",
      "r391",
      "r420",
      "r470",
      "r471",
      "r548",
      "r567",
      "r573",
      "r574",
      "r605",
      "r651",
      "r652",
      "r662",
      "r674",
      "r679",
      "r683",
      "r686",
      "r892",
      "r899",
      "r914",
      "r915",
      "r916",
      "r917",
      "r918"
     ]
    },
    "country_AU": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "localname": "AU",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AUSTRALIA",
        "terseLabel": "Australia"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfInvestmentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfInvestmentsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FordMotorCreditCoLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FordMotorCreditCoLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ford Motor Credit Co LLC One American Road Dearborn, MI 48126",
        "label": "Ford Motor Credit Co L L C [Member]",
        "documentation": "Ford Motor Credit Co LLC."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsNoncurrent",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Noncurrent assets",
        "label": "Assets, Noncurrent",
        "totalLabel": "Assets, Noncurrent, Total",
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold or consumed after one year or beyond the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r139",
      "r218",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r331",
      "r335",
      "r348",
      "r897",
      "r898",
      "r911"
     ]
    },
    "us-gaap_RestrictedCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RestrictedCash",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParentheticalUnaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restricted cash",
        "label": "Restricted Cash",
        "totalLabel": "Restricted Cash, Total",
        "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."
       }
      }
     },
     "auth_ref": [
      "r871",
      "r875",
      "r919",
      "r922"
     ]
    },
    "dei_EffectiveOnSetDate486b": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EffectiveOnSetDate486b",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(b)"
       }
      }
     },
     "auth_ref": [
      "r856"
     ]
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCommitmentAndContingenciesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Minimum [Member]",
        "label": "Minimum [Member]",
        "verboseLabel": "Minimum"
       }
      }
     },
     "auth_ref": [
      "r229",
      "r230",
      "r231",
      "r232",
      "r297",
      "r391",
      "r420",
      "r470",
      "r471",
      "r548",
      "r567",
      "r573",
      "r574",
      "r605",
      "r651",
      "r652",
      "r662",
      "r674",
      "r679",
      "r683",
      "r899",
      "r913",
      "r914",
      "r915",
      "r916",
      "r917",
      "r918"
     ]
    },
    "gecc_AltusMidstreamLPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AltusMidstreamLPMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Altus Midstream LP One Post Oak Central, 2000 Post Oak Boulevard, Suite 100, Houston, TX 77056",
        "label": "Altus Midstream L P [Member]",
        "documentation": "Altus Midstream LP,"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetChangeInUnrealizedAppreciationDepreciation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetChangeInUnrealizedAppreciationDepreciation",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Change in Unrealized Appreciation (Depreciation)",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Net Change In Unrealized Appreciation Depreciation",
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis asset net change in unrealized appreciation (depreciation)."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ColonnadeAcquisitionCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ColonnadeAcquisitionCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Colonnade Acquisition Corp II",
        "label": "Colonnade Acquisition Corp I I [Member]",
        "documentation": "Colonnade Acquisition Corp II."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PercentageOfInvestmentCompanyTaxableIncome": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfInvestmentCompanyTaxableIncome",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage Of Investment Company Taxable Income",
        "documentation": "Percentage of investment company taxable income.",
        "terseLabel": "Percentage of investment company taxable income distribute to stockholders"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EffectiveOnDate486b": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EffectiveOnDate486b",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(b)"
       }
      }
     },
     "auth_ref": [
      "r856"
     ]
    },
    "gecc_CommonEquityFivePercentageOfClassMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommonEquityFivePercentageOfClassMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common Equity (5% of class)",
        "label": "Common Equity Five Percentage Of Class [Member]",
        "documentation": "Common equity five percentage of class."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_USHGAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "USHGAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "USHG Acquisition Corp. 853 Broadway, 17th Floor New York, NY 10003",
        "label": "U S H G Acquisition Corp [Member]",
        "documentation": "USHG Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_RXRAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "RXRAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "RXR Acquisition Corp. 625 RXR Plaza Uniondale, NY 11556",
        "label": "R X R Acquisition Corp [Member]",
        "documentation": "RXR Acquisition Corp"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SupernovaPartnersAcquisitionCompanyIIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SupernovaPartnersAcquisitionCompanyIIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Supernova Partners Acquisition Company III, Ltd. 4301 50th Street NW, Suite 300 PMB 1044 Washington, DC 20016",
        "label": "Supernova Partners Acquisition Company I I I [Member]",
        "documentation": "Supernova Partners Acquisition Company III."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EffectiveAfter60Days486a": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EffectiveAfter60Days486a",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective after 60 Days, 486(a)"
       }
      }
     },
     "auth_ref": [
      "r855"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParentheticalUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/StatementConsolidatedStatementsOfCashFlowsParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total cash and cash equivalents and restricted cash shown on the Consolidated Statements of Cash Flows",
        "periodStartLabel": "Cash and cash equivalents and restricted cash, beginning of period",
        "periodEndLabel": "Cash and cash equivalents and restricted cash, end of period",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations",
        "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."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r78",
      "r135"
     ]
    },
    "gecc_CommonEquityFiftySixPercentageOfClassMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommonEquityFiftySixPercentageOfClassMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity (56% of class)",
        "label": "Common Equity Fifty Six Percentage Of Class [Member]",
        "documentation": "Common equity fifty six percentage of class."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_BioteCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "BioteCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Biote Corp. 1875 W. Walnut Hill Ln #100 Irving, TX 75038",
        "label": "Biote Corp [Member]",
        "documentation": "Biote Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ForestRoadAcquisitionCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ForestRoadAcquisitionCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forest Road Acquisition Corp. II",
        "label": "Forest Road Acquisition Corp I I [Member]",
        "documentation": "Forest Road Acquisition Corp. II."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SimonPropertyGroupAcquisitionHoldingsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SimonPropertyGroupAcquisitionHoldingsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Simon Property Group Acquisition Holdings, Inc. 225 West Washington Street Indianapolis, IN 46204",
        "label": "Simon Property Group Acquisition Holdings Inc [Member]",
        "documentation": "Simon Property Group Acquisition Holdings, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PercentageOfAggregateInvestmentFairValueOnMarketCapitalization": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfAggregateInvestmentFairValueOnMarketCapitalization",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage Of Aggregate Investment Fair Value On Market Capitalization",
        "documentation": "Percentage of aggregate investment fair value on market capitalization.",
        "terseLabel": "Percentage of aggregate investment fair value on total capitalization"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FigureAcquisitionCorpIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FigureAcquisitionCorpIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Figure Acquisition Corp I",
        "label": "Figure Acquisition Corp I [Member]",
        "documentation": "Figure Acquisition Corp I."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EffectiveOnSetDate486a": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EffectiveOnSetDate486a",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(a)"
       }
      }
     },
     "auth_ref": [
      "r855"
     ]
    },
    "gecc_IndemnificationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "IndemnificationTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureIndemnification"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Indemnification",
        "label": "Indemnification [Text Block]",
        "documentation": "Indemnification."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GoresHoldingsVIIIIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GoresHoldingsVIIIIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gores Holdings VIII, Inc.",
        "label": "Gores Holdings V I I I Inc [Member]",
        "documentation": "Gores Holdings VIII, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EffectiveOnDate486a": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EffectiveOnDate486a",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(a)"
       }
      }
     },
     "auth_ref": [
      "r855"
     ]
    },
    "us-gaap_LongTermDebtAverageAmountOutstanding": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtAverageAmountOutstanding",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfComponentsOfInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Average Amount Outstanding",
        "terseLabel": "Average outstanding balance",
        "documentation": "Average amount outstanding of long-term debt."
       }
      }
     },
     "auth_ref": [
      "r108",
      "r109",
      "r517"
     ]
    },
    "gecc_MetalsAndMiningMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "MetalsAndMiningMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Metals And Mining [Member]",
        "documentation": "Metals &amp; mining.",
        "terseLabel": "Metals &amp; Mining"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_LibertyMediaAcquisitionCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "LibertyMediaAcquisitionCorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liberty Media Acquisition Corporation 12300 Liberty Blvd Englewood, CO 80112",
        "label": "Liberty Media Acquisition Corporation [Member]",
        "documentation": "Liberty Media Acquisition Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "(Increase) decrease in prepaid expenses and other assets",
        "label": "Increase (Decrease) in Prepaid Expense and Other Assets",
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "dei_NewEffectiveDateForPreviousFiling": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "NewEffectiveDateForPreviousFiling",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Effective Date for Previous Filing"
       }
      }
     },
     "auth_ref": [
      "r726",
      "r793",
      "r794",
      "r795"
     ]
    },
    "gecc_EquityFundsTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EquityFundsTwoMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Funds Two",
        "label": "Equity Funds Two [Member]",
        "documentation": "Equity Funds Two [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AdditionalSecurities462bFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AdditionalSecurities462bFileNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities, 462(b), File Number"
       }
      }
     },
     "auth_ref": [
      "r851"
     ]
    },
    "gecc_FinServAcquisitionCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FinServAcquisitionCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FinServ Acquisition Corp II",
        "label": "Fin Serv Acquisition Corp I I [Member]",
        "documentation": "FinServ Acquisition Corp II."
       }
      }
     },
     "auth_ref": []
    },
    "dei_AdditionalSecurities462b": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AdditionalSecurities462b",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities. 462(b)"
       }
      }
     },
     "auth_ref": [
      "r851"
     ]
    },
    "gecc_CommercialPrintingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommercialPrintingMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commercial Printing",
        "label": "Commercial Printing [Member]",
        "documentation": "Commercial Printing."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesNoncurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Noncurrent liabilities",
        "label": "Liabilities, Noncurrent",
        "totalLabel": "Liabilities, Noncurrent, Total",
        "documentation": "Amount of obligation due after one year or beyond the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r56",
      "r57",
      "r58",
      "r61",
      "r139",
      "r218",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r332",
      "r335",
      "r336",
      "r348",
      "r897",
      "r911",
      "r912"
     ]
    },
    "gecc_AverageNetAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AverageNetAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average net assets",
        "label": "Average Net Assets",
        "documentation": "Average net assets."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PercentageOfAffiliatedInvestments": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfAffiliatedInvestments",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of affiliated investments",
        "label": "Percentage Of Affiliated Investments",
        "documentation": "Percentage of affiliated investments."
       }
      }
     },
     "auth_ref": []
    },
    "dei_NoSubstantiveChanges462cFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "NoSubstantiveChanges462cFileNumber",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c), File Number"
       }
      }
     },
     "auth_ref": [
      "r852"
     ]
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxAuthorityDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Tax Authority",
        "label": "Income Tax Authority [Domain]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_PrestigeCapitalFinanceLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PrestigeCapitalFinanceLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prestige Capital Finance, LLC 400 Kelby St., 10th Floor Fort Lee, NJ 07024",
        "label": "Prestige Capital Finance L L C [Member]",
        "documentation": "Prestige Capital Finance, LLC.",
        "verboseLabel": "Prestige Capital Finance LLC"
       }
      }
     },
     "auth_ref": []
    },
    "country_CA": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "localname": "CA",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSGeographicCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Canada",
        "label": "CANADA"
       }
      }
     },
     "auth_ref": []
    },
    "dei_NoSubstantiveChanges462c": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "NoSubstantiveChanges462c",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c)"
       }
      }
     },
     "auth_ref": [
      "r852"
     ]
    },
    "gecc_HudsonExecutiveInvestmentCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "HudsonExecutiveInvestmentCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hudson Executive Investment Corp. II 570 Lexington Avenue, 35th Floor New York, NY 10022",
        "label": "Hudson Executive Investment Corp I I [Member]",
        "documentation": "Hudson Executive Investment Corp. II."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FoodAndStaplesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FoodAndStaplesMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Food &amp; Staples",
        "label": "Food And Staples [Member]",
        "documentation": "Food And Staples."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GreatElmCapitalManagementIncorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GreatElmCapitalManagementIncorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Great Elm Capital Management, Inc.,",
        "label": "Great Elm Capital Management Incorporation [Member]",
        "documentation": "Great Elm Capital Management Incorporation."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ABBConCiseOpticalGroupLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ABBConCiseOpticalGroupLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "dei_ExhibitsOnly462d": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "ExhibitsOnly462d",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d)"
       }
      }
     },
     "auth_ref": [
      "r853"
     ]
    },
    "us-gaap_NoninterestExpenseDirectorsFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoninterestExpenseDirectorsFees",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Directors\u2019 fees",
        "label": "Noninterest Expense Directors Fees",
        "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."
       }
      }
     },
     "auth_ref": [
      "r98"
     ]
    },
    "gecc_AvantiCommunicationsGroupPLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AvantiCommunicationsGroupPLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Avanti Communications Group PLC Cobham House 20 Black Friars Lane London, UK EC4V 6EB",
        "label": "Avanti Communications Group P L C [Member]",
        "documentation": "Avanti Communications Group PLC.",
        "verboseLabel": "Avanti Communications Group PLC"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_SandbridgeX2CorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SandbridgeX2CorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sandbridge X2 Corp 725 5th Avenue, 23rd Floor New York, NY 10022",
        "label": "Sandbridge X2 Corp [Member]",
        "documentation": "Sandbridge X2 Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_GreenwayHealthLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GreenwayHealthLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Greenway Health, LLC 4301 W. Boy Scout Blvd, Suite 800 Tampa, FL 33607",
        "label": "Greenway Health L L C [Member]",
        "documentation": "Greenway Health, LLC."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TlgAcquisitionOneCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TlgAcquisitionOneCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "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"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_AircraftMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AircraftMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aircraft",
        "label": "Aircraft [Member]",
        "documentation": "Aircraft."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FastRadiusIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FastRadiusIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fast Radius, Inc.",
        "label": "Fast Radius Inc [Member]",
        "documentation": "Fast Radius, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TaxBasisOfInvestmentsGrossUnrealizedDepreciation",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment owned, gross unrealized depreciation excess of value cost",
        "label": "Investment, Tax Basis, Unrealized Loss",
        "documentation": "Amount of cumulative decrease in investment from unrealized loss when cost for federal income tax purpose exceeds value."
       }
      }
     },
     "auth_ref": [
      "r428"
     ]
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentUnamortizedDiscount",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Debt Instrument, Unamortized Discount, Total",
        "label": "Debt Instrument, Unamortized Discount",
        "terseLabel": "Unamortized discount",
        "documentation": "Amount, after accumulated amortization, of debt discount."
       }
      }
     },
     "auth_ref": [
      "r46",
      "r48",
      "r900"
     ]
    },
    "cef_OtherMasterFundExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherMasterFundExpensesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Master Fund Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "us-gaap_InvestmentCompanyCapitalShareTransactionsStockIssuedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyCapitalShareTransactionsStockIssuedAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Capital Share Transactions, Stock Issued [Abstract]",
        "terseLabel": "Capital transactions:"
       }
      }
     },
     "auth_ref": []
    },
    "cef_InterestExpensesOnBorrowingsPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "InterestExpensesOnBorrowingsPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expenses on Borrowings [Percent]"
       }
      }
     },
     "auth_ref": [
      "r764"
     ]
    },
    "us-gaap_OperatingExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total expenses",
        "label": "Operating Expenses",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt",
        "label": "Debt [Member]",
        "documentation": "Contractual obligation to pay money on demand or on fixed or determinable dates."
       }
      }
     },
     "auth_ref": []
    },
    "cef_OtherTransactionExpense3Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherTransactionExpense3Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 3 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r760"
     ]
    },
    "ecd_AggtErrCompNotYetDeterminedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AggtErrCompNotYetDeterminedTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Not Yet Determined [Text Block]",
        "terseLabel": "Aggregate Erroneous Compensation Not Yet Determined"
       }
      }
     },
     "auth_ref": [
      "r709",
      "r721",
      "r802",
      "r829"
     ]
    },
    "cef_OtherTransactionExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherTransactionExpensesPercent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r760"
     ]
    },
    "ecd_OutstandingRecoveryCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "OutstandingRecoveryCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery Compensation Amount",
        "terseLabel": "Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r711",
      "r723",
      "r804",
      "r831"
     ]
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_MicroStrategyIncorporatedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "MicroStrategyIncorporatedMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MicroStrategy Incorporated 1850 Towers Crescent Plaza Tysons Corner, VA 22182",
        "label": "Micro Strategy Incorporated [Member]",
        "documentation": "MicroStrategy Incorporated."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongtermDebtTypeAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Term Debt, Type",
        "label": "Long-Term Debt, Type [Axis]",
        "documentation": "Information by type of long-term debt."
       }
      }
     },
     "auth_ref": [
      "r18"
     ]
    },
    "cef_AnnualExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "AnnualExpensesTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Expenses [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r761"
     ]
    },
    "us-gaap_NetIncomeLossAttributableToReportingEntityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetIncomeLossAttributableToReportingEntityAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Increase (decrease) in net assets resulting from operations:",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CommonStockSharesDistributed": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CommonStockSharesDistributed",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock distributed",
        "label": "Common Stock Shares Distributed",
        "documentation": "Common stock distributed."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "ForgoneRecoveryExplanationOfImpracticabilityTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Explanation of Impracticability [Text Block]",
        "terseLabel": "Forgone Recovery, Explanation of Impracticability"
       }
      }
     },
     "auth_ref": [
      "r710",
      "r722",
      "r803",
      "r830"
     ]
    },
    "us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TaxBasisOfInvestmentsGrossUnrealizedAppreciation",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment owned, gross unrealized appreciation excess of value cost",
        "label": "Investment, Tax Basis, Unrealized Gain",
        "documentation": "Amount of cumulative increase in investment from unrealized gain when value exceeds cost for federal income tax purpose."
       }
      }
     },
     "auth_ref": [
      "r427"
     ]
    },
    "ecd_NonNeosMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "NonNeosMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-NEOs [Member]",
        "terseLabel": "Non-NEOs"
       }
      }
     },
     "auth_ref": [
      "r710",
      "r722",
      "r803",
      "r822",
      "r830"
     ]
    },
    "cef_ManagementFeesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "ManagementFeesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fees [Percent]"
       }
      }
     },
     "auth_ref": [
      "r762"
     ]
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementTable",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statement [Table]",
        "label": "Statement [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r141",
      "r142",
      "r143",
      "r161",
      "r392",
      "r425",
      "r458",
      "r474",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r486",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r494",
      "r495",
      "r496",
      "r497",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r505",
      "r510",
      "r511",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r535",
      "r687"
     ]
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Increase (decrease) in operating assets and liabilities:",
        "label": "Increase (Decrease) in Operating Capital [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentLineItems",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument [Line Items]",
        "label": "Debt Instrument [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r140",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r249",
      "r254",
      "r255",
      "r256",
      "r257",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r267",
      "r351",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r877"
     ]
    },
    "gecc_GSquaredAscendIIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "GSquaredAscendIIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "G Squared Ascend I Inc.",
        "label": "G Squared Ascend I Inc [Member]",
        "documentation": "G Squared Ascend I Inc."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValuePeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValuePeriodIncreaseDecrease",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Change in Unrealized Appreciation (Depreciation)",
        "label": "Investments in and Advances to Affiliates, at Fair Value, Period Increase (Decrease)",
        "totalLabel": "Investments in and Advances to Affiliates, at Fair Value, Period Increase (Decrease), Total",
        "documentation": "Amount of increase (decrease) in the investments in and advances to affiliates."
       }
      }
     },
     "auth_ref": [
      "r948"
     ]
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument",
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r59",
      "r60",
      "r93",
      "r94",
      "r140",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r249",
      "r254",
      "r255",
      "r256",
      "r257",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r351",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r877"
     ]
    },
    "us-gaap_DebtInstrumentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentTable",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument [Table]",
        "label": "Schedule of Long-Term Debt Instruments [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r18",
      "r36",
      "r38",
      "r46",
      "r47",
      "r48",
      "r54",
      "r86",
      "r87",
      "r140",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r249",
      "r254",
      "r255",
      "r256",
      "r257",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r267",
      "r351",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r877"
     ]
    },
    "gecc_PercentageOfNonQualifyingAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfNonQualifyingAssets",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of non qualifying assets.",
        "label": "Percentage Of Non Qualifying Assets",
        "terseLabel": "Percentage of non-qualifying assets"
       }
      }
     },
     "auth_ref": []
    },
    "srt_WeightedAverageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "WeightedAverageMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average",
        "label": "Weighted Average [Member]"
       }
      }
     },
     "auth_ref": [
      "r651",
      "r652",
      "r913",
      "r915",
      "r918"
     ]
    },
    "ecd_AwardTmgDiscLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardTmgDiscLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Disclosures [Line Items]",
        "terseLabel": "Award Timing Disclosures"
       }
      }
     },
     "auth_ref": [
      "r833"
     ]
    },
    "cef_DividendAndInterestExpensesOnShortSalesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "DividendAndInterestExpensesOnShortSalesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend and Interest Expenses on Short Sales [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "gecc_ESMAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ESMAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ESM Acquisition Corp",
        "label": "E S M Acquisition Corp [Member]",
        "documentation": "ESM Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseDueFromAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseDueFromAffiliates",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 18.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "(Increase) decrease in due from affiliates",
        "label": "Increase (Decrease) Due from Affiliates",
        "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."
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "us-gaap_SeniorNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SeniorNotesMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtScheduleOfSeniorSecuritiesIncludingDebtSecuritiesAndOtherIndebtednessParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Senior Notes",
        "label": "Senior Notes [Member]",
        "verboseLabel": "Note",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ForumMergerIVCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ForumMergerIVCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forum Merger IV Corp",
        "label": "Forum Merger I V Corp [Member]",
        "documentation": "Forum Merger IV Corp."
       }
      }
     },
     "auth_ref": []
    },
    "cef_IncentiveFeesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "IncentiveFeesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Fees [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "ecd_ForgoneRecoveryIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "ForgoneRecoveryIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r710",
      "r722",
      "r803",
      "r830"
     ]
    },
    "us-gaap_PrepaidExpenseAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PrepaidExpenseAndOtherAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prepaid expenses and other assets",
        "label": "Prepaid Expense and Other Assets",
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_DigitalTransformationOpportunitiesCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DigitalTransformationOpportunitiesCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Digital Transformation Opportunities Corp.",
        "label": "Digital Transformation Opportunities Corp [Member]",
        "documentation": "Digital Transformation Opportunities Corp."
       }
      }
     },
     "auth_ref": []
    },
    "cef_DistributionServicingFeesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "DistributionServicingFeesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution/Servicing Fees [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "cef_OtherAnnualExpense1Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherAnnualExpense1Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 1 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "ForgoneRecoveryDueToExpenseOfEnforcementAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Expense of Enforcement, Amount",
        "terseLabel": "Forgone Recovery due to Expense of Enforcement, Amount"
       }
      }
     },
     "auth_ref": [
      "r710",
      "r722",
      "r803",
      "r830"
     ]
    },
    "us-gaap_IncreaseDecreaseInDueToAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInDueToAffiliates",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 21.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Increase (decrease) in due to affiliates",
        "label": "Increase (Decrease) in Due to Affiliates",
        "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."
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "us-gaap_SharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharesOutstanding",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shares outstanding, end of period",
        "periodStartLabel": "Shares outstanding at the beginning of the period",
        "periodEndLabel": "Shares outstanding at the end of the period",
        "label": "Shares, Outstanding",
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RepaymentsOfLinesOfCredit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RepaymentsOfLinesOfCredit",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repayments under credit facility",
        "terseLabel": "Repayments under credit facility",
        "label": "Repayments of Lines of Credit",
        "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."
       }
      }
     },
     "auth_ref": [
      "r25",
      "r877"
     ]
    },
    "us-gaap_AwardTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AwardTypeAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type",
        "documentation": "Information by type of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r298",
      "r299",
      "r300",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323"
     ]
    },
    "gecc_FirstBrandsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FirstBrandsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "First Brands, Inc. 3255 West Hamlin Road Rochester Hills, MI 48309",
        "label": "First Brands Inc [Member]",
        "documentation": "First Brands, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_OutstandingRecoveryIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "OutstandingRecoveryIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r711",
      "r723",
      "r804",
      "r831"
     ]
    },
    "gecc_NonAffiliatedNonControlledInvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NonAffiliatedNonControlledInvestmentsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnauditedParenthetical",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-affiliated, Non-controlled Investments",
        "label": "Non Affiliated Non Controlled Investments [Member]",
        "documentation": "Non-affiliated, non-controlled Investments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Assets",
        "label": "Equity, Attributable to Parent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Disqualification of Tax Benefits, Amount",
        "terseLabel": "Forgone Recovery due to Disqualification of Tax Benefits, Amount"
       }
      }
     },
     "auth_ref": [
      "r710",
      "r722",
      "r803",
      "r830"
     ]
    },
    "cef_LoanServicingFeesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "LoanServicingFeesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Servicing Fees [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "ForgoneRecoveryDueToViolationOfHomeCountryLawAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Violation of Home Country Law, Amount",
        "terseLabel": "Forgone Recovery due to Violation of Home Country Law, Amount"
       }
      }
     },
     "auth_ref": [
      "r710",
      "r722",
      "r803",
      "r830"
     ]
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r698"
     ]
    },
    "us-gaap_NetAssetValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetAssetValuePerShare",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NAV Per Share",
        "periodEndLabel": "Net asset value, end of period",
        "periodStartLabel": "Net asset value, beginning of period",
        "terseLabel": "Net asset value per share",
        "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."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r1",
      "r11",
      "r450",
      "r457",
      "r458",
      "r487",
      "r504",
      "r633",
      "r695"
     ]
    },
    "cef_OtherFeederFundExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherFeederFundExpensesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Feeder Fund Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureCapitalActivity1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capital Activity",
        "label": "Equity [Text Block]",
        "documentation": "The entire disclosure for equity."
       }
      }
     },
     "auth_ref": [
      "r85",
      "r138",
      "r273",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r282",
      "r283",
      "r284",
      "r286",
      "r288",
      "r338",
      "r539",
      "r541",
      "r638"
     ]
    },
    "gecc_KinetikHoldingsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "KinetikHoldingsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Kinetik Holdings Inc [Member]",
        "documentation": "Kinetik Holdings Inc.",
        "terseLabel": "Kinetik Holdings Inc.2700 Post Oak Blvd., Suite 300 Houston, TX 77056"
       }
      }
     },
     "auth_ref": []
    },
    "cef_DividendExpenseOnPreferredSharesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "DividendExpenseOnPreferredSharesPercent",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Expenses on Preferred Shares [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "gecc_MaverickGamingLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "MaverickGamingLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maverick Gaming LLC 12530 NE 144th Street Kirkland, WA 98034",
        "label": "Maverick Gaming L L C [Member]",
        "documentation": "Maverick Gaming LLC."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ReceivablePercentageOfPreIncentiveFeeNetInvestmentIncome": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ReceivablePercentageOfPreIncentiveFeeNetInvestmentIncome",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Receivable percentage of pre-incentive fee net investment income",
        "label": "Receivable Percentage Of Pre Incentive Fee Net Investment Income",
        "documentation": "Receivable percentage of pre-incentive fee net investment income."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityReverseStockSplit": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityReverseStockSplit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureCapitalActivityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Description of reverse stock split",
        "terseLabel": "Reverse stock split, conversion ratio",
        "label": "Reverse stock split",
        "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."
       }
      }
     },
     "auth_ref": [
      "r89"
     ]
    },
    "cef_OtherAnnualExpense2Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherAnnualExpense2Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 2 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "us-gaap_RepaymentsOfNotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RepaymentsOfNotesPayable",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repayment of notes payable",
        "label": "Repayments of Notes Payable",
        "documentation": "The cash outflow for a borrowing supported by a written promise to pay an obligation."
       }
      }
     },
     "auth_ref": [
      "r25"
     ]
    },
    "ecd_RestatementDoesNotRequireRecoveryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "RestatementDoesNotRequireRecoveryTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Does Not Require Recovery [Text Block]",
        "terseLabel": "Restatement does not require Recovery"
       }
      }
     },
     "auth_ref": [
      "r712",
      "r724",
      "r805",
      "r832"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "cef_OtherAnnualExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherAnnualExpensesAbstract",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Abstract]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "us-gaap_InvestmentsFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsFairValueDisclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfInvestmentAssetsCategorizedWithinFairValueHierarchyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total investment assets",
        "label": "Investments, Fair Value Disclosure",
        "totalLabel": "Investments, Fair Value Disclosure, Total",
        "verboseLabel": "Fair value",
        "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."
       }
      }
     },
     "auth_ref": [
      "r342"
     ]
    },
    "gecc_KismetAcquisitionTwoCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "KismetAcquisitionTwoCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Kismet Acquisition Two Corp. 850 Library Avenue, Suite 204 Newark, DE 19715",
        "label": "Kismet Acquisition Two Corp [Member]",
        "documentation": "Kismet Acquisition Two Corp."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AwardTmgMnpiDiscTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AwardTmgMnpiDiscTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Disclosure [Text Block]",
        "terseLabel": "Award Timing MNPI Disclosure"
       }
      }
     },
     "auth_ref": [
      "r833"
     ]
    },
    "gecc_FractionalSharesRedeemedForCashInLieuOfReverseStockSplitValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FractionalSharesRedeemedForCashInLieuOfReverseStockSplitValue",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fractional shares redeemed for cash in lieu of reverse stock split",
        "label": "Fractional Shares Redeemed For Cash In Lieu Of Reverse Stock Split Value",
        "documentation": "Fractional shares redeemed for cash in lieu of reverse stock split, value."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity [Domain]",
        "terseLabel": "Entity",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_AresAcquisitionCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AresAcquisitionCorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ares Acquisition Corp 245 Park Avenue, 44th Floor New York, NY 10167",
        "label": "Ares Acquisition Corporation [Member]",
        "documentation": "Ares acquisition corporation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInInterestPayableNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInInterestPayableNet",
     "crdr": "debit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Increase (decrease) in interest payable",
        "label": "Increase (Decrease) in Interest Payable, Net",
        "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."
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "cef_OtherAnnualExpense3Percent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherAnnualExpense3Percent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 3 [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "gecc_ControlledInvestmentsPIKMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ControlledInvestmentsPIKMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Controlled investments (PIK)",
        "label": "Controlled Investments P I K [Member]",
        "documentation": "Controlled investments PIK."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Events",
        "label": "Subsequent Event [Member]",
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r350",
      "r359"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInAccruedInterestReceivableNet",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Accrued Interest Receivable, Net",
        "negatedLabel": "(Increase) decrease in interest receivable",
        "documentation": "The increase (decrease) during the reporting period in the amount due from borrowers for interest payments."
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "us-gaap_UseOfEstimates": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UseOfEstimates",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Use of Estimates",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles."
       }
      }
     },
     "auth_ref": [
      "r30",
      "r31",
      "r32",
      "r103",
      "r104",
      "r105",
      "r106"
     ]
    },
    "cef_OtherAnnualExpensesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "OtherAnnualExpensesPercent",
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Percent]"
       }
      }
     },
     "auth_ref": [
      "r765"
     ]
    },
    "gecc_PeridotAcquisitionCorpIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PeridotAcquisitionCorpIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Peridot Acquisition Corp. II 2229 San Felipe Street, Suite 1450 Houston, TX 77019",
        "label": "Peridot Acquisition Corp I I [Member]",
        "documentation": "Peridot Acquisition Corp. II."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_NaturalResourcePartnersLPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "NaturalResourcePartnersLPMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Natural Resource Partners LP 1201 Louisiana Street, Suite 3400 Houston, TX 77002",
        "label": "Natural Resource Partners L P [Member]",
        "documentation": "Natural Resource Partners LP."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_CFAcquisitionCorpVIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CFAcquisitionCorpVIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "C F Acquisition Corp V I [Member]",
        "documentation": "CF Acquisition Corp VI.",
        "terseLabel": "CF Acquisition Corp VI 110 East 59th Street New York, NY 10022"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_LiveOakMobilityAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "LiveOakMobilityAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Live Oak Mobility Acquisition Corp. 4921 William Arnold Road Memphis, TN 38117",
        "label": "Live Oak Mobility Acquisition Corp [Member]",
        "documentation": "Live Oak Mobility Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueDisclosuresTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Measurement",
        "label": "Fair Value Disclosures [Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r341"
     ]
    },
    "us-gaap_InvestmentCompanyTotalReturnMarketValue": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyTotalReturnMarketValue",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Total Return, Market Value",
        "terseLabel": "Total return based on market value",
        "documentation": "Percentage increase (decrease) in portfolio market value assuming reinvestment of dividend and capital gain distribution."
       }
      }
     },
     "auth_ref": [
      "r927"
     ]
    },
    "ecd_MeasureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "MeasureAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure [Axis]",
        "terseLabel": "Measure:"
       }
      }
     },
     "auth_ref": [
      "r814"
     ]
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtDisclosureTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebt1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "DEBT",
        "label": "Debt Disclosure [Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r137",
      "r242",
      "r248",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r258",
      "r265",
      "r266",
      "r268"
     ]
    },
    "us-gaap_PaymentsOfDividends": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsOfDividends",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Payments of Dividends, Total",
        "label": "Payments of Dividends",
        "terseLabel": "Distributions paid",
        "negatedLabel": "Distributions paid",
        "documentation": "Cash outflow in the form of capital distributions and dividends to common shareholders, preferred shareholders and noncontrolling interests."
       }
      }
     },
     "auth_ref": [
      "r24"
     ]
    },
    "gecc_ApolloStrategicGrowthCapitalIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ApolloStrategicGrowthCapitalIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Apollo Strategic Growth Capital II 9 West 57th Street, 43rd Floor New York, NY 10019",
        "label": "Apollo Strategic Growth Capital I I [Member]",
        "documentation": "Apollo Strategic Growth Capital II."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyMarketValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyMarketValuePerShare",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Market Value, Per Share",
        "terseLabel": "Per share market value, end of period",
        "documentation": "Market value per share of investment portfolio by investment company. Includes, but is not limited to, per unit, membership interest, or other ownership interest."
       }
      }
     },
     "auth_ref": [
      "r929"
     ]
    },
    "gecc_SubordinatedNoteMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SubordinatedNoteMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subordinated Note",
        "label": "Subordinated Note [Member]",
        "documentation": "Subordinated Note."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentCompanyPortfolioTurnover": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentCompanyPortfolioTurnover",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFinancialHighlightsScheduleOfFinancialHighlightsOfCompanyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Portfolio Turnover",
        "terseLabel": "Portfolio turnover",
        "documentation": "Percentage of lesser of purchase or sale of portfolio securities to average value of portfolio securities owned."
       }
      }
     },
     "auth_ref": [
      "r928"
     ]
    },
    "ecd_OtherPerfMeasureAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "OtherPerfMeasureAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Performance Measure, Amount",
        "terseLabel": "Other Performance Measure, Amount"
       }
      }
     },
     "auth_ref": [
      "r814"
     ]
    },
    "ecd_MeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "MeasureName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r814"
     ]
    },
    "gecc_CoreScientificIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "CoreScientificIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Core Scientific, Inc",
        "label": "Core Scientific Inc [Member]",
        "documentation": "Core Scientific, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AdjToCompAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AdjToCompAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation [Axis]",
        "terseLabel": "Adjustment to Compensation:"
       }
      }
     },
     "auth_ref": [
      "r815"
     ]
    },
    "gecc_DAndZMediaAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DAndZMediaAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "D &amp; Z Media Acquisition Corp",
        "label": "D And Z Media Acquisition Corp [Member]",
        "documentation": "D and Z Media Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_ITServicesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ITServicesMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "IT Services",
        "label": "I T Services [Member]",
        "documentation": "IT services."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AdjToCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AdjToCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation Amount",
        "terseLabel": "Adjustment to Compensation, Amount"
       }
      }
     },
     "auth_ref": [
      "r815"
     ]
    },
    "gecc_ViasatIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ViasatIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Viasat, Inc. 6155 El Camino Real Carlsbad, CA 92009",
        "label": "Viasat Inc [Member]",
        "documentation": "Viasat, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AllAdjToCompMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AllAdjToCompMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Adjustments to Compensation [Member]",
        "terseLabel": "All Adjustments to Compensation"
       }
      }
     },
     "auth_ref": [
      "r815"
     ]
    },
    "dei_DocumentInformationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentInformationTable",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Table]",
        "terseLabel": "Document Information [Table]",
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentCarryingAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtSummaryOfCommitmentsBorrowingsOutstandingAndFairValueOfNotesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments",
        "label": "Long-Term Debt, Gross",
        "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."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r94",
      "r269"
     ]
    },
    "ecd_PeoName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "PeoName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Name",
        "terseLabel": "PEO Name"
       }
      }
     },
     "auth_ref": [
      "r815"
     ]
    },
    "ecd_NamedExecutiveOfficersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "NamedExecutiveOfficersFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Named Executive Officers, Footnote [Text Block]",
        "terseLabel": "Named Executive Officers, Footnote"
       }
      }
     },
     "auth_ref": [
      "r815"
     ]
    },
    "gecc_FreedomAcquisitionICorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FreedomAcquisitionICorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Freedom Acquisition I Corp",
        "label": "Freedom Acquisition I Corp [Member]",
        "documentation": "Freedom Acquisition I Corp."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AdjToNonPeoNeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AdjToNonPeoNeoCompFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Non-PEO NEO Compensation Footnote [Text Block]",
        "terseLabel": "Adjustment to Non-PEO NEO Compensation Footnote"
       }
      }
     },
     "auth_ref": [
      "r815"
     ]
    },
    "us-gaap_InvestmentIdentifierAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentIdentifierAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticalUnaudited",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Identifier [Axis]",
        "documentation": "Identification of investment in security, including, but not limited to, name, title, and other identifying information."
       }
      }
     },
     "auth_ref": [
      "r459",
      "r460",
      "r461",
      "r466",
      "r467",
      "r468",
      "r472",
      "r473",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r587",
      "r588",
      "r589",
      "r592",
      "r593",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r610",
      "r611",
      "r613",
      "r614",
      "r615",
      "r616",
      "r618",
      "r619",
      "r620",
      "r621",
      "r623",
      "r625",
      "r626",
      "r627",
      "r686"
     ]
    },
    "gecc_ResearchNowGroupIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ResearchNowGroupIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Research Now Group, Inc. 5800 Tennyson Parkway Suite 600 Plano, TX 75024",
        "label": "Research Now Group Inc [Member]",
        "documentation": "Research Now Group, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AdjToPeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "AdjToPeoCompFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment To PEO Compensation, Footnote [Text Block]",
        "terseLabel": "Adjustment To PEO Compensation, Footnote"
       }
      }
     },
     "auth_ref": [
      "r815"
     ]
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Foreign Currency Transaction",
        "label": "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r349"
     ]
    },
    "dei_DocumentInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentInformationLineItems",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Line Items]",
        "terseLabel": "Document Information [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_BigBearAiMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "BigBearAiMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BigBear.ai 6811 Benjamin Franklin Drive, Suite 200 Columbia, Maryland 21046",
        "label": "Big Bear Ai [Member]",
        "documentation": "BigBear.ai."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_EquityValuationAssumptionDifferenceFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "EquityValuationAssumptionDifferenceFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Valuation Assumption Difference, Footnote [Text Block]",
        "terseLabel": "Equity Valuation Assumption Difference, Footnote"
       }
      }
     },
     "auth_ref": [
      "r816"
     ]
    },
    "gecc_KismetAcquisitionThreeCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "KismetAcquisitionThreeCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Kismet Acquisition Three Corp. 850 Library Avenue, Suite 204 Newark, DE 19715",
        "label": "Kismet Acquisition Three Corp [Member]",
        "documentation": "Kismet Acquisition Three Corp."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentType",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "terseLabel": "Document Type",
        "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'."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_EquityFundsThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EquityFundsThreeMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Funds Three",
        "label": "Equity Funds Three [Member]",
        "documentation": "Equity Funds Three [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_CompActuallyPaidVsNetIncomeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "CompActuallyPaidVsNetIncomeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Net Income [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Net Income"
       }
      }
     },
     "auth_ref": [
      "r818"
     ]
    },
    "ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "CompActuallyPaidVsTotalShareholderRtnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Total Shareholder Return [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Total Shareholder Return"
       }
      }
     },
     "auth_ref": [
      "r817"
     ]
    },
    "dei_DocumentQuarterlyReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentQuarterlyReport",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Quarterly Report",
        "terseLabel": "Document Quarterly Report",
        "documentation": "Boolean flag that is true only for a form used as an quarterly report."
       }
      }
     },
     "auth_ref": [
      "r700"
     ]
    },
    "ecd_TabularListTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "TabularListTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tabular List [Table Text Block]",
        "terseLabel": "Tabular List, Table"
       }
      }
     },
     "auth_ref": [
      "r821"
     ]
    },
    "us-gaap_CommitmentsAndContingencies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommitmentsAndContingencies",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments and contingencies (Note 7)",
        "label": "Commitments and Contingencies",
        "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."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r53",
      "r409",
      "r485"
     ]
    },
    "us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityIncreaseDecreaseForPeriodNet",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line of Credit Facility, Increase (Decrease), Net",
        "totalLabel": "Line of Credit Facility, Increase (Decrease), Net, Total",
        "terseLabel": "Increase revolving credit facility in aggregate amount",
        "documentation": "Amount of increase (decrease) of the credit facility."
       }
      }
     },
     "auth_ref": [
      "r877"
     ]
    },
    "ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "CompActuallyPaidVsCoSelectedMeasureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Company Selected Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Company Selected Measure"
       }
      }
     },
     "auth_ref": [
      "r819"
     ]
    },
    "gecc_OrionAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "OrionAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Orion Acquisition Corp. 767 5th Avenue, 44th Floor New York, NY 10017",
        "label": "Orion Acquisition Corp [Member]",
        "documentation": "Orion Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TotalShareholderRtnVsPeerGroupTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "TotalShareholderRtnVsPeerGroupTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Vs Peer Group [Text Block]",
        "terseLabel": "Total Shareholder Return Vs Peer Group"
       }
      }
     },
     "auth_ref": [
      "r820"
     ]
    },
    "ecd_CompActuallyPaidVsOtherMeasureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "CompActuallyPaidVsOtherMeasureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Other Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Other Measure"
       }
      }
     },
     "auth_ref": [
      "r820"
     ]
    },
    "gecc_PercentageOfBoardRepresentationToNominate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfBoardRepresentationToNominate",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsAdditionalInformationDetails1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of board representation to nominate.",
        "label": "Percentage of board representation to nominate"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetAmortizationOfPremiumDiscount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetNetAmortizationOfPremiumDiscount",
     "crdr": "debit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Amortization of Premium/ Discount",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Net Amortization Of Premium Discount",
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis asset net amortization of premium/ discount."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report",
        "documentation": "Boolean flag that is true only for a form used as a transition report."
       }
      }
     },
     "auth_ref": [
      "r807"
     ]
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basis of Presentation",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "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)."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TensarCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TensarCorporationMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tensar Corporation 2500 Northwinds Parkway, Suite 500 Alpharetta, GA 30009",
        "label": "Tensar Corporation [Member]",
        "documentation": "Tensar Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockLiquidationPreference": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockLiquidationPreference",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Liquidating Preference",
        "documentation": "The per share liquidation preference (or restrictions) of nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share."
       }
      }
     },
     "auth_ref": [
      "r36",
      "r37",
      "r62",
      "r876",
      "r901"
     ]
    },
    "gecc_ConsumerProductsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ConsumerProductsMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consumer Products.",
        "label": "Consumer Products [Member]",
        "terseLabel": "Consumer Products"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LineOfCreditFacilityInterestRateDuringPeriod": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityInterestRateDuringPeriod",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Line of credit interest rate",
        "label": "Line of Credit Facility, Interest Rate During Period",
        "documentation": "The effective interest rate during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentFaceAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Debt Instrument, aggregate principal amount",
        "documentation": "Face (par) amount of debt instrument at time of issuance."
       }
      }
     },
     "auth_ref": [
      "r47",
      "r48",
      "r243",
      "r351",
      "r670",
      "r671"
     ]
    },
    "gecc_EquityFundsSevenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "EquityFundsSevenMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Funds Seven",
        "label": "Equity Funds Seven [Member]",
        "documentation": "Equity funds seven."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BaseRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BaseRateMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Base Rate",
        "label": "Base Rate [Member]",
        "documentation": "Minimum rate investor will accept."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_InsiderTradingPoliciesProcLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "InsiderTradingPoliciesProcLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures [Line Items]",
        "terseLabel": "Insider Trading Policies and Procedures:"
       }
      }
     },
     "auth_ref": [
      "r702",
      "r846"
     ]
    },
    "us-gaap_VariableRateDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "VariableRateDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureDebtAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable Rate",
        "label": "Variable Rate [Domain]",
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_DebtInstrumentOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "DebtInstrumentOneMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument One",
        "label": "Debt Instrument One [Member]",
        "documentation": "Debt Instrument One [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityIncorporationDateOfIncorporation": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityIncorporationDateOfIncorporation",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Incorporation, Date of Incorporation",
        "terseLabel": "Date of incorporation",
        "documentation": "Date when an entity was incorporated"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_InsiderTrdPoliciesProcAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "InsiderTrdPoliciesProcAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Adopted [Flag]",
        "terseLabel": "Insider Trading Policies and Procedures Adopted"
       }
      }
     },
     "auth_ref": [
      "r702",
      "r846"
     ]
    },
    "cef_SecurityLiquidationRightsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "localname": "SecurityLiquidationRightsTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liquidation Rights [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r731"
     ]
    },
    "gecc_TRUUKAsiaLimitedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TRUUKAsiaLimitedMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "TRU (UK) Asia Limited Cannon Place, 78 Cannon Street, London, EC4N 6AF",
        "label": "T R U U K Asia Limited [Member]",
        "documentation": "TRU (UK) Asia Limited."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Weighted Average Number of Shares Outstanding, Diluted, Total",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Weighted average shares outstanding diluted",
        "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."
       }
      }
     },
     "auth_ref": [
      "r153",
      "r159"
     ]
    },
    "ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "localname": "InsiderTrdPoliciesProcNotAdoptedTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Not Adopted [Text Block]",
        "terseLabel": "Insider Trading Policies and Procedures Not Adopted"
       }
      }
     },
     "auth_ref": [
      "r702",
      "r846"
     ]
    },
    "gecc_TheGEOGroupIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TheGEOGroupIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "The GEO Group, Inc. 4955 Technology Way Boca Raton, FL 33431",
        "label": "The G E O Group Inc [Member]",
        "documentation": "The GEO Group, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "dei_ApproximateDateOfCommencementOfProposedSaleToThePublic": {
     "xbrltype": "dateOrAsapItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "ApproximateDateOfCommencementOfProposedSaleToThePublic",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Approximate Date of Commencement of Proposed Sale to Public",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_AggregateCumulativeRealizedCapitalGainsPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AggregateCumulativeRealizedCapitalGainsPercentage",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate cumulative realized capital gains percentage",
        "label": "Aggregate Cumulative Realized Capital Gains Percentage",
        "documentation": "Aggregate cumulative realized capital gains percentage."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressesAddressTypeAxis",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Addresses, Address Type [Axis]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Weighted average shares outstanding basic",
        "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."
       }
      }
     },
     "auth_ref": [
      "r152",
      "r159"
     ]
    },
    "gecc_AnnualizedHurdleRateOnIncomeIncentiveFeeCalculation": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AnnualizedHurdleRateOnIncomeIncentiveFeeCalculation",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Annualized hurdle rate on income incentive fee calculation",
        "label": "Annualized Hurdle Rate On Income Incentive Fee Calculation",
        "documentation": "Annualized hurdle rate on income incentive fee calculation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfEquityMethodInvestmentsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfEquityMethodInvestmentsTable",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Equity Method Investments [Table]",
        "documentation": "Summarization of information required and determined to be disclosed concerning equity method investments in common stock. The summarized information includes: (a) the name of each investee or group of investees for which combined disclosure is appropriate, (2) the percentage ownership of common stock, (3) the difference, if any, between the carrying amount of an investment and the value of the underlying equity in the net assets and the accounting treatment of difference, if any, and (4) the aggregate value of each identified investment based on its quoted market price, if available."
       }
      }
     },
     "auth_ref": [
      "r114",
      "r139",
      "r215",
      "r216",
      "r217",
      "r218",
      "r348"
     ]
    },
    "dei_AddressTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AddressTypeDomain",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Address Type [Domain]",
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_FTAIInfrastructureIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "FTAIInfrastructureIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FTAI Infrastructure Inc. 1345 Avenue of the Americas, 45th Floor New York, NY 10105",
        "label": "F T A I Infrastructure Inc [Member]",
        "documentation": "FTAI Infrastructure Inc."
       }
      }
     },
     "auth_ref": []
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "EquityMethodInvesteeNameDomain",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment, Name",
        "label": "Investment, Name [Domain]"
       }
      }
     },
     "auth_ref": [
      "r215",
      "r216",
      "r217"
     ]
    },
    "us-gaap_ScheduleOfEquityMethodInvestmentsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfEquityMethodInvestmentsLineItems",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfUnauditedFinancialInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Equity Method Investments [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r139",
      "r215",
      "r216",
      "r217",
      "r218",
      "r348"
     ]
    },
    "gecc_BigBearAiHoldingsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "BigBearAiHoldingsIncMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BigBear.ai Holdings, Inc. 6811 Benjamin Franklin Dr, Suite 200 Columbia, MD 21046",
        "label": "Big Bear Ai Holdings Inc [Member]",
        "documentation": "BigBear.ai Holdings, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "dei_BusinessContactMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "BusinessContactMember",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Contact [Member]",
        "documentation": "Business contact for the entity"
       }
      }
     },
     "auth_ref": [
      "r701",
      "r714"
     ]
    },
    "gecc_IndustrialMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "IndustrialMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Industrial",
        "label": "Industrial [Member]",
        "documentation": "Industrial."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementClassOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementClassOfStockAxis",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock",
        "documentation": "Information by the different classes of stock of the entity."
       }
      }
     },
     "auth_ref": [
      "r108",
      "r119",
      "r120",
      "r121",
      "r139",
      "r154",
      "r155",
      "r157",
      "r159",
      "r162",
      "r163",
      "r218",
      "r233",
      "r235",
      "r236",
      "r237",
      "r240",
      "r241",
      "r274",
      "r275",
      "r277",
      "r280",
      "r287",
      "r348",
      "r431",
      "r432",
      "r433",
      "r434",
      "r443",
      "r446",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r486",
      "r507",
      "r535",
      "r633",
      "r634",
      "r635",
      "r636",
      "r637",
      "r860",
      "r876",
      "r882"
     ]
    },
    "gecc_ComputeHealthAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "ComputeHealthAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Compute Health Acquisition Corp.",
        "label": "Compute Health Acquisition Corp [Member]",
        "documentation": "Compute Health Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RevenueRecognitionPolicyTextBlock",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Revenue Recognition",
        "label": "Revenue [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources."
       }
      }
     },
     "auth_ref": [
      "r510",
      "r653",
      "r658"
     ]
    },
    "gecc_AffiliatedInvestmentsPIKMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "AffiliatedInvestmentsPIKMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Affiliated investments (PIK)",
        "label": "Affiliated Investments P I K [Member]",
        "documentation": "Affiliated investments (PIK)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestIncomeOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestIncomeOperating",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total interest income",
        "label": "Interest Income, Operating",
        "totalLabel": "Interest Income, Operating, Total",
        "verboseLabel": "Interest Income",
        "documentation": "Amount of operating interest income, including, but not limited to, amortization and accretion of premiums and discounts on securities."
       }
      }
     },
     "auth_ref": [
      "r70",
      "r509",
      "r615",
      "r617",
      "r692",
      "r693",
      "r951"
     ]
    },
    "gecc_PFSHoldingsCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PFSHoldingsCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PFS Holdings Corp. 3747 Hecktown Road Easton, PA 18045",
        "label": "P F S Holdings Corp [Member]",
        "documentation": "PFS Holdings Corp.",
        "verboseLabel": "PFS Holdings Corp"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherInterestAndDividendIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited": {
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total other income",
        "label": "Other Interest and Dividend Income",
        "totalLabel": "Other Interest And Dividend Income, Total",
        "documentation": "Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other."
       }
      }
     },
     "auth_ref": [
      "r100"
     ]
    },
    "gecc_SpartanAcquisitionCorpIIIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "SpartanAcquisitionCorpIIIMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Spartan Acquisition Corp. III 9 West 57th Street, 43rd Floor New York, NY 10019",
        "label": "Spartan Acquisition Corp I I I [Member]",
        "documentation": "Spartan Acquisition Corp. III."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_TailwindInternationalAcquisitionCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "TailwindInternationalAcquisitionCorpMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tailwind International Acquisition Corp. 150 Greenwich Street, 29th Floor New York, NY 10006",
        "label": "Tailwind International Acquisition Corp [Member]",
        "documentation": "Tailwind International Acquisition Corp."
       }
      }
     },
     "auth_ref": []
    },
    "gecc_RecentTransactionValuationTechniqueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "RecentTransactionValuationTechniqueMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementRangesOfSignificantUnobservableInputsToValueLevel3AssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recent Transaction",
        "label": "Recent Transaction Valuation Technique [Member]",
        "documentation": "Recent transaction valuation technique."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetInvestmentIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetInvestmentIncomeAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Income:",
        "label": "Net Investment Income [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_LendersFundingLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "LendersFundingLLCMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsParentheticalD",
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lenders Funding, LLC.",
        "terseLabel": "Lenders Funding, LLC 523 A Avenue Coronado, CA 92118",
        "label": "Lenders Funding L L C [Member]",
        "verboseLabel": "Lenders Funding LLC"
       }
      }
     },
     "auth_ref": []
    },
    "dei_ContactPersonnelName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "ContactPersonnelName",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contact Personnel Name",
        "documentation": "Name of contact personnel"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SupplementalCashFlowInformationAbstract",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Supplemental disclosure of cash flow information:",
        "label": "Supplemental Cash Flow Information [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/DisclosureAffiliatesAndControlledInvestmentsScheduleOfFairValueWithTransactionsInAffiliatedInvestmentsAndControlledInvestmentsDetails",
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock [Member]",
        "verboseLabel": "Common Equity",
        "terseLabel": "Common Stock",
        "documentation": "Stock that is subordinate to all other stock of the issuer."
       }
      }
     },
     "auth_ref": [
      "r684",
      "r685",
      "r686",
      "r688",
      "r689",
      "r690",
      "r691",
      "r880",
      "r881",
      "r906",
      "r926",
      "r938"
     ]
    },
    "gecc_PercentageOfNetAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "PercentageOfNetAssets",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_DisclosureSignificantAgreementsAndRelatedPartiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of net assets.",
        "label": "Percentage of net assets",
        "terseLabel": "Percentage of net assets"
       }
      }
     },
     "auth_ref": []
    },
    "gecc_RetailIndustryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.greatelmcc.com/20230930",
     "localname": "RetailIndustryMember",
     "presentation": [
      "http://www.greatelmcc.com/20230930/taxonomy/role/Role_StatementCONSOLIDATEDSCHEDULEOFINVESTMENTSIndustryCompositionOfPortfolioAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Retail",
        "label": "Retail Industry [Member]",
        "documentation": "Retail industry."
       }
      }
     },
     "auth_ref": []
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "54B",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482134/820-10-35-54B"
  },
  "r1": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "59",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482134/820-10-35-59"
  },
  "r2": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "230",
   "Topic": "830",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481877/830-230-45-1"
  },
  "r3": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14"
  },
  "r4": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28"
  },
  "r5": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28"
  },
  "r6": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "30",
   "Topic": "205",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479910/205-30-50-1"
  },
  "r7": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(e)",
   "SubTopic": "10",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-15"
  },
  "r8": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "SubTopic": "10",
   "Topic": "505",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-2"
  },
  "r9": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r10": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r11": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6A"
  },
  "r12": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r13": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "4",
   "Subparagraph": "(SAB TOPIC 4.C)",
   "SubTopic": "10",
   "Topic": "505",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-4"
  },
  "r14": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r15": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r16": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.21)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r17": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r18": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.22)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r19": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.25)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r20": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-14"
  },
  "r21": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-14A"
  },
  "r22": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14"
  },
  "r23": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15"
  },
  "r24": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15"
  },
  "r25": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15"
  },
  "r26": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-4"
  },
  "r27": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-1"
  },
  "r28": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-2"
  },
  "r29": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-3"
  },
  "r30": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-4"
  },
  "r31": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-8"
  },
  "r32": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-9"
  },
  "r33": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7"
  },
  "r34": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7A"
  },
  "r35": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481544/470-10-50-5"
  },
  "r36": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-3"
  },
  "r37": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-4"
  },
  "r38": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-8"
  },
  "r39": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-8"
  },
  "r40": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1"
  },
  "r41": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4F"
  },
  "r42": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4F"
  },
  "r43": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r44": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r45": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-3"
  },
  "r46": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-1A"
  },
  "r47": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-2"
  },
  "r48": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482949/835-30-55-8"
  },
  "r49": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1"
  },
  "r50": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-3"
  },
  "r51": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r52": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.15)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r53": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.17)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r54": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-3"
  },
  "r55": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//205/tableOfContent"
  },
  "r56": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 201.5-02(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r57": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 201.5-02(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r58": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 201.5-02(26))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r59": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r60": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r61": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r62": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r63": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r64": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r65": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r66": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(31))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r67": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(32))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r68": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-11"
  },
  "r69": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r70": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.1(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r71": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r72": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.4,6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r73": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.7(a),(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r74": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.7(c),9(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r75": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.8)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r76": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.9)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r77": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r78": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-24"
  },
  "r79": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25"
  },
  "r80": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28"
  },
  "r81": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "235",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//235/tableOfContent"
  },
  "r82": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 4.E)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480418/310-10-S99-2"
  },
  "r83": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "440",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//440/tableOfContent"
  },
  "r84": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//470/tableOfContent"
  },
  "r85": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//505/tableOfContent"
  },
  "r86": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-6"
  },
  "r87": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-7"
  },
  "r88": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-1"
  },
  "r89": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "4",
   "Subparagraph": "(SAB Topic 4.C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-4"
  },
  "r90": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "810",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//810/tableOfContent"
  },
  "r91": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r92": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r93": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r94": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r95": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r96": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r97": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04.1-5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r98": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04.14)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r99": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04.2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r100": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04.4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r101": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//946-320/tableOfContent"
  },
  "r102": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "SubTopic": "220",
   "Topic": "946",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-5"
  },
  "r103": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-1"
  },
  "r104": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-1"
  },
  "r105": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-11"
  },
  "r106": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-12"
  },
  "r107": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.22(a)(2))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r108": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r109": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r110": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1404",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r111": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1404",
   "Paragraph": "(b)",
   "Publisher": "SEC"
  },
  "r112": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(4)",
   "Publisher": "SEC"
  },
  "r113": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(c)",
   "Publisher": "SEC"
  },
  "r114": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-7"
  },
  "r115": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-1"
  },
  "r116": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-5"
  },
  "r117": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r118": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r119": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r120": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r121": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r122": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r123": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r124": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1A"
  },
  "r125": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1B"
  },
  "r126": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-1"
  },
  "r127": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-6"
  },
  "r128": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r129": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r130": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-17"
  },
  "r131": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-2"
  },
  "r132": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-24"
  },
  "r133": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25"
  },
  "r134": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-2"
  },
  "r135": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-8"
  },
  "r136": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-1"
  },
  "r137": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r138": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r139": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r140": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-3"
  },
  "r141": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-23"
  },
  "r142": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-24"
  },
  "r143": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-5"
  },
  "r144": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1"
  },
  "r145": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-11"
  },
  "r146": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-11"
  },
  "r147": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-3"
  },
  "r148": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-4"
  },
  "r149": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-7"
  },
  "r150": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-8"
  },
  "r151": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-9"
  },
  "r152": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-10"
  },
  "r153": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-16"
  },
  "r154": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-2"
  },
  "r155": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-3"
  },
  "r156": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B"
  },
  "r157": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B"
  },
  "r158": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-7"
  },
  "r159": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1"
  },
  "r160": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-15"
  },
  "r161": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483014/272-10-45-1"
  },
  "r162": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482987/272-10-50-1"
  },
  "r163": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482987/272-10-50-3"
  },
  "r164": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r165": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r166": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r167": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30"
  },
  "r168": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30"
  },
  "r169": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30"
  },
  "r170": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r171": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r172": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r173": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r174": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r175": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "40",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-40"
  },
  "r176": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-41"
  },
  "r177": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-41"
  },
  "r178": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-42"
  },
  "r179": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-3"
  },
  "r180": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-42"
  },
  "r181": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-42"
  },
  "r182": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-42"
  },
  "r183": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "44",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-44"
  },
  "r184": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r185": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r186": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(aa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r187": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(aaa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r188": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r189": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r190": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r191": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r192": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r193": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r194": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r195": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3"
  },
  "r196": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r197": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r198": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(aaa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r199": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r201": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r202": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r203": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r204": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r205": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r206": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A"
  },
  "r207": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A"
  },
  "r208": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A"
  },
  "r209": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B"
  },
  "r210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B"
  },
  "r211": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B"
  },
  "r212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B"
  },
  "r213": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B"
  },
  "r214": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3"
  },
  "r215": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3"
  },
  "r216": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3"
  },
  "r217": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3"
  },
  "r218": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3"
  },
  "r219": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-11"
  },
  "r220": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13"
  },
  "r221": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-14"
  },
  "r222": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-16"
  },
  "r223": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-5"
  },
  "r224": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-4"
  },
  "r225": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-7"
  },
  "r226": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-9"
  },
  "r227": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482648/440-10-50-4"
  },
  "r228": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482648/440-10-50-4"
  },
  "r229": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-4"
  },
  "r230": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-9"
  },
  "r231": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1"
  },
  "r232": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1"
  },
  "r233": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r234": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r235": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r236": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r237": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r238": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r239": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r240": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r241": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r242": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r243": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r244": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r245": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r246": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r247": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r248": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r249": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r250": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r251": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1C",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C"
  },
  "r252": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1C",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C"
  },
  "r253": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1C",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C"
  },
  "r254": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D"
  },
  "r255": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D"
  },
  "r256": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D"
  },
  "r257": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E"
  },
  "r258": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E"
  },
  "r259": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E"
  },
  "r260": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E"
  },
  "r261": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F"
  },
  "r262": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F"
  },
  "r263": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F"
  },
  "r264": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F"
  },
  "r265": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I"
  },
  "r266": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I"
  },
  "r267": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I"
  },
  "r268": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I"
  },
  "r269": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-4"
  },
  "r270": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-4"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-6"
  },
  "r272": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-6"
  },
  "r273": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r274": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r275": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r276": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r277": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r278": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r279": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14"
  },
  "r280": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14"
  },
  "r282": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-16"
  },
  "r283": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18"
  },
  "r284": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18"
  },
  "r285": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18"
  },
  "r286": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18"
  },
  "r287": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-2"
  },
  "r288": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-1"
  },
  "r289": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r290": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r291": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r292": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r293": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r294": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r295": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r296": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(n)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r297": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-5"
  },
  "r298": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r299": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r300": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r301": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r302": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r303": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r304": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r305": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r306": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r307": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r308": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r309": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r310": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r311": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r312": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r313": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r314": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r315": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r316": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r317": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r318": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r319": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r320": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r321": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r322": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r323": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(v)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r324": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482525/740-10-45-25"
  },
  "r325": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482525/740-10-45-28"
  },
  "r326": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-17"
  },
  "r327": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-19"
  },
  "r328": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-20"
  },
  "r329": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-9"
  },
  "r330": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-19"
  },
  "r331": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-25"
  },
  "r332": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-25"
  },
  "r333": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1A"
  },
  "r334": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1A"
  },
  "r335": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-3"
  },
  "r336": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-3"
  },
  "r337": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480237/815-40-50-5"
  },
  "r338": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480237/815-40-50-6"
  },
  "r339": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r340": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r341": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r342": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r343": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r344": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r345": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r346": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r347": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r348": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-28"
  },
  "r349": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//830/tableOfContent"
  },
  "r350": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481674/830-30-50-2"
  },
  "r351": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482900/835-30-50-1"
  },
  "r352": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//850/tableOfContent"
  },
  "r353": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1"
  },
  "r354": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1"
  },
  "r355": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1"
  },
  "r356": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1"
  },
  "r357": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-6"
  },
  "r358": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//855/tableOfContent"
  },
  "r359": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-2"
  },
  "r360": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-2"
  },
  "r361": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r362": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r363": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r364": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r365": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r366": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r367": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r368": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r369": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r370": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4"
  },
  "r371": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4"
  },
  "r372": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4"
  },
  "r373": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4"
  },
  "r374": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481444/860-30-45-1"
  },
  "r375": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481420/860-30-50-7"
  },
  "r376": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3"
  },
  "r377": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3"
  },
  "r378": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3"
  },
  "r379": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(4)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3"
  },
  "r380": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r381": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r382": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r383": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r384": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r385": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r386": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r387": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r388": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r389": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r390": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4"
  },
  "r391": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "910",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482546/910-10-50-6"
  },
  "r392": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "924",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 11.L)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479941/924-10-S99-1"
  },
  "r393": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-15"
  },
  "r394": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-15"
  },
  "r395": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-20"
  },
  "r396": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-20"
  },
  "r397": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-28"
  },
  "r398": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-28"
  },
  "r399": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "33",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-33"
  },
  "r400": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "33",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-33"
  },
  "r401": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "35A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-35A"
  },
  "r402": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "35A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-35A"
  },
  "r403": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-8"
  },
  "r404": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-8"
  },
  "r405": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(27))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r406": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479557/942-235-S99-1"
  },
  "r407": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r408": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r409": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r410": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r411": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r412": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r413": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r414": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r415": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r416": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(2)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r417": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r418": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r419": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r420": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480081/944-40-50-7A"
  },
  "r421": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r422": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r423": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480424/946-10-50-1"
  },
  "r424": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480424/946-10-50-2"
  },
  "r425": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r426": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r427": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r428": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r429": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(2)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r430": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(h)(2)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r431": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r432": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r433": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r434": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r435": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-2"
  },
  "r436": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-5"
  },
  "r437": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-6"
  },
  "r438": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-7"
  },
  "r439": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-8"
  },
  "r440": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-9"
  },
  "r441": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3"
  },
  "r442": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3"
  },
  "r443": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4"
  },
  "r444": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-1"
  },
  "r445": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-14"
  },
  "r446": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-2"
  },
  "r447": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-22"
  },
  "r448": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-24"
  },
  "r449": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "27",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-27"
  },
  "r450": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r451": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r452": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r453": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r454": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r455": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r456": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r457": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r458": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480555/946-210-45-4"
  },
  "r459": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r460": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r461": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r462": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r463": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r464": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-12"
  },
  "r465": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-2"
  },
  "r466": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r467": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r468": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r469": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r470": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r471": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r472": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(g)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r473": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(g)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r474": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r475": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(10)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r476": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(10)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r477": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r478": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r479": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r480": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r481": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r482": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r483": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r484": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r485": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r486": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(16)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r487": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r488": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r489": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r490": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r491": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r492": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r493": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(5)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r494": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r495": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r496": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r497": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r498": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r499": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r500": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r501": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r502": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r503": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2"
  },
  "r504": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2"
  },
  "r505": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3"
  },
  "r506": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-7"
  },
  "r507": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483580/946-220-50-3"
  },
  "r508": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r509": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r510": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r511": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r512": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r513": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r514": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r515": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r516": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(g)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r517": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r518": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r519": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r520": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r521": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r522": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r523": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r524": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r525": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r526": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r527": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r528": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r529": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r530": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r531": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r532": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r533": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r534": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r535": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r536": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r537": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r538": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r539": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2"
  },
  "r540": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2"
  },
  "r541": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2"
  },
  "r542": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2"
  },
  "r543": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1"
  },
  "r544": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1"
  },
  "r545": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r546": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r547": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r548": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r549": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r550": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r551": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column B)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r552": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r553": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r554": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r555": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r556": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r557": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r558": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r559": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r560": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r561": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r562": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r563": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r564": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r565": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "19",
   "Subparagraph": "(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-19"
  },
  "r566": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "19",
   "Subparagraph": "(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-19"
  },
  "r567": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r568": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r569": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column C)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r570": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r571": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r572": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r573": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r574": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r575": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r576": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r577": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r578": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r579": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r580": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r581": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r582": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r583": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r584": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r585": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r586": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r587": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r588": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r589": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r590": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r591": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r592": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r593": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r594": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5D",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5D"
  },
  "r595": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5D",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5D"
  },
  "r596": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r597": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r598": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r599": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r600": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r601": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r602": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r603": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r604": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r605": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r606": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r607": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r608": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r609": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column C)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r610": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column C)(Footnote 6)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r611": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r612": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column D)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r613": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column D)(Footnote 6)(f))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r614": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r615": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r616": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r617": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r618": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r619": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r620": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r621": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r622": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r623": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 5)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r624": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r625": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r626": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r627": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r628": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7"
  },
  "r629": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7"
  },
  "r630": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7"
  },
  "r631": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7"
  },
  "r632": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "405",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480191/946-405-45-1"
  },
  "r633": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-1"
  },
  "r634": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2"
  },
  "r635": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2"
  },
  "r636": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2"
  },
  "r637": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2"
  },
  "r638": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-6"
  },
  "r639": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "37",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-37"
  },
  "r640": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479851/948-310-S99-1"
  },
  "r641": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "440",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480327/954-440-50-1"
  },
  "r642": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r643": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r644": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r645": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r646": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r647": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r648": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r649": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r650": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r651": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "976",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482856/976-310-50-1"
  },
  "r652": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "978",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482707/978-310-50-1"
  },
  "r653": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)",
   "SubTopic": "10",
   "Topic": "235",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-4"
  },
  "r654": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(b)",
   "SubTopic": "40",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-13H"
  },
  "r655": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "SubTopic": "320",
   "Topic": "946",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7"
  },
  "r656": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-1"
  },
  "r657": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-4"
  },
  "r658": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-4"
  },
  "r659": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "52",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-52"
  },
  "r660": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30"
  },
  "r661": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-31"
  },
  "r662": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481933/310-10-55-12A"
  },
  "r663": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-11"
  },
  "r664": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12"
  },
  "r665": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12"
  },
  "r666": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "79",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-79"
  },
  "r667": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "80",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-80"
  },
  "r668": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479081/326-30-55-8"
  },
  "r669": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r670": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69B"
  },
  "r671": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69C"
  },
  "r672": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69E"
  },
  "r673": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69F"
  },
  "r674": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r675": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91"
  },
  "r676": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r677": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r678": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480482/715-20-55-17"
  },
  "r679": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480547/715-80-55-8"
  },
  "r680": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481175/810-10-55-4J"
  },
  "r681": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481175/810-10-55-4K"
  },
  "r682": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481372/852-10-55-10"
  },
  "r683": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-29F"
  },
  "r684": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r685": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r686": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480493/946-210-55-1"
  },
  "r687": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1"
  },
  "r688": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r689": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r690": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r691": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r692": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "39",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-39"
  },
  "r693": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-10"
  },
  "r694": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-11"
  },
  "r695": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-12"
  },
  "r696": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12"
  },
  "r697": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b"
  },
  "r698": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r699": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r700": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-Q",
   "Number": "240",
   "Section": "308",
   "Subsection": "a"
  },
  "r701": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Number": "249",
   "Section": "220",
   "Subsection": "f"
  },
  "r702": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16",
   "Subsection": "J",
   "Paragraph": "a"
  },
  "r703": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1"
  },
  "r704": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r705": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "A"
  },
  "r706": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "B"
  },
  "r707": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "C"
  },
  "r708": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "D"
  },
  "r709": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "E"
  },
  "r710": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r711": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r712": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "2"
  },
  "r713": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "ii",
   "Section": "6"
  },
  "r714": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Number": "249",
   "Section": "240",
   "Subsection": "f"
  },
  "r715": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a"
  },
  "r716": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r717": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r718": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r719": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r720": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r721": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r722": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r723": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r724": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "b"
  },
  "r725": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form F-3"
  },
  "r726": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2"
  },
  "r727": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10"
  },
  "r728": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a"
  },
  "r729": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r730": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r731": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r732": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "4"
  },
  "r733": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "5"
  },
  "r734": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "6"
  },
  "r735": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "a",
   "Subparagraph": "Instruction 2"
  },
  "r736": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "b",
   "Subparagraph": "1"
  },
  "r737": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "b",
   "Subparagraph": "2"
  },
  "r738": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "c"
  },
  "r739": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "1",
   "Paragraph": "d"
  },
  "r740": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "2"
  },
  "r741": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "2",
   "Paragraph": "a"
  },
  "r742": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "2",
   "Paragraph": "b"
  },
  "r743": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "2",
   "Paragraph": "c"
  },
  "r744": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "2",
   "Paragraph": "e"
  },
  "r745": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "3"
  },
  "r746": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "5"
  },
  "r747": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "5",
   "Paragraph": "1"
  },
  "r748": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "5",
   "Paragraph": "2"
  },
  "r749": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "5",
   "Paragraph": "3"
  },
  "r750": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 10",
   "Subsection": "5",
   "Paragraph": "4"
  },
  "r751": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1"
  },
  "r752": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 1"
  },
  "r753": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 10",
   "Subparagraph": "a"
  },
  "r754": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 10",
   "Subparagraph": "a, g, h"
  },
  "r755": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 10",
   "Subparagraph": "f"
  },
  "r756": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 10",
   "Subparagraph": "g"
  },
  "r757": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 10",
   "Subparagraph": "i"
  },
  "r758": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 11"
  },
  "r759": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 4"
  },
  "r760": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 5"
  },
  "r761": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 6"
  },
  "r762": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 7",
   "Subparagraph": "a"
  },
  "r763": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 7",
   "Subparagraph": "b"
  },
  "r764": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 8"
  },
  "r765": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 3",
   "Subsection": "1",
   "Paragraph": "Instruction 9"
  },
  "r766": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4"
  },
  "r767": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "1",
   "Paragraph": "Instruction 2"
  },
  "r768": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "1",
   "Paragraph": "Instruction 3"
  },
  "r769": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "1",
   "Paragraph": "Instruction 8"
  },
  "r770": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3"
  },
  "r771": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "2"
  },
  "r772": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "3",
   "Subparagraph": "Instruction 2"
  },
  "r773": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "4",
   "Subparagraph": "Instruction 3"
  },
  "r774": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "5"
  },
  "r775": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "Instruction 1"
  },
  "r776": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "Instruction 4"
  },
  "r777": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 4",
   "Subsection": "3",
   "Paragraph": "Instruction 5"
  },
  "r778": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8"
  },
  "r779": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "2",
   "Paragraph": "b, d"
  },
  "r780": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "3",
   "Paragraph": "a"
  },
  "r781": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "3",
   "Paragraph": "b"
  },
  "r782": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "3",
   "Paragraph": "b",
   "Subparagraph": "1"
  },
  "r783": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "3",
   "Paragraph": "b",
   "Subparagraph": "2"
  },
  "r784": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "3",
   "Paragraph": "b",
   "Subparagraph": "3"
  },
  "r785": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b"
  },
  "r786": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b",
   "Subparagraph": "4"
  },
  "r787": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b",
   "Subparagraph": "Instruction 2"
  },
  "r788": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b",
   "Subparagraph": "Instruction 3"
  },
  "r789": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b",
   "Subparagraph": "Instruction 4"
  },
  "r790": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "b",
   "Subparagraph": "Instructions 4, 5"
  },
  "r791": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "c"
  },
  "r792": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-2",
   "Section": "Item 8",
   "Subsection": "5",
   "Paragraph": "e"
  },
  "r793": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-3"
  },
  "r794": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-4"
  },
  "r795": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-6"
  },
  "r796": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a"
  },
  "r797": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r798": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r799": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r800": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r801": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r802": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r803": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r804": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r805": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "b"
  },
  "r806": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form S-3"
  },
  "r807": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r808": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Investment Company Act",
   "Number": "270"
  },
  "r809": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v"
  },
  "r810": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "1"
  },
  "r811": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r812": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r813": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iv"
  },
  "r814": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "vi"
  },
  "r815": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "3"
  },
  "r816": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "4"
  },
  "r817": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "i"
  },
  "r818": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "ii"
  },
  "r819": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iii"
  },
  "r820": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iv"
  },
  "r821": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6"
  },
  "r822": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6",
   "Subparagraph": "i"
  },
  "r823": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1"
  },
  "r824": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r825": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "A"
  },
  "r826": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "B"
  },
  "r827": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "C"
  },
  "r828": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "D"
  },
  "r829": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "E"
  },
  "r830": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r831": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r832": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "2"
  },
  "r833": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "1"
  },
  "r834": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2"
  },
  "r835": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "A"
  },
  "r836": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "C"
  },
  "r837": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "D"
  },
  "r838": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "E"
  },
  "r839": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "F"
  },
  "r840": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a"
  },
  "r841": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r842": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "A"
  },
  "r843": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "B"
  },
  "r844": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "C"
  },
  "r845": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "D"
  },
  "r846": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r847": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "313"
  },
  "r848": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r849": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "405"
  },
  "r850": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "413",
   "Subsection": "b"
  },
  "r851": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "462",
   "Subsection": "b"
  },
  "r852": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "462",
   "Subsection": "c"
  },
  "r853": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "462",
   "Subsection": "d"
  },
  "r854": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "462",
   "Subsection": "e"
  },
  "r855": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "486",
   "Subsection": "a"
  },
  "r856": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "486",
   "Subsection": "b"
  },
  "r857": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "7A",
   "Section": "B",
   "Subsection": "2"
  },
  "r858": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Section": "8",
   "Subsection": "c"
  },
  "r859": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28"
  },
  "r860": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483014/272-10-45-3"
  },
  "r861": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r862": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r863": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r864": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r865": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(c)",
   "Subparagraph": "(2)(i)",
   "Publisher": "SEC"
  },
  "r866": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(c)",
   "Subparagraph": "(2)(ii)",
   "Publisher": "SEC"
  },
  "r867": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(c)",
   "Subparagraph": "(2)(iii)",
   "Publisher": "SEC"
  },
  "r868": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r869": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r870": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r871": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r872": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r873": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-6"
  },
  "r874": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28"
  },
  "r875": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-8"
  },
  "r876": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r877": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(f))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r878": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r879": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-3"
  },
  "r880": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-23"
  },
  "r881": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-24"
  },
  "r882": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "55",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-55"
  },
  "r883": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r884": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2"
  },
  "r885": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r886": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5"
  },
  "r887": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-9"
  },
  "r888": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3"
  },
  "r889": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3"
  },
  "r890": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3"
  },
  "r891": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3"
  },
  "r892": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "410",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481931/410-30-50-10"
  },
  "r893": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//450/tableOfContent"
  },
  "r894": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-1"
  },
  "r895": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-4"
  },
  "r896": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-9"
  },
  "r897": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r898": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r899": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r900": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D"
  },
  "r901": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r902": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-5"
  },
  "r903": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r904": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-6"
  },
  "r905": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480682/815-20-25-6A"
  },
  "r906": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r907": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r908": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r909": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-28"
  },
  "r910": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-3"
  },
  "r911": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481404/852-10-50-7"
  },
  "r912": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481404/852-10-50-7"
  },
  "r913": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r914": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r915": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r916": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4"
  },
  "r917": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4"
  },
  "r918": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4"
  },
  "r919": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r920": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(15)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r921": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r922": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r923": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479432/944-30-50-2B"
  },
  "r924": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-7"
  },
  "r925": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3"
  },
  "r926": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4"
  },
  "r927": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-18"
  },
  "r928": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "27",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-27"
  },
  "r929": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r930": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r931": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r932": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3"
  },
  "r933": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3"
  },
  "r934": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-6"
  },
  "r935": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r936": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r937": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r938": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r939": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r940": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "230",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480369/946-230-45-1"
  },
  "r941": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1"
  },
  "r942": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r943": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r944": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r945": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r946": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r947": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r948": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r949": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r950": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r951": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r952": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "39",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-39"
  }
 }
}
