| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.24.1.u1 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 2 </ContextCount> |
| <ElementCount> 34 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> false </FootnotesReported> |
| <SegmentCount> 1 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 4 </UnitCount> |
| <MyReports> |
| | <Report instance="gecc-html7718_n2mef.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 995470 - Disclosure - N-2 </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://xbrl.sec.gov/cef/role/N2 </Role> |
| | | <ShortName> N-2 </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <LongName> All Reports </LongName> |
| | | <ReportType> Book </ReportType> |
| | | <ShortName> All Reports </ShortName> |
| | | </Report> |
| | </MyReports> |
| <InputFiles> |
| | <File> gecc-20240409.xsd </File> |
| | <File> gecc-20240409_def.xml </File> |
| | <File> gecc-20240409_lab.xml </File> |
| | <File> gecc-20240409_pre.xml </File> |
| | <File doctype="N-2MEF" isN2Prospectus="true" isUsgaap="true" original="gecc-html7718_n2mef.htm"> gecc-html7718_n2mef.htm </File> |
| | </InputFiles> |
| <SupplementalFiles/> |
| <BaseTaxonomies> |
| | <BaseTaxonomy items="6"> http://xbrl.sec.gov/cef/2023 </BaseTaxonomy> |
| | <BaseTaxonomy items="33"> http://xbrl.sec.gov/dei/2023 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> false </HasCalculationLinkbase> |
| </FilingSummary> |