{
 "instance": {
  "gain-20230630.htm": {
   "axisCustom": 1,
   "axisStandard": 32,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2023": 1632,
    "http://xbrl.sec.gov/cef/2023": 19,
    "http://xbrl.sec.gov/dei/2023": 39,
    "http://xbrl.sec.gov/ecd/2023": 4
   },
   "contextCount": 702,
   "dts": {
    "calculationLink": {
     "local": [
      "gain-20230630_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "gain-20230630_def.xml"
     ]
    },
    "inline": {
     "local": [
      "gain-20230630.htm"
     ]
    },
    "labelLink": {
     "local": [
      "gain-20230630_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "gain-20230630_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "gain-20230630.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/net-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"
     ]
    }
   },
   "elementCount": 784,
   "entityCount": 1,
   "hidden": {
    "http://xbrl.sec.gov/dei/2023": 6,
    "total": 6
   },
   "keyCustom": 79,
   "keyStandard": 219,
   "memberCustom": 61,
   "memberStandard": 36,
   "nsprefix": "gain",
   "nsuri": "http://www.gladstoneinvestment.com/20230630",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "0000001 - Document - Cover",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://www.gladstoneinvestment.com/role/Cover",
     "shortName": "Cover",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentQuarterlyReport",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000010 - Disclosure - ORGANIZATION",
     "menuCat": "Notes",
     "order": "10",
     "role": "http://www.gladstoneinvestment.com/role/ORGANIZATION",
     "shortName": "ORGANIZATION",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000011 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES",
     "menuCat": "Notes",
     "order": "11",
     "role": "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000012 - Disclosure - INVESTMENTS",
     "menuCat": "Notes",
     "order": "12",
     "role": "http://www.gladstoneinvestment.com/role/INVESTMENTS",
     "shortName": "INVESTMENTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000013 - Disclosure - RELATED PARTY TRANSACTIONS",
     "menuCat": "Notes",
     "order": "13",
     "role": "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONS",
     "shortName": "RELATED PARTY TRANSACTIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000014 - Disclosure - BORROWINGS",
     "menuCat": "Notes",
     "order": "14",
     "role": "http://www.gladstoneinvestment.com/role/BORROWINGS",
     "shortName": "BORROWINGS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gain:RegistrationStatementAndCommonEquityOfferingsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000015 - Disclosure - REGISTRATION STATEMENT AND COMMON EQUITY OFFERINGS",
     "menuCat": "Notes",
     "order": "15",
     "role": "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGS",
     "shortName": "REGISTRATION STATEMENT AND COMMON EQUITY OFFERINGS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gain:RegistrationStatementAndCommonEquityOfferingsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000016 - Disclosure - NET INCREASE (DECREASE) IN NET ASSETS RESULTING FROM OPERATIONS PER WEIGHTED-AVERAGE COMMON SHARE",
     "menuCat": "Notes",
     "order": "16",
     "role": "http://www.gladstoneinvestment.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHARE",
     "shortName": "NET INCREASE (DECREASE) IN NET ASSETS RESULTING FROM OPERATIONS PER WEIGHTED-AVERAGE COMMON SHARE",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000017 - Disclosure - DISTRIBUTIONS TO COMMON STOCKHOLDERS",
     "menuCat": "Notes",
     "order": "17",
     "role": "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERS",
     "shortName": "DISTRIBUTIONS TO COMMON STOCKHOLDERS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000018 - Disclosure - COMMITMENTS AND CONTINGENCIES",
     "menuCat": "Notes",
     "order": "18",
     "role": "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIES",
     "shortName": "COMMITMENTS AND CONTINGENCIES",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000019 - Disclosure - FINANCIAL HIGHLIGHTS",
     "menuCat": "Notes",
     "order": "19",
     "role": "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTS",
     "shortName": "FINANCIAL HIGHLIGHTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000002 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
     "shortName": "CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gain:UnconsolidatedSignificantSubsidiariesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000020 - Disclosure - UNCONSOLIDATED SIGNIFICANT SUBSIDIARIES",
     "menuCat": "Notes",
     "order": "20",
     "role": "http://www.gladstoneinvestment.com/role/UNCONSOLIDATEDSIGNIFICANTSUBSIDIARIES",
     "shortName": "UNCONSOLIDATED SIGNIFICANT SUBSIDIARIES",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gain:UnconsolidatedSignificantSubsidiariesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0000021 - Disclosure - SUBSEQUENT EVENTS",
     "menuCat": "Notes",
     "order": "21",
     "role": "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTS",
     "shortName": "SUBSEQUENT EVENTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995410 - Disclosure - Pay vs Performance Disclosure",
     "menuCat": "Notes",
     "order": "22",
     "role": "http://xbrl.sec.gov/ecd/role/PvpDisclosure",
     "shortName": "Pay vs Performance Disclosure",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ecd:Rule10b51ArrAdoptedFlag",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995445 - Disclosure - Insider Trading Arrangements",
     "menuCat": "Notes",
     "order": "23",
     "role": "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
     "shortName": "Insider Trading Arrangements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ecd:Rule10b51ArrAdoptedFlag",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityFileNumber",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995470 - Disclosure - N-2",
     "menuCat": "Notes",
     "order": "24",
     "role": "http://xbrl.sec.gov/cef/role/N2",
     "shortName": "N-2",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "lang": "en-US",
      "name": "cef:SeniorSecuritiesNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954701 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "menuCat": "Policies",
     "order": "25",
     "role": "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954702 - Disclosure - INVESTMENTS (Tables)",
     "menuCat": "Tables",
     "order": "26",
     "role": "http://www.gladstoneinvestment.com/role/INVESTMENTSTables",
     "shortName": "INVESTMENTS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954703 - Disclosure - RELATED PARTY TRANSACTIONS (Tables)",
     "menuCat": "Tables",
     "order": "27",
     "role": "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSTables",
     "shortName": "RELATED PARTY TRANSACTIONS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954704 - Disclosure - BORROWINGS (Tables)",
     "menuCat": "Tables",
     "order": "28",
     "role": "http://www.gladstoneinvestment.com/role/BORROWINGSTables",
     "shortName": "BORROWINGS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954705 - Disclosure - NET INCREASE (DECREASE) IN NET ASSETS RESULTING FROM OPERATIONS PER WEIGHTED-AVERAGE COMMON SHARE (Tables)",
     "menuCat": "Tables",
     "order": "29",
     "role": "http://www.gladstoneinvestment.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHARETables",
     "shortName": "NET INCREASE (DECREASE) IN NET ASSETS RESULTING FROM OPERATIONS PER WEIGHTED-AVERAGE COMMON SHARE (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000003 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (Parenthetical)",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:CommonStockParOrStatedValuePerShare",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gain:InvestmentCompanyCashDistributionsPaidToCommonStockholdersTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954706 - Disclosure - DISTRIBUTIONS TO COMMON STOCKHOLDERS (Tables)",
     "menuCat": "Tables",
     "order": "30",
     "role": "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSTables",
     "shortName": "DISTRIBUTIONS TO COMMON STOCKHOLDERS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gain:InvestmentCompanyCashDistributionsPaidToCommonStockholdersTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gain:ScheduleOfPrincipalBalancesOfUnusedLineOfCreditAndDelayedDrawTermDebtCommitmentsAndGuarantiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954707 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)",
     "menuCat": "Tables",
     "order": "31",
     "role": "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIESTables",
     "shortName": "COMMITMENTS AND CONTINGENCIES (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "gain:ScheduleOfPrincipalBalancesOfUnusedLineOfCreditAndDelayedDrawTermDebtCommitmentsAndGuarantiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954708 - Disclosure - FINANCIAL HIGHLIGHTS (Tables)",
     "menuCat": "Tables",
     "order": "32",
     "role": "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSTables",
     "shortName": "FINANCIAL HIGHLIGHTS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954709 - Disclosure - SUBSEQUENT EVENTS (Tables)",
     "menuCat": "Tables",
     "order": "33",
     "role": "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSTables",
     "shortName": "SUBSEQUENT EVENTS (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "gain:InvestmentPortfolioDebtInvestmentsIntendedPercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954710 - Disclosure - ORGANIZATION (Details)",
     "menuCat": "Details",
     "order": "34",
     "role": "http://www.gladstoneinvestment.com/role/ORGANIZATIONDetails",
     "shortName": "ORGANIZATION (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "gain:InvestmentPortfolioDebtInvestmentsIntendedPercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954711 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)",
     "menuCat": "Details",
     "order": "35",
     "role": "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails",
     "shortName": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "us-gaap:RevenueRecognitionPolicyTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-280",
      "decimals": "-5",
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954712 - Disclosure - INVESTMENTS - Fair Value, Assets Measured on Recurring Basis (Details)",
     "menuCat": "Details",
     "order": "36",
     "role": "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
     "shortName": "INVESTMENTS - Fair Value, Assets Measured on Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-298",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:InvestmentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954713 - Disclosure - INVESTMENTS - Fair Value Measurement Inputs and Valuation Techniques (Details)",
     "menuCat": "Details",
     "order": "37",
     "role": "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails",
     "shortName": "INVESTMENTS - Fair Value Measurement Inputs and Valuation Techniques (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-300",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-494",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquitySecuritiesFvNiRealizedGainLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954714 - Disclosure - INVESTMENTS - Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation (Details)",
     "menuCat": "Details",
     "order": "38",
     "role": "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
     "shortName": "INVESTMENTS - Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-448",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PaymentsForPurchaseOfInvestmentOperatingActivity",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954715 - Disclosure - INVESTMENTS - Narrative (Details)",
     "menuCat": "Details",
     "order": "39",
     "role": "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
     "shortName": "INVESTMENTS - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": null,
      "lang": "en-US",
      "name": "gain:UncollectibleReceivablesAllowanceMinimumRequiredDayForUncollectibleAdjustment",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestIncomeOperatingPaidInCash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InterestIncomeOperatingPaidInCash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954716 - Disclosure - INVESTMENTS - Summary Investment Holdings (Details)",
     "menuCat": "Details",
     "order": "40",
     "role": "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails",
     "shortName": "INVESTMENTS - Summary Investment Holdings (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-607",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "gain:PrincipalRepaymentAndMaturityOfInvestmentsRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954717 - Disclosure - INVESTMENTS - Investments Classified by Contractual Maturity Date (Details)",
     "menuCat": "Details",
     "order": "41",
     "role": "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails",
     "shortName": "INVESTMENTS - Investments Classified by Contractual Maturity Date (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "gain:PrincipalRepaymentAndMaturityOfInvestmentsRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:ManagementAndServiceFeesBaseRate",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ManagementAndServiceFeesBaseRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954718 - Disclosure - RELATED PARTY TRANSACTIONS - Narrative (Details)",
     "menuCat": "Details",
     "order": "42",
     "role": "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails",
     "shortName": "RELATED PARTY TRANSACTIONS - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:ManagementAndServiceFeesBaseRate",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ManagementAndServiceFeesBaseRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetsUnderManagementAverageBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954719 - Disclosure - RELATED PARTY TRANSACTIONS - Schedule of Related Party Transactions (Details)",
     "menuCat": "Details",
     "order": "43",
     "role": "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails",
     "shortName": "RELATED PARTY TRANSACTIONS - Schedule of Related Party Transactions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetsUnderManagementAverageBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "gain:CapitalGainsBasedIncentiveFee",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954720 - Disclosure - RELATED PARTY TRANSACTIONS - Schedule of Related Party Fees Due (Details)",
     "menuCat": "Details",
     "order": "44",
     "role": "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails",
     "shortName": "RELATED PARTY TRANSACTIONS - Schedule of Related Party Fees Due (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "gain:CapitalGainsBasedIncentiveFee",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanySeniorSecurityIndebtednessAssetCoverageRatio",
      "reportCount": 1,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954721 - Disclosure - BORROWINGS - Revolving Line of Credit Narrative (Details)",
     "menuCat": "Details",
     "order": "45",
     "role": "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
     "shortName": "BORROWINGS - Revolving Line of Credit Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-643",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:DebtInstrumentTerm",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LettersOfCreditOutstandingAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954722 - Disclosure - BORROWINGS - Schedule of Line of Credit Facilities (Details)",
     "menuCat": "Details",
     "order": "46",
     "role": "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails",
     "shortName": "BORROWINGS - Schedule of Line of Credit Facilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-651",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954723 - Disclosure - BORROWINGS - Fair Value Narrative (Details)",
     "menuCat": "Details",
     "order": "47",
     "role": "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
     "shortName": "BORROWINGS - Fair Value Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-350",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LinesOfCreditFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954724 - Disclosure - BORROWINGS - Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation (Details)",
     "menuCat": "Details",
     "order": "48",
     "role": "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
     "shortName": "BORROWINGS - Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-350",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LinesOfCreditFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954725 - Disclosure - BORROWINGS - Notes Payable Narrative (Details)",
     "menuCat": "Details",
     "order": "49",
     "role": "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
     "shortName": "BORROWINGS - Notes Payable Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-668",
      "decimals": "-5",
      "lang": "en-US",
      "name": "us-gaap:ProceedsFromIssuanceOfLongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-14",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000005 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-30",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954726 - Disclosure - BORROWINGS - Schedule of Debt (Details)",
     "menuCat": "Details",
     "order": "50",
     "role": "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
     "shortName": "BORROWINGS - Schedule of Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-676",
      "decimals": "0",
      "lang": "en-US",
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-680",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "gain:SaleOfStockAggregateValueOfSecuritiesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954727 - Disclosure - REGISTRATION STATEMENT AND COMMON EQUITY OFFERINGS (Details)",
     "menuCat": "Details",
     "order": "51",
     "role": "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails",
     "shortName": "REGISTRATION STATEMENT AND COMMON EQUITY OFFERINGS (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-680",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "gain:SaleOfStockAggregateValueOfSecuritiesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954728 - Disclosure - NET INCREASE (DECREASE) IN NET ASSETS RESULTING FROM OPERATIONS PER WEIGHTED-AVERAGE COMMON SHARE (Details)",
     "menuCat": "Details",
     "order": "52",
     "role": "http://www.gladstoneinvestment.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHAREDetails",
     "shortName": "NET INCREASE (DECREASE) IN NET ASSETS RESULTING FROM OPERATIONS PER WEIGHTED-AVERAGE COMMON SHARE (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "gain:InvestmentCompanyCashDistributionsPaidToCommonStockholdersFromOrdinaryIncomePercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954729 - Disclosure - DISTRIBUTIONS TO COMMON STOCKHOLDERS - Narrative (Details)",
     "menuCat": "Details",
     "order": "53",
     "role": "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSNarrativeDetails",
     "shortName": "DISTRIBUTIONS TO COMMON STOCKHOLDERS - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "gain:InvestmentCompanyCashDistributionsPaidToCommonStockholdersFromOrdinaryIncomePercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "gain:InvestmentCompanyCashDistributionsPaidToCommonStockholdersTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-686",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockDividendsPerShareCashPaid",
      "reportCount": 1,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954730 - Disclosure - DISTRIBUTIONS TO COMMON STOCKHOLDERS - Dividends Declared (Details)",
     "menuCat": "Details",
     "order": "54",
     "role": "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSDividendsDeclaredDetails",
     "shortName": "DISTRIBUTIONS TO COMMON STOCKHOLDERS - Dividends Declared (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EscrowDeposit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954731 - Disclosure - COMMITMENTS AND CONTINGENCIES - Narrative (Details)",
     "menuCat": "Details",
     "order": "55",
     "role": "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails",
     "shortName": "COMMITMENTS AND CONTINGENCIES - Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-5",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EscrowDeposit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "gain:ScheduleOfPrincipalBalancesOfUnusedLineOfCreditAndDelayedDrawTermDebtCommitmentsAndGuarantiesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyCommittedCapital",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954732 - Disclosure - COMMITMENTS AND CONTINGENCIES - Schedule of Principal Balances of Unused Line of Credit and Delayed Draw Term Debt Commitments and Guaranties (Details)",
     "menuCat": "Details",
     "order": "56",
     "role": "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIESScheduleofPrincipalBalancesofUnusedLineofCreditandDelayedDrawTermDebtCommitmentsandGuarantiesDetails",
     "shortName": "COMMITMENTS AND CONTINGENCIES - Schedule of Principal Balances of Unused Line of Credit and Delayed Draw Term Debt Commitments and Guaranties (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "gain:ScheduleOfPrincipalBalancesOfUnusedLineOfCreditAndDelayedDrawTermDebtCommitmentsAndGuarantiesTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyCommittedCapital",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-14",
      "decimals": "2",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954733 - Disclosure - FINANCIAL HIGHLIGHTS (Details)",
     "menuCat": "Details",
     "order": "57",
     "role": "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails",
     "shortName": "FINANCIAL HIGHLIGHTS (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "2",
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyInvestmentIncomeLossPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "gain:InvestmentCompanyCashDistributionsPaidToCommonStockholdersTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-686",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommonStockDividendsPerShareCashPaid",
      "reportCount": 1,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954734 - Disclosure - SUBSEQUENT EVENTS - Schedule of Subsequent Events (Details)",
     "menuCat": "Details",
     "order": "58",
     "role": "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails",
     "shortName": "SUBSEQUENT EVENTS - Schedule of Subsequent Events (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:ScheduleOfSubsequentEventsTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-693",
      "decimals": "INF",
      "lang": "en-US",
      "name": "us-gaap:CommonStockDividendsPerShareCashPaid",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-698",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SaleOfStockNumberOfSharesIssuedInTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "9954735 - Disclosure - SUBSEQUENT EVENTS-Narratives (Details)",
     "menuCat": "Details",
     "order": "59",
     "role": "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails",
     "shortName": "SUBSEQUENT EVENTS-Narratives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-698",
      "decimals": "INF",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SaleOfStockNumberOfSharesIssuedInTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "2",
      "first": true,
      "lang": "en-US",
      "name": "gain:InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare",
      "reportCount": 1,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000006 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parentheticals)",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSParentheticals",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000007 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-1",
      "decimals": "-3",
      "lang": "en-US",
      "name": "gain:ProceedsFromPrincipalRepaymentsOfInvestmentsOperatingActivity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "-3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000008 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS",
     "menuCat": "Statements",
     "order": "8",
     "role": "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-38",
      "decimals": "-3",
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedPercentOfNetAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0000009 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Parentheticals)",
     "menuCat": "Statements",
     "order": "9",
     "role": "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
     "shortName": "CONSOLIDATED SCHEDULE OF INVESTMENTS (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "gain-20230630.htm",
      "contextRef": "c-13",
      "decimals": "3",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentOwnedPercentOfNetAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 110,
   "tag": {
    "cef_AcquiredFundFeesAndExpensesNoteTextBlock": {
     "auth_ref": [
      "r748"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundFeesAndExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundFeesAndExpensesPercent": {
     "auth_ref": [
      "r749"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses [Percent]"
       }
      }
     },
     "localname": "AcquiredFundFeesAndExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AcquiredFundFeesEstimatedNoteTextBlock": {
     "auth_ref": [
      "r750"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees Estimated, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundFeesEstimatedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundIncentiveAllocationNoteTextBlock": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Incentive Allocation, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundIncentiveAllocationNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundTotalAnnualExpensesNoteTextBlock": {
     "auth_ref": [
      "r752"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Total Annual Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundTotalAnnualExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AllRisksMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Risks:"
       }
      }
     },
     "localname": "AllRisksMember",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "cef_AnnualCoverageReturnRatePercent": {
     "auth_ref": [
      "r778"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Coverage Return Rate [Percent]"
       }
      }
     },
     "localname": "AnnualCoverageReturnRatePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualDividendPayment": {
     "auth_ref": [
      "r777"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment"
       }
      }
     },
     "localname": "AnnualDividendPayment",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualDividendPaymentCurrent": {
     "auth_ref": [
      "r777"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Current"
       }
      }
     },
     "localname": "AnnualDividendPaymentCurrent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualDividendPaymentInitial": {
     "auth_ref": [
      "r777"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Initial"
       }
      }
     },
     "localname": "AnnualDividendPaymentInitial",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualExpensesTableTextBlock": {
     "auth_ref": [
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Expenses [Table Text Block]"
       }
      }
     },
     "localname": "AnnualExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AnnualInterestRateCurrentPercent": {
     "auth_ref": [
      "r777"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Current [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRateCurrentPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualInterestRateInitialPercent": {
     "auth_ref": [
      "r777"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Initial [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRateInitialPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualInterestRatePercent": {
     "auth_ref": [
      "r777"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRatePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_BasisOfTransactionFeesNoteTextBlock": {
     "auth_ref": [
      "r754"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Transaction Fees, Note [Text Block]"
       }
      }
     },
     "localname": "BasisOfTransactionFeesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_BdcFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BDC File Number"
       }
      }
     },
     "localname": "BdcFileNumber",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "cef_BusinessDevelopmentCompanyFlag": {
     "auth_ref": [
      "r721"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Development Company [Flag]"
       }
      }
     },
     "localname": "BusinessDevelopmentCompanyFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_CapitalStockLongTermDebtAndOtherSecuritiesAbstract": {
     "auth_ref": [
      "r722"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock, Long-Term Debt, and Other Securities [Abstract]"
       }
      }
     },
     "localname": "CapitalStockLongTermDebtAndOtherSecuritiesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_CapitalStockTableTextBlock": {
     "auth_ref": [
      "r723"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock [Table Text Block]"
       }
      }
     },
     "localname": "CapitalStockTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_DistributionServicingFeesPercent": {
     "auth_ref": [
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution/Servicing Fees [Percent]"
       }
      }
     },
     "localname": "DistributionServicingFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DistributionsMayReducePrincipalTextBlock": {
     "auth_ref": [
      "r730"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distributions May Reduce Principal [Text Block]"
       }
      }
     },
     "localname": "DistributionsMayReducePrincipalTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_DividendAndInterestExpensesOnShortSalesPercent": {
     "auth_ref": [
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend and Interest Expenses on Short Sales [Percent]"
       }
      }
     },
     "localname": "DividendAndInterestExpensesOnShortSalesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DividendExpenseOnPreferredSharesPercent": {
     "auth_ref": [
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Expenses on Preferred Shares [Percent]"
       }
      }
     },
     "localname": "DividendExpenseOnPreferredSharesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DividendReinvestmentAndCashPurchaseFees": {
     "auth_ref": [
      "r746"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Reinvestment and Cash Purchase Fees"
       }
      }
     },
     "localname": "DividendReinvestmentAndCashPurchaseFees",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_EffectsOfLeveragePurposeTextBlock": {
     "auth_ref": [
      "r779"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage, Purpose [Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeveragePurposeTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_EffectsOfLeverageTableTextBlock": {
     "auth_ref": [
      "r779"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Table Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeverageTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_EffectsOfLeverageTextBlock": {
     "auth_ref": [
      "r776"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeverageTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ExpenseExampleTableTextBlock": {
     "auth_ref": [
      "r746"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example [Table Text Block]"
       }
      }
     },
     "localname": "ExpenseExampleTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ExpenseExampleYear01": {
     "auth_ref": [
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Year 01"
       }
      }
     },
     "localname": "ExpenseExampleYear01",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to10": {
     "auth_ref": [
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 10"
       }
      }
     },
     "localname": "ExpenseExampleYears1to10",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to3": {
     "auth_ref": [
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 3"
       }
      }
     },
     "localname": "ExpenseExampleYears1to3",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to5": {
     "auth_ref": [
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 5"
       }
      }
     },
     "localname": "ExpenseExampleYears1to5",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_FeeTableAbstract": {
     "auth_ref": [
      "r746"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Table [Abstract]"
       }
      }
     },
     "localname": "FeeTableAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_FinancialHighlightsAbstract": {
     "auth_ref": [
      "r761"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Highlights [Abstract]"
       }
      }
     },
     "localname": "FinancialHighlightsAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_GeneralDescriptionOfRegistrantAbstract": {
     "auth_ref": [
      "r773"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General Description of Registrant [Abstract]"
       }
      }
     },
     "localname": "GeneralDescriptionOfRegistrantAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_HighestPriceOrBid": {
     "auth_ref": [
      "r780"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid"
       }
      }
     },
     "localname": "HighestPriceOrBid",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_HighestPriceOrBidNav": {
     "auth_ref": [
      "r784"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, NAV"
       }
      }
     },
     "localname": "HighestPriceOrBidNav",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_HighestPriceOrBidPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r785"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "HighestPriceOrBidPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationMaximumPercent": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Maximum [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationMaximumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationMinimumPercent": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Minimum [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationMinimumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationPercent": {
     "auth_ref": [
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveFeesPercent": {
     "auth_ref": [
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Fees [Percent]"
       }
      }
     },
     "localname": "IncentiveFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_InterestExpensesOnBorrowingsPercent": {
     "auth_ref": [
      "r759"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expenses on Borrowings [Percent]"
       }
      }
     },
     "localname": "InterestExpensesOnBorrowingsPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IntervalFundFlag": {
     "auth_ref": [
      "r721"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interval Fund [Flag]"
       }
      }
     },
     "localname": "IntervalFundFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_InvestmentObjectivesAndPracticesTextBlock": {
     "auth_ref": [
      "r774"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Objectives and Practices [Text Block]"
       }
      }
     },
     "localname": "InvestmentObjectivesAndPracticesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LatestNav": {
     "auth_ref": [
      "r786"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest NAV (Deprecated 2023-01-31)"
       }
      }
     },
     "localname": "LatestNav",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LatestPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r786"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "LatestPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_LatestSharePrice": {
     "auth_ref": [
      "r786"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Share Price (Deprecated 2023-01-31)"
       }
      }
     },
     "localname": "LatestSharePrice",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LoanServicingFeesPercent": {
     "auth_ref": [
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Servicing Fees [Percent]"
       }
      }
     },
     "localname": "LoanServicingFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_LongTermDebtDividendsAndCovenantsTextBlock": {
     "auth_ref": [
      "r737"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Dividends and Covenants [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtDividendsAndCovenantsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtIssuanceAndSubstitutionTextBlock": {
     "auth_ref": [
      "r738"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Issuance and Substitution [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtIssuanceAndSubstitutionTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtPrincipal": {
     "auth_ref": [
      "r735"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Principal"
       }
      }
     },
     "localname": "LongTermDebtPrincipal",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_LongTermDebtRightsLimitedByOtherSecuritiesTextBlock": {
     "auth_ref": [
      "r739"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtRightsLimitedByOtherSecuritiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtStructuringTextBlock": {
     "auth_ref": [
      "r736"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Structuring [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtStructuringTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtTableTextBlock": {
     "auth_ref": [
      "r735"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt [Table Text Block]"
       }
      }
     },
     "localname": "LongTermDebtTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtTitleTextBlock": {
     "auth_ref": [
      "r735"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Title [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LowestPriceOrBid": {
     "auth_ref": [
      "r780"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid"
       }
      }
     },
     "localname": "LowestPriceOrBid",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LowestPriceOrBidNav": {
     "auth_ref": [
      "r784"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, NAV"
       }
      }
     },
     "localname": "LowestPriceOrBidNav",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LowestPriceOrBidPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r785"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "LowestPriceOrBidPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ManagementFeeNotBasedOnNetAssetsNoteTextBlock": {
     "auth_ref": [
      "r758"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fee not based on Net Assets, Note [Text Block]"
       }
      }
     },
     "localname": "ManagementFeeNotBasedOnNetAssetsNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ManagementFeesPercent": {
     "auth_ref": [
      "r757"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fees [Percent]"
       }
      }
     },
     "localname": "ManagementFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_NetExpenseOverAssetsPercent": {
     "auth_ref": [
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Expense over Assets [Percent]"
       }
      }
     },
     "localname": "NetExpenseOverAssetsPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_NewCefOrBdcRegistrantFlag": {
     "auth_ref": [
      "r721"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New CEF or BDC Registrant [Flag]"
       }
      }
     },
     "localname": "NewCefOrBdcRegistrantFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_NoPublicTradingTextBlock": {
     "auth_ref": [
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Public Trading [Text Block]"
       }
      }
     },
     "localname": "NoPublicTradingTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_NoTradingHistoryTextBlock": {
     "auth_ref": [
      "r787"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Trading History [Text Block]"
       }
      }
     },
     "localname": "NoTradingHistoryTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherAnnualExpense1Percent": {
     "auth_ref": [
      "r760"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 1.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 1 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense1Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpense2Percent": {
     "auth_ref": [
      "r760"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 2.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 2 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense2Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpense3Percent": {
     "auth_ref": [
      "r760"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 3.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 3 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense3Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpensesAbstract": {
     "auth_ref": [
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Abstract]"
       }
      }
     },
     "localname": "OtherAnnualExpensesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_OtherAnnualExpensesPercent": {
     "auth_ref": [
      "r760"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherExpensesNoteTextBlock": {
     "auth_ref": [
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "OtherExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherFeederFundExpensesPercent": {
     "auth_ref": [
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Feeder Fund Expenses [Percent]"
       }
      }
     },
     "localname": "OtherFeederFundExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherMasterFundExpensesPercent": {
     "auth_ref": [
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Master Fund Expenses [Percent]"
       }
      }
     },
     "localname": "OtherMasterFundExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherSecuritiesTableTextBlock": {
     "auth_ref": [
      "r740"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Securities [Table Text Block]"
       }
      }
     },
     "localname": "OtherSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherSecurityDescriptionTextBlock": {
     "auth_ref": [
      "r740"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Description [Text Block]"
       }
      }
     },
     "localname": "OtherSecurityDescriptionTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherSecurityTitleTextBlock": {
     "auth_ref": [
      "r740"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Title [Text Block]"
       }
      }
     },
     "localname": "OtherSecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherTransactionExpense1Percent": {
     "auth_ref": [
      "r755"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 1.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 1 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense1Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpense2Percent": {
     "auth_ref": [
      "r755"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 2.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 2 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense2Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpense3Percent": {
     "auth_ref": [
      "r755"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 3.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 3 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense3Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpensesAbstract": {
     "auth_ref": [
      "r755"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Abstract]"
       }
      }
     },
     "localname": "OtherTransactionExpensesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_OtherTransactionExpensesPercent": {
     "auth_ref": [
      "r755"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionFeesBasisMaximum": {
     "auth_ref": [
      "r755"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisMaximum",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_OtherTransactionFeesBasisMaximumPercent": {
     "auth_ref": [
      "r755"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum [Percent]"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisMaximumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionFeesBasisNoteTextBlock": {
     "auth_ref": [
      "r755"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Note [Text Block]"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherTransactionFeesNoteTextBlock": {
     "auth_ref": [
      "r755"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees, Note [Text Block]"
       }
      }
     },
     "localname": "OtherTransactionFeesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OutstandingSecuritiesTableTextBlock": {
     "auth_ref": [
      "r741"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Securities [Table Text Block]"
       }
      }
     },
     "localname": "OutstandingSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OutstandingSecurityAuthorizedShares": {
     "auth_ref": [
      "r743"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Authorized [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityAuthorizedShares",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityHeldShares": {
     "auth_ref": [
      "r744"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Held [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityHeldShares",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityNotHeldShares": {
     "auth_ref": [
      "r745"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Not Held [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityNotHeldShares",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityTitleTextBlock": {
     "auth_ref": [
      "r742"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Title [Text Block]"
       }
      }
     },
     "localname": "OutstandingSecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PreferredStockRestrictionsArrearageTextBlock": {
     "auth_ref": [
      "r731"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Arrearage [Text Block]"
       }
      }
     },
     "localname": "PreferredStockRestrictionsArrearageTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PreferredStockRestrictionsOtherTextBlock": {
     "auth_ref": [
      "r732"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Other [Text Block]"
       }
      }
     },
     "localname": "PreferredStockRestrictionsOtherTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PrimaryShelfFlag": {
     "auth_ref": [
      "r721"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf [Flag]"
       }
      }
     },
     "localname": "PrimaryShelfFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_PrimaryShelfQualifiedFlag": {
     "auth_ref": [
      "r721"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf Qualified [Flag]"
       }
      }
     },
     "localname": "PrimaryShelfQualifiedFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_ProspectusLineItems": {
     "auth_ref": [
      "r721"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Line Items]"
       }
      }
     },
     "localname": "ProspectusLineItems",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "xbrltype": "stringItemType"
    },
    "cef_ProspectusTable": {
     "auth_ref": [
      "r721"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus:"
       }
      }
     },
     "localname": "ProspectusTable",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_PurposeOfFeeTableNoteTextBlock": {
     "auth_ref": [
      "r747"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purpose of Fee Table , Note [Text Block]"
       }
      }
     },
     "localname": "PurposeOfFeeTableNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RegisteredClosedEndFundFlag": {
     "auth_ref": [
      "r721"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registered Closed-End Fund [Flag]"
       }
      }
     },
     "localname": "RegisteredClosedEndFundFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_ReturnAtMinusFivePercent": {
     "auth_ref": [
      "r779"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Five [Percent]"
       }
      }
     },
     "localname": "ReturnAtMinusFivePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtMinusTenPercent": {
     "auth_ref": [
      "r779"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Ten [Percent]"
       }
      }
     },
     "localname": "ReturnAtMinusTenPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtPlusFivePercent": {
     "auth_ref": [
      "r779"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Five [Percent]"
       }
      }
     },
     "localname": "ReturnAtPlusFivePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtPlusTenPercent": {
     "auth_ref": [
      "r779"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Ten [Percent]"
       }
      }
     },
     "localname": "ReturnAtPlusTenPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtZeroPercent": {
     "auth_ref": [
      "r779"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Zero [Percent]"
       }
      }
     },
     "localname": "ReturnAtZeroPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_RightsLimitedByOtherSecuritiesTextBlock": {
     "auth_ref": [
      "r734"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "localname": "RightsLimitedByOtherSecuritiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RightsSubjectToOtherThanMajorityVoteTextBlock": {
     "auth_ref": [
      "r733"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Subject to Other than Majority Vote [Text Block]"
       }
      }
     },
     "localname": "RightsSubjectToOtherThanMajorityVoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RiskAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Axis]"
       }
      }
     },
     "localname": "RiskAxis",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_RiskFactorsTableTextBlock": {
     "auth_ref": [
      "r775"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Factors [Table Text Block]"
       }
      }
     },
     "localname": "RiskFactorsTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RiskTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Text Block]"
       }
      }
     },
     "localname": "RiskTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SalesLoadPercent": {
     "auth_ref": [
      "r746"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales Load [Percent]"
       }
      }
     },
     "localname": "SalesLoadPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_SecurityDividendsTextBlock": {
     "auth_ref": [
      "r724"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Dividends [Text Block]"
       }
      }
     },
     "localname": "SecurityDividendsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityLiabilitiesTextBlock": {
     "auth_ref": [
      "r727"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liabilities [Text Block]"
       }
      }
     },
     "localname": "SecurityLiabilitiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityLiquidationRightsTextBlock": {
     "auth_ref": [
      "r726"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liquidation Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityLiquidationRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityObligationsOfOwnershipTextBlock": {
     "auth_ref": [
      "r729"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Obligations of Ownership [Text Block]"
       }
      }
     },
     "localname": "SecurityObligationsOfOwnershipTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityPreemptiveAndOtherRightsTextBlock": {
     "auth_ref": [
      "r728"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Preemptive and Other Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityPreemptiveAndOtherRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityTitleTextBlock": {
     "auth_ref": [
      "r723"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Title [Text Block]"
       }
      }
     },
     "localname": "SecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityVotingRightsTextBlock": {
     "auth_ref": [
      "r725"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Voting Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityVotingRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesAmount": {
     "auth_ref": [
      "r766"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Amount (Deprecated 2023-01-31)"
       }
      }
     },
     "localname": "SeniorSecuritiesAmount",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_SeniorSecuritiesAmt": {
     "auth_ref": [
      "r766"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Amount"
       }
      }
     },
     "localname": "SeniorSecuritiesAmt",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_SeniorSecuritiesAverageMarketValuePerUnit": {
     "auth_ref": [
      "r769"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Average Market Value per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesAverageMarketValuePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesAveragingMethodNoteTextBlock": {
     "auth_ref": [
      "r771"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Averaging Method, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesAveragingMethodNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesCoveragePerUnit": {
     "auth_ref": [
      "r767"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Coverage per Unit (Deprecated 2023-01-31)"
       }
      }
     },
     "localname": "SeniorSecuritiesCoveragePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesCvgPerUnit": {
     "auth_ref": [
      "r767"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Coverage per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesCvgPerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesHeadingsNoteTextBlock": {
     "auth_ref": [
      "r772"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Headings, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHeadingsNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesHighlightsAnnualizedNoteTextBlock": {
     "auth_ref": [
      "r763",
      "r770"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Annualized, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHighlightsAnnualizedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesHighlightsAuditedNoteTextBlock": {
     "auth_ref": [
      "r764",
      "r770"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Audited, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHighlightsAuditedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit": {
     "auth_ref": [
      "r768"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Involuntary Liquidating Preference per Unit (Deprecated 2023-01-31)"
       }
      }
     },
     "localname": "SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesNoteTextBlock": {
     "auth_ref": [
      "r762",
      "r770"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesTableTextBlock": {
     "auth_ref": [
      "r765"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities [Table Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SharePriceTableTextBlock": {
     "auth_ref": [
      "r781"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Price [Table Text Block]"
       }
      }
     },
     "localname": "SharePriceTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SharePricesNotActualTransactionsTextBlock": {
     "auth_ref": [
      "r782"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Prices Not Actual Transactions [Text Block]"
       }
      }
     },
     "localname": "SharePricesNotActualTransactionsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ShareholderTransactionExpensesTableTextBlock": {
     "auth_ref": [
      "r746"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Transaction Expenses [Table Text Block]"
       }
      }
     },
     "localname": "ShareholderTransactionExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_TotalAnnualExpensesPercent": {
     "auth_ref": [
      "r759"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Annual Expenses [Percent]"
       }
      }
     },
     "localname": "TotalAnnualExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_UnderwritersCompensationPercent": {
     "auth_ref": [
      "r755"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underwriters Compensation [Percent]"
       }
      }
     },
     "localname": "UnderwritersCompensationPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_WaiversAndReimbursementsOfFeesPercent": {
     "auth_ref": [
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Waivers and Reimbursements of Fees [Percent]"
       }
      }
     },
     "localname": "WaiversAndReimbursementsOfFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_WarrantsOrRightsCalledAmount": {
     "auth_ref": [
      "r740"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Amount"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledAmount",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_WarrantsOrRightsCalledPeriodDate": {
     "auth_ref": [
      "r740"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Period [Date]"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledPeriodDate",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "cef_WarrantsOrRightsCalledTitleTextBlock": {
     "auth_ref": [
      "r740"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Title"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_WarrantsOrRightsExercisePrice": {
     "auth_ref": [
      "r740"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Exercise Price"
       }
      }
     },
     "localname": "WarrantsOrRightsExercisePrice",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "dei_AdditionalSecurities462b": {
     "auth_ref": [
      "r846"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities. 462(b)"
       }
      }
     },
     "localname": "AdditionalSecurities462b",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AdditionalSecurities462bFileNumber": {
     "auth_ref": [
      "r846"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities, 462(b), File Number"
       }
      }
     },
     "localname": "AdditionalSecurities462bFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_AdditionalSecuritiesEffective413b": {
     "auth_ref": [
      "r845"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities Effective, 413(b)"
       }
      }
     },
     "localname": "AdditionalSecuritiesEffective413b",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AddressTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types.",
        "label": "Address Type [Domain]"
       }
      }
     },
     "localname": "AddressTypeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of changes contained within amended document.",
        "label": "Amendment Description"
       }
      }
     },
     "localname": "AmendmentDescription",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_ApproximateDateOfCommencementOfProposedSaleToThePublic": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The approximate date of a commencement of a proposed sale of securities to the public. This element is disclosed in S-1, S-3, S-4, S-11, F-1, F-3 and F-10 filings.",
        "label": "Approximate Date of Commencement of Proposed Sale to Public"
       }
      }
     },
     "localname": "ApproximateDateOfCommencementOfProposedSaleToThePublic",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateOrAsapItemType"
    },
    "dei_BusinessContactMember": {
     "auth_ref": [
      "r696",
      "r709"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business contact for the entity",
        "label": "Business Contact [Member]"
       }
      }
     },
     "localname": "BusinessContactMember",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelName": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of contact personnel",
        "label": "Contact Personnel Name"
       }
      }
     },
     "localname": "ContactPersonnelName",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "verboseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DelayedOrContinuousOffering": {
     "auth_ref": [
      "r720",
      "r721",
      "r801"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Delayed or Continuous Offering"
       }
      }
     },
     "localname": "DelayedOrContinuousOffering",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DividendOrInterestReinvestmentPlanOnly": {
     "auth_ref": [
      "r720",
      "r721",
      "r801"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend or Interest Reinvestment Plan Only"
       }
      }
     },
     "localname": "DividendOrInterestReinvestmentPlanOnly",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Document Information [Line Items]",
        "terseLabel": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]",
        "terseLabel": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r695"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report",
        "terseLabel": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentRegistrationStatement": {
     "auth_ref": [
      "r691"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a registration statement.",
        "label": "Document Registration Statement"
       }
      }
     },
     "localname": "DocumentRegistrationStatement",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r802"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EffectiveAfter60Days486a": {
     "auth_ref": [
      "r850"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective after 60 Days, 486(a)"
       }
      }
     },
     "localname": "EffectiveAfter60Days486a",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveOnDate486a": {
     "auth_ref": [
      "r850"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(a)"
       }
      }
     },
     "localname": "EffectiveOnDate486a",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_EffectiveOnDate486b": {
     "auth_ref": [
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(b)"
       }
      }
     },
     "localname": "EffectiveOnDate486b",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_EffectiveOnSetDate486a": {
     "auth_ref": [
      "r850"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(a)"
       }
      }
     },
     "localname": "EffectiveOnSetDate486a",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveOnSetDate486b": {
     "auth_ref": [
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(b)"
       }
      }
     },
     "localname": "EffectiveOnSetDate486b",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveUponFiling462e": {
     "auth_ref": [
      "r849"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Upon Filing, 462(e)"
       }
      }
     },
     "localname": "EffectiveUponFiling462e",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveUponFiling486b": {
     "auth_ref": [
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective upon Filing, 486(b)"
       }
      }
     },
     "localname": "EffectiveUponFiling486b",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveWhenDeclaredSection8c": {
     "auth_ref": [
      "r853"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective when Declared, Section 8(c)"
       }
      }
     },
     "localname": "EffectiveWhenDeclaredSection8c",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address, Address Line Two",
        "terseLabel": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 3 such as an Office Park",
        "label": "Entity Address, Address Line Three"
       }
      }
     },
     "localname": "EntityAddressAddressLine3",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Addresses, Address Type [Axis]"
       }
      }
     },
     "localname": "EntityAddressesAddressTypeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r693"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r693"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r852"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Securities Act File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r693"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r843"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityInvCompanyType": {
     "auth_ref": [
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product).",
        "label": "Entity Inv Company Type"
       }
      }
     },
     "localname": "EntityInvCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "invCompanyType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r693"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r693"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r693"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r693"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r844"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_ExhibitsOnly462d": {
     "auth_ref": [
      "r848"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d)"
       }
      }
     },
     "localname": "ExhibitsOnly462d",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_ExhibitsOnly462dFileNumber": {
     "auth_ref": [
      "r848"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d), File Number"
       }
      }
     },
     "localname": "ExhibitsOnly462dFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_InvestmentCompanyActFileNumber": {
     "auth_ref": [
      "r721",
      "r788",
      "r789",
      "r790"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act File Number"
       }
      }
     },
     "localname": "InvestmentCompanyActFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_InvestmentCompanyActRegistration": {
     "auth_ref": [
      "r803"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act Registration"
       }
      }
     },
     "localname": "InvestmentCompanyActRegistration",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyRegistrationAmendment": {
     "auth_ref": [
      "r803"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment"
       }
      }
     },
     "localname": "InvestmentCompanyRegistrationAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyRegistrationAmendmentNumber": {
     "auth_ref": [
      "r803"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment Number"
       }
      }
     },
     "localname": "InvestmentCompanyRegistrationAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_NewEffectiveDateForPreviousFiling": {
     "auth_ref": [
      "r721",
      "r788",
      "r789",
      "r790"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Effective Date for Previous Filing"
       }
      }
     },
     "localname": "NewEffectiveDateForPreviousFiling",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_NoSubstantiveChanges462c": {
     "auth_ref": [
      "r847"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c)"
       }
      }
     },
     "localname": "NoSubstantiveChanges462c",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_NoSubstantiveChanges462cFileNumber": {
     "auth_ref": [
      "r847"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c), File Number"
       }
      }
     },
     "localname": "NoSubstantiveChanges462cFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_PostEffectiveAmendment": {
     "auth_ref": [
      "r691"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-Effective Amendment"
       }
      }
     },
     "localname": "PostEffectiveAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_PostEffectiveAmendmentNumber": {
     "auth_ref": [
      "r691"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 after the registration becomes effective.",
        "label": "Post-Effective Amendment Number"
       }
      }
     },
     "localname": "PostEffectiveAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_PreEffectiveAmendment": {
     "auth_ref": [
      "r691"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pre-Effective Amendment"
       }
      }
     },
     "localname": "PreEffectiveAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_PreEffectiveAmendmentNumber": {
     "auth_ref": [
      "r691"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 before the registration becomes effective.",
        "label": "Pre-Effective Amendment Number"
       }
      }
     },
     "localname": "PreEffectiveAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r692"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r694"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "ecd_Additional402vDisclosureTextBlock": {
     "auth_ref": [
      "r804"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional 402(v) Disclosure [Text Block]",
        "terseLabel": "Additional 402(v) Disclosure"
       }
      }
     },
     "localname": "Additional402vDisclosureTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AdjToCompAmt": {
     "auth_ref": [
      "r810"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation Amount",
        "terseLabel": "Adjustment to Compensation, Amount"
       }
      }
     },
     "localname": "AdjToCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_AdjToCompAxis": {
     "auth_ref": [
      "r810"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation [Axis]",
        "terseLabel": "Adjustment to Compensation:"
       }
      }
     },
     "localname": "AdjToCompAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_AdjToNonPeoNeoCompFnTextBlock": {
     "auth_ref": [
      "r810"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Non-PEO NEO Compensation Footnote [Text Block]",
        "terseLabel": "Adjustment to Non-PEO NEO Compensation Footnote"
       }
      }
     },
     "localname": "AdjToNonPeoNeoCompFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AdjToPeoCompFnTextBlock": {
     "auth_ref": [
      "r810"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment To PEO Compensation, Footnote [Text Block]",
        "terseLabel": "Adjustment To PEO Compensation, Footnote"
       }
      }
     },
     "localname": "AdjToPeoCompFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AggtErrCompAmt": {
     "auth_ref": [
      "r701",
      "r713",
      "r794",
      "r821"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Amount",
        "terseLabel": "Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "localname": "AggtErrCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_AggtErrCompNotYetDeterminedTextBlock": {
     "auth_ref": [
      "r704",
      "r716",
      "r797",
      "r824"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Not Yet Determined [Text Block]",
        "terseLabel": "Aggregate Erroneous Compensation Not Yet Determined"
       }
      }
     },
     "localname": "AggtErrCompNotYetDeterminedTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AllAdjToCompMember": {
     "auth_ref": [
      "r810"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Adjustments to Compensation [Member]",
        "terseLabel": "All Adjustments to Compensation"
       }
      }
     },
     "localname": "AllAdjToCompMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_AllExecutiveCategoriesMember": {
     "auth_ref": [
      "r817"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Executive Categories [Member]",
        "terseLabel": "All Executive Categories"
       }
      }
     },
     "localname": "AllExecutiveCategoriesMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_AllIndividualsMember": {
     "auth_ref": [
      "r708",
      "r717",
      "r798",
      "r817",
      "r825",
      "r829",
      "r837"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Individuals [Member]",
        "terseLabel": "All Individuals"
       }
      }
     },
     "localname": "AllIndividualsMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "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"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_AllTradingArrangementsMember": {
     "auth_ref": [
      "r835"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Trading Arrangements [Member]",
        "terseLabel": "All Trading Arrangements"
       }
      }
     },
     "localname": "AllTradingArrangementsMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_AwardExrcPrice": {
     "auth_ref": [
      "r832"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Exercise Price",
        "terseLabel": "Exercise Price"
       }
      }
     },
     "localname": "AwardExrcPrice",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "perShareItemType"
    },
    "ecd_AwardGrantDateFairValue": {
     "auth_ref": [
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Grant Date Fair Value",
        "terseLabel": "Fair Value as of Grant Date"
       }
      }
     },
     "localname": "AwardGrantDateFairValue",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_AwardTmgDiscLineItems": {
     "auth_ref": [
      "r828"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Disclosures [Line Items]"
       }
      }
     },
     "localname": "AwardTmgDiscLineItems",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "xbrltype": "stringItemType"
    },
    "ecd_AwardTmgHowMnpiCnsdrdTextBlock": {
     "auth_ref": [
      "r828"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing, How MNPI Considered [Text Block]",
        "terseLabel": "Award Timing, How MNPI Considered"
       }
      }
     },
     "localname": "AwardTmgHowMnpiCnsdrdTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AwardTmgMethodTextBlock": {
     "auth_ref": [
      "r828"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Method [Text Block]",
        "terseLabel": "Award Timing Method"
       }
      }
     },
     "localname": "AwardTmgMethodTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AwardTmgMnpiCnsdrdFlag": {
     "auth_ref": [
      "r828"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Considered [Flag]",
        "terseLabel": "Award Timing MNPI Considered"
       }
      }
     },
     "localname": "AwardTmgMnpiCnsdrdFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_AwardTmgMnpiDiscTextBlock": {
     "auth_ref": [
      "r828"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Disclosure [Text Block]",
        "terseLabel": "Award Timing MNPI Disclosure"
       }
      }
     },
     "localname": "AwardTmgMnpiDiscTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AwardTmgPredtrmndFlag": {
     "auth_ref": [
      "r828"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Predetermined [Flag]",
        "terseLabel": "Award Timing Predetermined"
       }
      }
     },
     "localname": "AwardTmgPredtrmndFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_AwardUndrlygSecuritiesAmt": {
     "auth_ref": [
      "r831"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Underlying Securities Amount",
        "terseLabel": "Underlying Securities"
       }
      }
     },
     "localname": "AwardUndrlygSecuritiesAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "decimalItemType"
    },
    "ecd_AwardsCloseToMnpiDiscIndName": {
     "auth_ref": [
      "r830"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "localname": "AwardsCloseToMnpiDiscIndName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_AwardsCloseToMnpiDiscTable": {
     "auth_ref": [
      "r829"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures"
       }
      }
     },
     "localname": "AwardsCloseToMnpiDiscTable",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_AwardsCloseToMnpiDiscTableTextBlock": {
     "auth_ref": [
      "r829"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table Text Block]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures, Table"
       }
      }
     },
     "localname": "AwardsCloseToMnpiDiscTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_ChangedPeerGroupFnTextBlock": {
     "auth_ref": [
      "r808"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changed Peer Group, Footnote [Text Block]",
        "terseLabel": "Changed Peer Group, Footnote"
       }
      }
     },
     "localname": "ChangedPeerGroupFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_CoSelectedMeasureAmt": {
     "auth_ref": [
      "r809"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Amount",
        "terseLabel": "Company Selected Measure Amount"
       }
      }
     },
     "localname": "CoSelectedMeasureAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "decimalItemType"
    },
    "ecd_CoSelectedMeasureName": {
     "auth_ref": [
      "r809"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Name",
        "terseLabel": "Company Selected Measure Name"
       }
      }
     },
     "localname": "CoSelectedMeasureName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock": {
     "auth_ref": [
      "r814"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Company Selected Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Company Selected Measure"
       }
      }
     },
     "localname": "CompActuallyPaidVsCoSelectedMeasureTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_CompActuallyPaidVsNetIncomeTextBlock": {
     "auth_ref": [
      "r813"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Net Income [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Net Income"
       }
      }
     },
     "localname": "CompActuallyPaidVsNetIncomeTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_CompActuallyPaidVsOtherMeasureTextBlock": {
     "auth_ref": [
      "r815"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Other Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Other Measure"
       }
      }
     },
     "localname": "CompActuallyPaidVsOtherMeasureTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock": {
     "auth_ref": [
      "r812"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Total Shareholder Return [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Total Shareholder Return"
       }
      }
     },
     "localname": "CompActuallyPaidVsTotalShareholderRtnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_EquityValuationAssumptionDifferenceFnTextBlock": {
     "auth_ref": [
      "r811"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Valuation Assumption Difference, Footnote [Text Block]",
        "terseLabel": "Equity Valuation Assumption Difference, Footnote"
       }
      }
     },
     "localname": "EquityValuationAssumptionDifferenceFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_ErrCompAnalysisTextBlock": {
     "auth_ref": [
      "r701",
      "r713",
      "r794",
      "r821"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneous Compensation Analysis [Text Block]",
        "terseLabel": "Erroneous Compensation Analysis"
       }
      }
     },
     "localname": "ErrCompAnalysisTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_ErrCompRecoveryTable": {
     "auth_ref": [
      "r698",
      "r710",
      "r791",
      "r818"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneously Awarded Compensation Recovery [Table]",
        "terseLabel": "Erroneously Awarded Compensation Recovery"
       }
      }
     },
     "localname": "ErrCompRecoveryTable",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_ExecutiveCategoryAxis": {
     "auth_ref": [
      "r817"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Executive Category [Axis]",
        "terseLabel": "Executive Category:"
       }
      }
     },
     "localname": "ExecutiveCategoryAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt": {
     "auth_ref": [
      "r705",
      "r717",
      "r798",
      "r825"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Disqualification of Tax Benefits, Amount",
        "terseLabel": "Forgone Recovery due to Disqualification of Tax Benefits, Amount"
       }
      }
     },
     "localname": "ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt": {
     "auth_ref": [
      "r705",
      "r717",
      "r798",
      "r825"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Expense of Enforcement, Amount",
        "terseLabel": "Forgone Recovery due to Expense of Enforcement, Amount"
       }
      }
     },
     "localname": "ForgoneRecoveryDueToExpenseOfEnforcementAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt": {
     "auth_ref": [
      "r705",
      "r717",
      "r798",
      "r825"
     ],
     "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"
       }
      }
     },
     "localname": "ForgoneRecoveryDueToViolationOfHomeCountryLawAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock": {
     "auth_ref": [
      "r705",
      "r717",
      "r798",
      "r825"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Explanation of Impracticability [Text Block]",
        "terseLabel": "Forgone Recovery, Explanation of Impracticability"
       }
      }
     },
     "localname": "ForgoneRecoveryExplanationOfImpracticabilityTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_ForgoneRecoveryIndName": {
     "auth_ref": [
      "r705",
      "r717",
      "r798",
      "r825"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "localname": "ForgoneRecoveryIndName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_IndividualAxis": {
     "auth_ref": [
      "r708",
      "r717",
      "r798",
      "r817",
      "r825",
      "r829",
      "r837"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Individual [Axis]",
        "terseLabel": "Individual:"
       }
      }
     },
     "localname": "IndividualAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "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"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_InsiderTradingArrLineItems": {
     "auth_ref": [
      "r835"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Arrangements [Line Items]"
       }
      }
     },
     "localname": "InsiderTradingArrLineItems",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "xbrltype": "stringItemType"
    },
    "ecd_InsiderTradingPoliciesProcLineItems": {
     "auth_ref": [
      "r697",
      "r841"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures [Line Items]"
       }
      }
     },
     "localname": "InsiderTradingPoliciesProcLineItems",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "xbrltype": "stringItemType"
    },
    "ecd_InsiderTrdPoliciesProcAdoptedFlag": {
     "auth_ref": [
      "r697",
      "r841"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Adopted [Flag]",
        "terseLabel": "Insider Trading Policies and Procedures Adopted"
       }
      }
     },
     "localname": "InsiderTrdPoliciesProcAdoptedFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock": {
     "auth_ref": [
      "r697",
      "r841"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Not Adopted [Text Block]",
        "terseLabel": "Insider Trading Policies and Procedures Not Adopted"
       }
      }
     },
     "localname": "InsiderTrdPoliciesProcNotAdoptedTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_MeasureAxis": {
     "auth_ref": [
      "r809"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure [Axis]",
        "terseLabel": "Measure:"
       }
      }
     },
     "localname": "MeasureAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_MeasureName": {
     "auth_ref": [
      "r809"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure Name",
        "terseLabel": "Name"
       }
      }
     },
     "localname": "MeasureName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "ecd_MnpiDiscTimedForCompValFlag": {
     "auth_ref": [
      "r828"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MNPI Disclosure Timed for Compensation Value [Flag]",
        "terseLabel": "MNPI Disclosure Timed for Compensation Value"
       }
      }
     },
     "localname": "MnpiDiscTimedForCompValFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_MtrlTermsOfTrdArrTextBlock": {
     "auth_ref": [
      "r836"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Terms of Trading Arrangement [Text Block]",
        "terseLabel": "Material Terms of Trading Arrangement"
       }
      }
     },
     "localname": "MtrlTermsOfTrdArrTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_NamedExecutiveOfficersFnTextBlock": {
     "auth_ref": [
      "r810"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Named Executive Officers, Footnote [Text Block]",
        "terseLabel": "Named Executive Officers, Footnote"
       }
      }
     },
     "localname": "NamedExecutiveOfficersFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_NonGaapMeasureDescriptionTextBlock": {
     "auth_ref": [
      "r809"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-GAAP Measure Description [Text Block]",
        "terseLabel": "Non-GAAP Measure Description"
       }
      }
     },
     "localname": "NonGaapMeasureDescriptionTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_NonNeosMember": {
     "auth_ref": [
      "r705",
      "r717",
      "r798",
      "r817",
      "r825"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-NEOs [Member]",
        "terseLabel": "Non-NEOs"
       }
      }
     },
     "localname": "NonNeosMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_NonPeoNeoAvgCompActuallyPaidAmt": {
     "auth_ref": [
      "r807"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Compensation Actually Paid Amount",
        "terseLabel": "Non-PEO NEO Average Compensation Actually Paid Amount"
       }
      }
     },
     "localname": "NonPeoNeoAvgCompActuallyPaidAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_NonPeoNeoAvgTotalCompAmt": {
     "auth_ref": [
      "r806"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Total Compensation Amount",
        "terseLabel": "Non-PEO NEO Average Total Compensation Amount"
       }
      }
     },
     "localname": "NonPeoNeoAvgTotalCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_NonPeoNeoMember": {
     "auth_ref": [
      "r817"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO [Member]",
        "terseLabel": "Non-PEO NEO"
       }
      }
     },
     "localname": "NonPeoNeoMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_NonRule10b51ArrAdoptedFlag": {
     "auth_ref": [
      "r836"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "localname": "NonRule10b51ArrAdoptedFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_NonRule10b51ArrTrmntdFlag": {
     "auth_ref": [
      "r836"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "localname": "NonRule10b51ArrTrmntdFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_OtherPerfMeasureAmt": {
     "auth_ref": [
      "r809"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Performance Measure, Amount",
        "terseLabel": "Other Performance Measure, Amount"
       }
      }
     },
     "localname": "OtherPerfMeasureAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "decimalItemType"
    },
    "ecd_OutstandingAggtErrCompAmt": {
     "auth_ref": [
      "r703",
      "r715",
      "r796",
      "r823"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Aggregate Erroneous Compensation Amount",
        "terseLabel": "Outstanding Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "localname": "OutstandingAggtErrCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_OutstandingRecoveryCompAmt": {
     "auth_ref": [
      "r706",
      "r718",
      "r799",
      "r826"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery Compensation Amount",
        "terseLabel": "Compensation Amount"
       }
      }
     },
     "localname": "OutstandingRecoveryCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_OutstandingRecoveryIndName": {
     "auth_ref": [
      "r706",
      "r718",
      "r799",
      "r826"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "localname": "OutstandingRecoveryIndName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_PayVsPerformanceDisclosureLineItems": {
     "auth_ref": [
      "r805"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Line Items]"
       }
      }
     },
     "localname": "PayVsPerformanceDisclosureLineItems",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "xbrltype": "stringItemType"
    },
    "ecd_PeerGroupIssuersFnTextBlock": {
     "auth_ref": [
      "r808"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Issuers, Footnote [Text Block]",
        "terseLabel": "Peer Group Issuers, Footnote"
       }
      }
     },
     "localname": "PeerGroupIssuersFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_PeerGroupTotalShareholderRtnAmt": {
     "auth_ref": [
      "r808"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Total Shareholder Return Amount",
        "terseLabel": "Peer Group Total Shareholder Return Amount"
       }
      }
     },
     "localname": "PeerGroupTotalShareholderRtnAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_PeoActuallyPaidCompAmt": {
     "auth_ref": [
      "r807"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Actually Paid Compensation Amount",
        "terseLabel": "PEO Actually Paid Compensation Amount"
       }
      }
     },
     "localname": "PeoActuallyPaidCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_PeoMember": {
     "auth_ref": [
      "r817"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO [Member]",
        "terseLabel": "PEO"
       }
      }
     },
     "localname": "PeoMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_PeoName": {
     "auth_ref": [
      "r810"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Name",
        "terseLabel": "PEO Name"
       }
      }
     },
     "localname": "PeoName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "ecd_PeoTotalCompAmt": {
     "auth_ref": [
      "r806"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Total Compensation Amount",
        "terseLabel": "PEO Total Compensation Amount"
       }
      }
     },
     "localname": "PeoTotalCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_PvpTable": {
     "auth_ref": [
      "r805"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Table]",
        "terseLabel": "Pay vs Performance Disclosure"
       }
      }
     },
     "localname": "PvpTable",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_PvpTableTextBlock": {
     "auth_ref": [
      "r805"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance [Table Text Block]",
        "terseLabel": "Pay vs Performance Disclosure, Table"
       }
      }
     },
     "localname": "PvpTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_RecoveryOfErrCompDisclosureLineItems": {
     "auth_ref": [
      "r698",
      "r710",
      "r791",
      "r818"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recovery of Erroneously Awarded Compensation Disclosure [Line Items]"
       }
      }
     },
     "localname": "RecoveryOfErrCompDisclosureLineItems",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "xbrltype": "stringItemType"
    },
    "ecd_RestatementDateAxis": {
     "auth_ref": [
      "r699",
      "r711",
      "r792",
      "r819"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date [Axis]",
        "terseLabel": "Restatement Determination Date:"
       }
      }
     },
     "localname": "RestatementDateAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_RestatementDeterminationDate": {
     "auth_ref": [
      "r700",
      "r712",
      "r793",
      "r820"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date",
        "terseLabel": "Restatement Determination Date"
       }
      }
     },
     "localname": "RestatementDeterminationDate",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "dateItemType"
    },
    "ecd_RestatementDoesNotRequireRecoveryTextBlock": {
     "auth_ref": [
      "r707",
      "r719",
      "r800",
      "r827"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Does Not Require Recovery [Text Block]",
        "terseLabel": "Restatement does not require Recovery"
       }
      }
     },
     "localname": "RestatementDoesNotRequireRecoveryTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_Rule10b51ArrAdoptedFlag": {
     "auth_ref": [
      "r836"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "localname": "Rule10b51ArrAdoptedFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_Rule10b51ArrTrmntdFlag": {
     "auth_ref": [
      "r836"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "localname": "Rule10b51ArrTrmntdFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_StkPrcOrTsrEstimationMethodTextBlock": {
     "auth_ref": [
      "r702",
      "r714",
      "r795",
      "r822"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Price or TSR Estimation Method [Text Block]",
        "terseLabel": "Stock Price or TSR Estimation Method"
       }
      }
     },
     "localname": "StkPrcOrTsrEstimationMethodTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_TabularListTableTextBlock": {
     "auth_ref": [
      "r816"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tabular List [Table Text Block]",
        "terseLabel": "Tabular List, Table"
       }
      }
     },
     "localname": "TabularListTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_TotalShareholderRtnAmt": {
     "auth_ref": [
      "r808"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Amount",
        "terseLabel": "Total Shareholder Return Amount"
       }
      }
     },
     "localname": "TotalShareholderRtnAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_TotalShareholderRtnVsPeerGroupTextBlock": {
     "auth_ref": [
      "r815"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Vs Peer Group [Text Block]",
        "terseLabel": "Total Shareholder Return Vs Peer Group"
       }
      }
     },
     "localname": "TotalShareholderRtnVsPeerGroupTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_TradingArrAxis": {
     "auth_ref": [
      "r835"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement [Axis]",
        "terseLabel": "Trading Arrangement:"
       }
      }
     },
     "localname": "TradingArrAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_TradingArrByIndTable": {
     "auth_ref": [
      "r837"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangements, by Individual [Table]",
        "terseLabel": "Trading Arrangements, by Individual"
       }
      }
     },
     "localname": "TradingArrByIndTable",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_TrdArrAdoptionDate": {
     "auth_ref": [
      "r838"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Adoption Date",
        "terseLabel": "Adoption Date"
       }
      }
     },
     "localname": "TrdArrAdoptionDate",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_TrdArrDuration": {
     "auth_ref": [
      "r839"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Duration",
        "terseLabel": "Arrangement Duration"
       }
      }
     },
     "localname": "TrdArrDuration",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "durationItemType"
    },
    "ecd_TrdArrIndName": {
     "auth_ref": [
      "r837"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "localname": "TrdArrIndName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_TrdArrIndTitle": {
     "auth_ref": [
      "r837"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Title",
        "terseLabel": "Title"
       }
      }
     },
     "localname": "TrdArrIndTitle",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_TrdArrSecuritiesAggAvailAmt": {
     "auth_ref": [
      "r840"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Securities Aggregate Available Amount",
        "terseLabel": "Aggregate Available"
       }
      }
     },
     "localname": "TrdArrSecuritiesAggAvailAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "sharesItemType"
    },
    "ecd_TrdArrTerminationDate": {
     "auth_ref": [
      "r838"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Termination Date",
        "terseLabel": "Termination Date"
       }
      }
     },
     "localname": "TrdArrTerminationDate",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_UndrlygSecurityMktPriceChngPct": {
     "auth_ref": [
      "r834"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underlying Security Market Price Change, Percent",
        "terseLabel": "Underlying Security Market Price Change"
       }
      }
     },
     "localname": "UndrlygSecurityMktPriceChngPct",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "pureItemType"
    },
    "gain_A4875NotesDue2028Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "4.875% Notes due 2028",
        "label": "4.875% Notes due 2028 [Member]",
        "terseLabel": "4.875% Notes due 2028"
       }
      }
     },
     "localname": "A4875NotesDue2028Member",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_A500NotesDue2026Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "5.00% Notes Due 2026",
        "label": "5.00% Notes Due 2026 [Member]",
        "terseLabel": "5.00% Notes due 2026"
       }
      }
     },
     "localname": "A500NotesDue2026Member",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_A800NotesDue2028Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "8.00% Notes due 2028",
        "label": "8.00% Notes due 2028 [Member]",
        "terseLabel": "8.00% 2028 Notes"
       }
      }
     },
     "localname": "A800NotesDue2028Member",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_AdjustmentsToReconcileNetAssetsFromOperationsToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments To Reconcile Net Assets From Operations To Cash Provided by (Used in) Operating Activities",
        "label": "Adjustments To Reconcile Net Assets From Operations To Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net increase in net assets resulting from operations to net cash (used in) provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetAssetsFromOperationsToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "gain_AdvisoryAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Advisory Agreement",
        "label": "Advisory Agreement [Member]",
        "terseLabel": "Advisory Agreement"
       }
      }
     },
     "localname": "AdvisoryAgreementMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_AerospaceAndDefenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aerospace and Defense",
        "label": "Aerospace and Defense [Member]",
        "terseLabel": "Aerospace and Defense"
       }
      }
     },
     "localname": "AerospaceAndDefenseMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_AmortizationOfDeferredFinancingCostsAndDiscounts": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortization of Deferred Financing Costs and Discounts",
        "label": "Amortization of Deferred Financing Costs and Discounts",
        "verboseLabel": "Amortization of deferred financing costs and discounts"
       }
      }
     },
     "localname": "AmortizationOfDeferredFinancingCostsAndDiscounts",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_AverageNetAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average Net Assets",
        "label": "Average Net Assets",
        "terseLabel": "Average net assets"
       }
      }
     },
     "localname": "AverageNetAssets",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_BaseManagementFeeAndLoanServicingFeeDueToAdviserMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Base Management Fee And Loan Servicing Fee Due to Adviser",
        "label": "Base Management Fee And Loan Servicing Fee Due to Adviser [Member]",
        "terseLabel": "Base management and loan servicing fee due to Adviser, net of credits"
       }
      }
     },
     "localname": "BaseManagementFeeAndLoanServicingFeeDueToAdviserMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_BuildingsAndRealEstateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Buildings and Real Estate",
        "label": "Buildings and Real Estate [Member]",
        "terseLabel": "Buildings and Real Estate"
       }
      }
     },
     "localname": "BuildingsAndRealEstateMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_CapitalGainsBasedIncentiveFee": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital Gains-based Incentive Fee",
        "label": "Capital Gains-based Incentive Fee",
        "terseLabel": "Capital gains-based incentive fee"
       }
      }
     },
     "localname": "CapitalGainsBasedIncentiveFee",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_CargoTransportMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cargo Transport",
        "label": "Cargo Transport [Member]",
        "terseLabel": "Cargo Transport"
       }
      }
     },
     "localname": "CargoTransportMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_ChemicalsPlasticsAndRubberMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chemicals, Plastics, and Rubber",
        "label": "Chemicals, Plastics, and Rubber [Member]",
        "terseLabel": "Chemicals, Plastics, and Rubber"
       }
      }
     },
     "localname": "ChemicalsPlasticsAndRubberMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_CommonEquityEquivalentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common Equity/Equivalents",
        "label": "Common Equity/Equivalents [Member]",
        "terseLabel": "Common Equity/ Equivalents",
        "verboseLabel": "Common equity/equivalents"
       }
      }
     },
     "localname": "CommonEquityEquivalentsMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_CommonStockATMProgramMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common Stock ATM Program",
        "label": "Common Stock ATM Program [Member]",
        "terseLabel": "Common Stock ATM Program"
       }
      }
     },
     "localname": "CommonStockATMProgramMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails",
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_DebtAndEquitySecuritiesRealizedGainLossMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt and Equity Securities, Realized Gain (Loss)",
        "label": "Debt and Equity Securities, Realized Gain (Loss) [Member]",
        "terseLabel": "Debt and Equity Securities, Realized Gain (Loss)"
       }
      }
     },
     "localname": "DebtAndEquitySecuritiesRealizedGainLossMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_DebtAndEquitySecuritiesUnrealizedGainLossMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt and Equity Securities, Unrealized Gain (Loss)",
        "label": "Debt and Equity Securities, Unrealized Gain (Loss) [Member]",
        "terseLabel": "Debt and Equity Securities, Unrealized Gain (Loss)"
       }
      }
     },
     "localname": "DebtAndEquitySecuritiesUnrealizedGainLossMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_DebtCovenantsAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Covenants",
        "label": "Debt Covenants [Axis]",
        "verboseLabel": "Debt Covenants [Axis]"
       }
      }
     },
     "localname": "DebtCovenantsAxis",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gain_DebtCovenantsDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Covenants",
        "label": "Debt Covenants [Domain]",
        "verboseLabel": "Debt Covenants [Domain]"
       }
      }
     },
     "localname": "DebtCovenantsDomain",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_DebtInstrumentCovenantNetWorthOfMandatoryRedeemableTermPreferredStockPlusPercentOfAllEquityAndSubordinatedDebtRaisedMinusAnyEquityOrSubordinatedDebtRedeemedOrRetired": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument, Covenant, Net Worth Of Mandatory Redeemable Term Preferred Stock, Plus Percent of All Equity and Subordinated Debt Raised, Minus Any Equity Or Subordinated Debt Redeemed or Retired",
        "label": "Debt Instrument, Covenant, Net Worth Of Mandatory Redeemable Term Preferred Stock, Plus Percent of All Equity and Subordinated Debt Raised, Minus Any Equity Or Subordinated Debt Redeemed or Retired",
        "terseLabel": "Covenant, required minimum net worth of mandatory redeemable term preferred stock, plus percent of all equity and subordinated debt raised, minus percent of any equity or subordinated debt redeemed or retired"
       }
      }
     },
     "localname": "DebtInstrumentCovenantNetWorthOfMandatoryRedeemableTermPreferredStockPlusPercentOfAllEquityAndSubordinatedDebtRaisedMinusAnyEquityOrSubordinatedDebtRedeemedOrRetired",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStock": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument, Covenant, Required Minimum Net Worth Of Mandatory Redeemable Term Preferred Stock",
        "label": "Debt Instrument, Covenant, Required Minimum Net Worth Of Mandatory Redeemable Term Preferred Stock",
        "terseLabel": "Covenant, required minimum net worth of mandatory redeemable term preferred stock"
       }
      }
     },
     "localname": "DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStock",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStockMinusPercentOfAnyEquityOrSubordinatedDebtRedeemedOrRetired": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument, Covenant, Required Minimum Net Worth Of Mandatory Redeemable Term Preferred Stock, Minus Percent of Any Equity Or Subordinated Debt Redeemed Or Retired",
        "label": "Debt Instrument, Covenant, Required Minimum Net Worth Of Mandatory Redeemable Term Preferred Stock, Minus Percent of Any Equity Or Subordinated Debt Redeemed Or Retired",
        "terseLabel": "Covenant, required minimum net worth of mandatory redeemable term preferred stock, minus percent of any equity or subordinated debt redeemed or retired"
       }
      }
     },
     "localname": "DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStockMinusPercentOfAnyEquityOrSubordinatedDebtRedeemedOrRetired",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStockPlusPercentOfAllEquityAndSubordinatedDebtRaised": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument, Covenant, Required Minimum Net Worth Of Mandatory Redeemable Term Preferred Stock, Plus Percent of All Equity and Subordinated Debt Raised",
        "label": "Debt Instrument, Covenant, Required Minimum Net Worth Of Mandatory Redeemable Term Preferred Stock, Plus Percent of All Equity and Subordinated Debt Raised",
        "terseLabel": "Covenant, required minimum net worth of mandatory redeemable term preferred stock, plus percent of all equity and subordinated debt raised"
       }
      }
     },
     "localname": "DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStockPlusPercentOfAllEquityAndSubordinatedDebtRaised",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_DebtInstrumentPrincipalAmountPerNote": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument, Principal Amount Per Note",
        "label": "Debt Instrument, Principal Amount Per Note",
        "terseLabel": "Principal Amount per Note"
       }
      }
     },
     "localname": "DebtInstrumentPrincipalAmountPerNote",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "gain_DebtInstrumentVariableRateFloor": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument, Variable Rate Floor",
        "label": "Debt Instrument, Variable Rate Floor",
        "terseLabel": "Debt instrument, variable rate floor"
       }
      }
     },
     "localname": "DebtInstrumentVariableRateFloor",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_DebtSecuritiesSecuredFirstLienDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Secured First Lien Debt",
        "label": "Debt Securities, Secured First Lien Debt [Member]",
        "terseLabel": "Secured First Lien Debt",
        "verboseLabel": "Secured first lien debt"
       }
      }
     },
     "localname": "DebtSecuritiesSecuredFirstLienDebtMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_DebtSecuritiesSecuredSecondLienDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities, Secured Second Lien Debt",
        "label": "Debt Securities, Secured Second Lien Debt [Member]",
        "terseLabel": "Secured Second Lien Debt",
        "verboseLabel": "Secured second lien debt"
       }
      }
     },
     "localname": "DebtSecuritiesSecuredSecondLienDebtMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_DiversifiedConglomerateManufacturingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Diversified/Conglomerate Manufacturing",
        "label": "Diversified/Conglomerate Manufacturing [Member]",
        "terseLabel": "Diversified/Conglomerate Manufacturing"
       }
      }
     },
     "localname": "DiversifiedConglomerateManufacturingMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_DiversifiedConglomerateServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Diversified/Conglomerate Services",
        "label": "Diversified/Conglomerate Services [Member]",
        "terseLabel": "Diversified/Conglomerate Services"
       }
      }
     },
     "localname": "DiversifiedConglomerateServicesMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_DueFromAdministrativeAgent": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Due From Administrative Agent",
        "label": "Due From Administrative Agent",
        "terseLabel": "Due from administrative agent"
       }
      }
     },
     "localname": "DueFromAdministrativeAgent",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_EffectOfEquityCapitalActivityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effect Of Equity Capital Activity",
        "label": "Effect Of Equity Capital Activity [Abstract]",
        "terseLabel": "Effect of equity capital activity"
       }
      }
     },
     "localname": "EffectOfEquityCapitalActivityAbstract",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gain_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetReversalOfPreviouslyRecordedAppreciationDepreciationUponRealization": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value, Measurement With Unobservable Inputs Reconciliation, Recurring Basis, Asset, Reversal Of Previously Recorded (Appreciation) Depreciation Upon Realization",
        "label": "Fair Value, Measurement With Unobservable Inputs Reconciliation, Recurring Basis, Asset, Reversal Of Previously Recorded (Appreciation) Depreciation Upon Realization",
        "negatedTerseLabel": "Reversal of previously recorded (appreciation) depreciation upon realization"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetReversalOfPreviouslyRecordedAppreciationDepreciationUponRealization",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityUnrealizedAppreciationDepreciation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Unrealized Appreciation (Depreciation)",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Unrealized Appreciation (Depreciation)",
        "terseLabel": "Unrealized appreciation (depreciation)"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityUnrealizedAppreciationDepreciation",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_FiveLargestPortfolioInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Five Largest Portfolio Investments",
        "label": "Five Largest Portfolio Investments [Member]",
        "terseLabel": "Five Largest Portfolio Investments"
       }
      }
     },
     "localname": "FiveLargestPortfolioInvestmentsMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_FunkoAcquisitionHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Funko Acquisition Holdings, LLC",
        "label": "Funko Acquisition Holdings, LLC [Member]",
        "terseLabel": "Funko Acquisition Holdings, LLC"
       }
      }
     },
     "localname": "FunkoAcquisitionHoldingsLLCMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_GeographicRegionsConcentrationRiskMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Geographic Regions Concentration Risk",
        "label": "Geographic Regions Concentration Risk [Member]",
        "terseLabel": "Geographic Regions Risk"
       }
      }
     },
     "localname": "GeographicRegionsConcentrationRiskMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_GladstoneSecuritiesLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gladstone Securities, LLC",
        "label": "Gladstone Securities, LLC [Member]",
        "terseLabel": "Gladstone Securities, LLC"
       }
      }
     },
     "localname": "GladstoneSecuritiesLLCMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_GreaterThan50ButLessThanOrEqualTo65OfCommitmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Greater Than 50% But Less Than Or Equal To 65% Of Commitment",
        "label": "Greater Than 50% But Less Than Or Equal To 65% Of Commitment [Member]",
        "terseLabel": "Greater Than 50% But Less Than or Equal to 65% of Commitment"
       }
      }
     },
     "localname": "GreaterThan50ButLessThanOrEqualTo65OfCommitmentMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_GreaterThan65OfCommitmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Greater Than 65% Of Commitment",
        "label": "Greater Than 65% Of Commitment [Member]",
        "terseLabel": "Greater Than 65% Of Commitment"
       }
      }
     },
     "localname": "GreaterThan65OfCommitmentMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_HealthcareEducationAndChildcareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Healthcare, Education, and Childcare",
        "label": "Healthcare, Education, and Childcare [Member]",
        "terseLabel": "Healthcare, Education, and Childcare"
       }
      }
     },
     "localname": "HealthcareEducationAndChildcareMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_HomeAndOfficeFurnishingsHousewaresAndDurableConsumerProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Home and Office Furnishings, Housewares, and Durable Consumer Products",
        "label": "Home and Office Furnishings, Housewares, and Durable Consumer Products [Member]",
        "terseLabel": "Home and Office Furnishings, Housewares, and Durable Consumer Products"
       }
      }
     },
     "localname": "HomeAndOfficeFurnishingsHousewaresAndDurableConsumerProductsMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_HomeConceptsAcquisitionIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Home Concepts Acquisition, Inc",
        "label": "Home Concepts Acquisition, Inc [Member]",
        "terseLabel": "Home Concepts Acquisition, Inc"
       }
      }
     },
     "localname": "HomeConceptsAcquisitionIncMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_HotelsMotelsInnsAndGamingTotalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hotels, Motels, Inns, and Gaming Total",
        "label": "Hotels, Motels, Inns, and Gaming Total [Member]",
        "terseLabel": "Hotels, Motels, Inns, and Gaming"
       }
      }
     },
     "localname": "HotelsMotelsInnsAndGamingTotalMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_IncentiveFeeCapitalGainsBased": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_IncentiveFeeExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incentive Fee, Capital Gains-based",
        "label": "Incentive Fee, Capital Gains-based",
        "terseLabel": "Incentive fee \u2013 capital gains-based"
       }
      }
     },
     "localname": "IncentiveFeeCapitalGainsBased",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_IncentiveFeeDueToAdviserMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incentive Fee Due to Adviser",
        "label": "Incentive Fee Due to Adviser [Member]",
        "terseLabel": "Incentive Fee Due to Adviser"
       }
      }
     },
     "localname": "IncentiveFeeDueToAdviserMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_IncentiveFeeIncomeBased": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncentiveFeeExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incentive Fee, Income-based",
        "label": "Incentive Fee, Income-based",
        "terseLabel": "Incentive fee \u2013 income-based"
       }
      }
     },
     "localname": "IncentiveFeeIncomeBased",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_IncreaseDecreaseInDueFromAdministrativeAgent": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (Decrease) in Due From Administrative Agent",
        "label": "Increase (Decrease) in Due From Administrative Agent",
        "negatedTerseLabel": "Decrease in due from administrative agent"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueFromAdministrativeAgent",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_IndustryConcentrationRiskMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Industry Concentration Risk",
        "label": "Industry Concentration Risk [Member]",
        "terseLabel": "Industry Concentration Risk"
       }
      }
     },
     "localname": "IndustryConcentrationRiskMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_InvestmentCompanyAccumulatedNetRealizedGainInExcessOfDistributions": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 4.0,
       "parentTag": "us-gaap_RetainedEarningsAccumulatedDeficit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Accumulated Net Realized Gain In Excess Of Distributions",
        "label": "Investment Company, Accumulated Net Realized Gain In Excess Of Distributions",
        "terseLabel": "Accumulated net realized gain in excess of distributions"
       }
      }
     },
     "localname": "InvestmentCompanyAccumulatedNetRealizedGainInExcessOfDistributions",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyAllowanceForUncollectibleReceivables": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Allowance For Uncollectible Receivables",
        "label": "Investment Company, Allowance For Uncollectible Receivables",
        "terseLabel": "Allowance for uncollectible receivables"
       }
      }
     },
     "localname": "InvestmentCompanyAllowanceForUncollectibleReceivables",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyBaseManagementAndLoanServicingFeeDueToAdviserNetOfCredits": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Base Management And Loan Servicing Fee Due To Adviser, Net Of Credits",
        "label": "Investment Company, Base Management And Loan Servicing Fee Due To Adviser, Net Of Credits",
        "terseLabel": "Base management and loan servicing fee due to Adviser, net of credits"
       }
      }
     },
     "localname": "InvestmentCompanyBaseManagementAndLoanServicingFeeDueToAdviserNetOfCredits",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyCapitalActivityIncreaseDecrease": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquityPeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Capital Activity, Increase (Decrease)",
        "label": "Investment Company, Capital Activity, Increase (Decrease)",
        "totalLabel": "Net increase in net assets from capital activity"
       }
      }
     },
     "localname": "InvestmentCompanyCapitalActivityIncreaseDecrease",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyCapitalGainsBasedIncentiveFeesPaidToTheAdviser": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Capital Gains-based Incentive Fees Paid To The Adviser",
        "label": "Investment Company, Capital Gains-based Incentive Fees Paid To The Adviser",
        "terseLabel": "Investment company, capital gains-based incentive fees"
       }
      }
     },
     "localname": "InvestmentCompanyCapitalGainsBasedIncentiveFeesPaidToTheAdviser",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyCapitalGainsBasedIncentiveFeesPayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Capital Gains-based Incentive Fees Payable",
        "label": "Investment Company, Capital Gains-based Incentive Fees Payable",
        "terseLabel": "Investment company, capital gains-based incentive fees payable (reversal)"
       }
      }
     },
     "localname": "InvestmentCompanyCapitalGainsBasedIncentiveFeesPayable",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyCapitalGainsBasedIncentiveFeesPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Capital Gains-based Incentive Fees, Percentage",
        "label": "Investment Company, Capital Gains-based Incentive Fees, Percentage",
        "terseLabel": "Investment company, capital gains-based incentive fees"
       }
      }
     },
     "localname": "InvestmentCompanyCapitalGainsBasedIncentiveFeesPercentage",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentCompanyCashDistributionsPaidToCommonStockholdersFromCapitalGainsPercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Cash Distributions Paid To Common Stockholders From Capital Gains, Percent",
        "label": "Investment Company, Cash Distributions Paid To Common Stockholders From Capital Gains, Percent",
        "terseLabel": "Investment company, cash distributions paid to common stockholders from capital gains"
       }
      }
     },
     "localname": "InvestmentCompanyCashDistributionsPaidToCommonStockholdersFromCapitalGainsPercent",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentCompanyCashDistributionsPaidToCommonStockholdersFromOrdinaryIncomePercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Cash Distributions Paid To Common Stockholders From Ordinary Income, Percent",
        "label": "Investment Company, Cash Distributions Paid To Common Stockholders From Ordinary Income, Percent",
        "terseLabel": "Investment company, cash distributions paid to common stockholders from ordinary income"
       }
      }
     },
     "localname": "InvestmentCompanyCashDistributionsPaidToCommonStockholdersFromOrdinaryIncomePercent",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentCompanyCashDistributionsPaidToCommonStockholdersTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Cash Distributions Paid To Common Stockholders",
        "label": "Investment Company, Cash Distributions Paid To Common Stockholders [Table Text Block]",
        "terseLabel": "Schedule of Investment Company, Cash Distributions Paid To Common Stockholders"
       }
      }
     },
     "localname": "InvestmentCompanyCashDistributionsPaidToCommonStockholdersTableTextBlock",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gain_InvestmentCompanyCreditsToBaseManagementFeeLoanServicingFee": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails": {
       "order": 2.0,
       "parentTag": "gain_NetLoanServicingFee",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Credits To Base Management Fee, Loan Servicing Fee",
        "label": "Investment Company, Credits To Base Management Fee, Loan Servicing Fee",
        "negatedTerseLabel": "Credits to base management fee \u2013 loan servicing fee"
       }
      }
     },
     "localname": "InvestmentCompanyCreditsToBaseManagementFeeLoanServicingFee",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyCreditsToFeesFromAdviserOther": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails": {
       "order": 1.0,
       "parentTag": "gain_NetBaseManagementFee",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Credits To Fees From Adviser, Other",
        "label": "Investment Company, Credits To Fees From Adviser, Other",
        "negatedTerseLabel": "Credits to fees from Adviser - other"
       }
      }
     },
     "localname": "InvestmentCompanyCreditsToFeesFromAdviserOther",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyCreditsToIncentiveFeesFromAdviserOther": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails": {
       "order": 1.0,
       "parentTag": "gain_NetTotalIncentiveFee",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Credits To Incentive Fees From Adviser, Other",
        "label": "Investment Company, Credits To Incentive Fees From Adviser, Other",
        "negatedTerseLabel": "Credits to fees from Adviser - other"
       }
      }
     },
     "localname": "InvestmentCompanyCreditsToIncentiveFeesFromAdviserOther",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyDistributableEarningsLossAccumulatedDepreciationOther": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 2.0,
       "parentTag": "us-gaap_RetainedEarningsAccumulatedDeficit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Distributable Earnings (Loss), Accumulated Depreciation, Other",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Depreciation, Other",
        "terseLabel": "Cumulative net unrealized depreciation of other"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedDepreciationOther",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyDistributionToShareholdersPerShare",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Distribution to Shareholders from Net Investment Income, Per Share",
        "label": "Investment Company, Distribution to Shareholders from Net Investment Income, Per Share",
        "negatedTerseLabel": "Cash distributions to common stockholders from net investment income (in USD per share)",
        "terseLabel": "Net investment income (loss) (in USD per share)"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSParentheticals",
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gain_InvestmentCompanyDistributionToShareholdersFromRealizedGainsPerShare": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyDistributionToShareholdersPerShare",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Distribution To Shareholders From Realized Gains, Per Share",
        "label": "Investment Company, Distribution To Shareholders From Realized Gains, Per Share",
        "negatedTerseLabel": "Cash distributions to common stockholders from net realized gains (in USD per share)",
        "terseLabel": "Gain (loss) on investment (in USD per share)"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionToShareholdersFromRealizedGainsPerShare",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSParentheticals",
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gain_InvestmentCompanyGrossReceivablesFromPortfolioCompanies": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Gross Receivables From Portfolio Companies",
        "label": "Investment Company, Gross Receivables From Portfolio Companies",
        "terseLabel": "Gross receivables from portfolio companies"
       }
      }
     },
     "localname": "InvestmentCompanyGrossReceivablesFromPortfolioCompanies",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyIncentiveFeeWhenPreInventiveFeeNetInvestmentIncomeDoesNotExceedHurdleRate": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Incentive Fee When Pre-Inventive Fee Net Investment Income Does Not Exceed Hurdle Rate",
        "label": "Investment Company, Incentive Fee When Pre-Inventive Fee Net Investment Income Does Not Exceed Hurdle Rate",
        "terseLabel": "Incentive fee base on minimum rate of return required on investment"
       }
      }
     },
     "localname": "InvestmentCompanyIncentiveFeeWhenPreInventiveFeeNetInvestmentIncomeDoesNotExceedHurdleRate",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyNetAdjustmentsForTaxDifferenceToCapitalDistribution": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Net Adjustments For Tax Difference To Capital Distribution",
        "label": "Investment Company, Net Adjustments For Tax Difference To Capital Distribution",
        "terseLabel": "Investment company, net adjustments for tax difference to capital distribution"
       }
      }
     },
     "localname": "InvestmentCompanyNetAdjustmentsForTaxDifferenceToCapitalDistribution",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentCompanyNetAssetValuePerShareOtherIncreaseDecreaseNet": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Net Asset Value Per Share, Other Increase (Decrease), Net",
        "label": "Investment Company, Net Asset Value Per Share, Other Increase (Decrease), Net",
        "terseLabel": "Other, net (in USD per share)"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetValuePerShareOtherIncreaseDecreaseNet",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gain_InvestmentCompanyNetRealizedGainLossOnInvestmentPerShare": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Net realized Gain (Loss) on Investment, Per Share",
        "label": "Investment Company, Net realized Gain (Loss) on Investment, Per Share",
        "terseLabel": "Net realized gain on investments and other (in USD per share)"
       }
      }
     },
     "localname": "InvestmentCompanyNetRealizedGainLossOnInvestmentPerShare",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gain_InvestmentCompanyNetUnrealizedGainLossOnInvestmentPerShare": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Net Unrealized Gain (Loss) on Investment, Per Share",
        "label": "Investment Company, Net Unrealized Gain (Loss) on Investment, Per Share",
        "terseLabel": "Net unrealized (depreciation) appreciation of investments (in USD per share)"
       }
      }
     },
     "localname": "InvestmentCompanyNetUnrealizedGainLossOnInvestmentPerShare",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gain_InvestmentCompanyPerShareDataAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Per Share Data",
        "label": "Investment Company, Per Share Data [Abstract]",
        "terseLabel": "Per Common Share Data:"
       }
      }
     },
     "localname": "InvestmentCompanyPerShareDataAbstract",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gain_InvestmentCompanyPercentOfPreIncentiveFeeNetInvestmentIncomeThatExceedsNetAssetsThreshold": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Percent of Pre-Incentive Fee Net Investment Income That Exceeds Net Assets Threshold",
        "label": "Investment Company, Percent of Pre-Incentive Fee Net Investment Income That Exceeds Net Assets Threshold",
        "terseLabel": "Pre-incentive fee net investment income exceeds the hurdle rate"
       }
      }
     },
     "localname": "InvestmentCompanyPercentOfPreIncentiveFeeNetInvestmentIncomeThatExceedsNetAssetsThreshold",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentCompanyPercentageOfPreIncentiveFeeNetInvestmentIncomeExceedsTheHurdleRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Percentage Of Pre-incentive Fee Net Investment Income Exceeds The Hurdle Rate",
        "label": "Investment Company, Percentage Of Pre-incentive Fee Net Investment Income Exceeds The Hurdle Rate",
        "terseLabel": "Percentage of pre-incentive fee net investment income is less than the hurdle rate"
       }
      }
     },
     "localname": "InvestmentCompanyPercentageOfPreIncentiveFeeNetInvestmentIncomeExceedsTheHurdleRate",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentCompanyPreIncentiveFeeNetInvestmentIncomePercentThresholdOfNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Pre-Incentive Fee Net Investment Income, Percent Threshold of Net Assets",
        "label": "Investment Company, Pre-Incentive Fee Net Investment Income, Percent Threshold of Net Assets",
        "terseLabel": "Investment company, pre-incentive fee net investment income, percent threshold of net assets"
       }
      }
     },
     "localname": "InvestmentCompanyPreIncentiveFeeNetInvestmentIncomePercentThresholdOfNetAssets",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentCompanySeniorSecurityIndebtednessAssetCoverageAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Company, Senior Security, Indebtedness, Asset Coverage Amount",
        "label": "Investment Company, Senior Security, Indebtedness, Asset Coverage Amount",
        "terseLabel": "Senior security, indebtedness, asset coverage amount"
       }
      }
     },
     "localname": "InvestmentCompanySeniorSecurityIndebtednessAssetCoverageAmount",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_InvestmentOwnedAtCostMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Owned, At Cost",
        "label": "Investment Owned, At Cost [Member]",
        "terseLabel": "Investment Owned, At Cost"
       }
      }
     },
     "localname": "InvestmentOwnedAtCostMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_InvestmentOwnedAtFairValueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Owned, At Fair Value",
        "label": "Investment Owned, At Fair Value [Member]",
        "terseLabel": "Investment Owned, At Fair Value"
       }
      }
     },
     "localname": "InvestmentOwnedAtFairValueMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_InvestmentOwnedFairValueMeasurementInput": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Owned, Fair Value, Measurement Input",
        "label": "Investment Owned, Fair Value, Measurement Input",
        "terseLabel": "Fair value, measurement input"
       }
      }
     },
     "localname": "InvestmentOwnedFairValueMeasurementInput",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "gain_InvestmentOwnedPercentOfCostBasis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Owned, Percent of Cost Basis",
        "label": "Investment Owned, Percent of Cost Basis",
        "terseLabel": "Cost percentage"
       }
      }
     },
     "localname": "InvestmentOwnedPercentOfCostBasis",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentOwnedPercentOfFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Owned, Percent of Fair Value",
        "label": "Investment Owned, Percent of Fair Value",
        "terseLabel": "Fair value percentage"
       }
      }
     },
     "localname": "InvestmentOwnedPercentOfFairValue",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentOwnedPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Owned, Percentage",
        "label": "Investment Owned, Percentage",
        "terseLabel": "Units"
       }
      }
     },
     "localname": "InvestmentOwnedPercentage",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentPortfolioBenchmarkMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Portfolio Benchmark",
        "label": "Investment Portfolio Benchmark [Member]",
        "terseLabel": "Investment Portfolio Benchmark"
       }
      }
     },
     "localname": "InvestmentPortfolioBenchmarkMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_InvestmentPortfolioDebtInvestmentsActualPercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Portfolio, Debt Investments, Actual Percent",
        "label": "Investment Portfolio, Debt Investments, Actual Percent",
        "terseLabel": "Investment portfolio, debt investments, actual percent"
       }
      }
     },
     "localname": "InvestmentPortfolioDebtInvestmentsActualPercent",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/ORGANIZATIONDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentPortfolioDebtInvestmentsIntendedPercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Portfolio, Debt Investments, Intended Percent",
        "label": "Investment Portfolio, Debt Investments, Intended Percent",
        "terseLabel": "Investment portfolio, debt investments, intended percent"
       }
      }
     },
     "localname": "InvestmentPortfolioDebtInvestmentsIntendedPercent",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/ORGANIZATIONDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentPortfolioEquityInvestmentsActualPercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Portfolio, Equity Investments, Actual Percent",
        "label": "Investment Portfolio, Equity Investments, Actual Percent",
        "terseLabel": "Investment portfolio, equity investments, actual percent"
       }
      }
     },
     "localname": "InvestmentPortfolioEquityInvestmentsActualPercent",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/ORGANIZATIONDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentPortfolioEquityInvestmentsIntendedPercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Portfolio, Equity Investments, Intended Percent",
        "label": "Investment Portfolio, Equity Investments, Intended Percent",
        "terseLabel": "Investment portfolio, equity investments, intended percent"
       }
      }
     },
     "localname": "InvestmentPortfolioEquityInvestmentsIntendedPercent",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/ORGANIZATIONDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_InvestmentTypeConcentrationRiskMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment Type Concentration Risk",
        "label": "Investment Type Concentration Risk [Member]",
        "terseLabel": "Investment Type Concentration Risk"
       }
      }
     },
     "localname": "InvestmentTypeConcentrationRiskMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_InvestmentUnaffiliatedAndAffiliatedIssuerExcludingOtherMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment, Unaffiliated and Affiliated Issuer, Excluding Other",
        "label": "Investment, Unaffiliated and Affiliated Issuer, Excluding Other [Member]",
        "terseLabel": "Investment, Unaffiliated and Affiliated Issuer, Excluding Other"
       }
      }
     },
     "localname": "InvestmentUnaffiliatedAndAffiliatedIssuerExcludingOtherMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_JRHobbsCoAndTheMountainCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "J.R. Hobbs Co. and The Mountain Corporation",
        "label": "J.R. Hobbs Co. and The Mountain Corporation [Member]",
        "terseLabel": "J.R. Hobbs Co. and The Mountain Corporation"
       }
      }
     },
     "localname": "JRHobbsCoAndTheMountainCorporationMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_JRHobbsTheMountainAndSFEGHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "J.R. Hobbs, The Mountain, and SFEG Holdings, Inc.",
        "label": "J.R. Hobbs, The Mountain, and SFEG Holdings, Inc. [Member]",
        "terseLabel": "J.R. Hobbs, The Mountain, and SFEG Holdings, Inc."
       }
      }
     },
     "localname": "JRHobbsTheMountainAndSFEGHoldingsIncMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_LeisureAmusementMotionPicturesAndEntertainmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Leisure, Amusement, Motion Pictures, and Entertainment",
        "label": "Leisure, Amusement, Motion Pictures, and Entertainment [Member]",
        "terseLabel": "Leisure, Amusement, Motion Pictures, and Entertainment"
       }
      }
     },
     "localname": "LeisureAmusementMotionPicturesAndEntertainmentMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_LessThanOrEqualTo50OfCommitmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Less Than Or Equal To 50% Of Commitment",
        "label": "Less Than Or Equal To 50% Of Commitment [Member]",
        "terseLabel": "Less than or Equal to 50% of Commitment"
       }
      }
     },
     "localname": "LessThanOrEqualTo50OfCommitmentMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_LondonInterbankOfferedRateLIBOR1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "London Interbank Offered Rate (LIBOR) 1",
        "label": "London Interbank Offered Rate (LIBOR) 1 [Member]",
        "terseLabel": "LIBOR"
       }
      }
     },
     "localname": "LondonInterbankOfferedRateLIBOR1Member",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_MachineryNonAgricultureNonConstructionAndNonElectronicMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Machinery (Non-Agriculture, Non-Construction, and Non-Electronic)",
        "label": "Machinery (Non-Agriculture, Non-Construction, and Non-Electronic) [Member]",
        "terseLabel": "Machinery (Non-Agriculture, Non-Construction, and Non-Electronic)"
       }
      }
     },
     "localname": "MachineryNonAgricultureNonConstructionAndNonElectronicMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_ManagementAndServiceFeesMaximumAsAPercentageOfTotalAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management and Service Fees, Maximum As A Percentage Of Total Assets",
        "label": "Management and Service Fees, Maximum As A Percentage Of Total Assets",
        "terseLabel": "Maximum base management fee paid cannot exceed a percentage of total assets"
       }
      }
     },
     "localname": "ManagementAndServiceFeesMaximumAsAPercentageOfTotalAssets",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_ManagementAndServiceFeesPercentOfFeeCreditsAgainstBaseManagementFee": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management And Service Fees, Percent Of Fee Credits Against Base Management Fee",
        "label": "Management And Service Fees, Percent Of Fee Credits Against Base Management Fee",
        "terseLabel": "Base management fee, percent fee"
       }
      }
     },
     "localname": "ManagementAndServiceFeesPercentOfFeeCreditsAgainstBaseManagementFee",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_MeasurementInputEBITDAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement Input, EBITDA",
        "label": "Measurement Input, EBITDA [Member]",
        "terseLabel": "EBITDA"
       }
      }
     },
     "localname": "MeasurementInputEBITDAMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_MeasurementInputRevenueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement Input, Revenue",
        "label": "Measurement Input, Revenue [Member]",
        "terseLabel": "Revenue"
       }
      }
     },
     "localname": "MeasurementInputRevenueMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_MiningSteelIronAndNonPreciousMetalsTotalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mining, Steel, Iron and Non-Precious Metals Total",
        "label": "Mining, Steel, Iron and Non-Precious Metals Total [Member]",
        "terseLabel": "Mining, Steel, Iron and Non-Precious Metals"
       }
      }
     },
     "localname": "MiningSteelIronAndNonPreciousMetalsTotalMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_NetBaseManagementFee": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net Base Management Fee",
        "label": "Net Base Management Fee",
        "totalLabel": "Net base management fee"
       }
      }
     },
     "localname": "NetBaseManagementFee",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_NetLoanServicingFee": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net Loan Servicing Fee",
        "label": "Net Loan Servicing Fee",
        "totalLabel": "Net loan servicing fee"
       }
      }
     },
     "localname": "NetLoanServicingFee",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_NetRealizedGainsLossesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net Realized Gains (Losses)",
        "label": "Net Realized Gains (Losses) [Abstract]",
        "terseLabel": "REALIZED AND UNREALIZED GAIN (LOSS)"
       }
      }
     },
     "localname": "NetRealizedGainsLossesAbstract",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "gain_NetTotalIncentiveFee": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net Total Incentive Fee",
        "label": "Net Total Incentive Fee",
        "totalLabel": "Net total incentive fee"
       }
      }
     },
     "localname": "NetTotalIncentiveFee",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_NthDegreeInvestmentGroupLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nth Degree Investment Group, LLC",
        "label": "Nth Degree Investment Group, LLC [Member]",
        "terseLabel": "Nth Degree Investment Group, LLC"
       }
      }
     },
     "localname": "NthDegreeInvestmentGroupLLCMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_NumberOfIndustriesInvestedIn": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Industries Invested In",
        "label": "Number Of Industries Invested In",
        "terseLabel": "Number of industries that have made investments"
       }
      }
     },
     "localname": "NumberOfIndustriesInvestedIn",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "gain_NumberOfInvestmentPortfolioCompany": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of Investment Portfolio Company",
        "label": "Number Of Investment Portfolio Company",
        "terseLabel": "Number of investment portfolio company"
       }
      }
     },
     "localname": "NumberOfInvestmentPortfolioCompany",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "gain_NumberOfStatesWherePortfolioCompanyInvestmentsAreLocated": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number Of States Where Portfolio Company Investments Are Located",
        "label": "Number Of States Where Portfolio Company Investments Are Located",
        "terseLabel": "Number of states which have invested in the company location"
       }
      }
     },
     "localname": "NumberOfStatesWherePortfolioCompanyInvestmentsAreLocated",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "gain_OldWorldChristmasIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Old World Christmas, Inc.",
        "label": "Old World Christmas, Inc. [Member]",
        "terseLabel": "Old World Christmas, Inc."
       }
      }
     },
     "localname": "OldWorldChristmasIncMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_OtherDueToAdviserMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Due to Adviser",
        "label": "Other Due to Adviser [Member]",
        "terseLabel": "Other due to Adviser"
       }
      }
     },
     "localname": "OtherDueToAdviserMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_OtherSectorsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Sectors",
        "label": "Other Sectors [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherSectorsMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_PercentageOfAcquiredNonQualifyingAssetsOfTotalAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of Acquired Non-qualifying Assets of Total Assets",
        "label": "Percentage of Acquired Non-qualifying Assets of Total Assets",
        "terseLabel": "Percentage of acquired non-qualifying assets of total assets"
       }
      }
     },
     "localname": "PercentageOfAcquiredNonQualifyingAssetsOfTotalAssets",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_PercentageThresholdOfQualifiedAssetsRepresentingTotalAssetsInOrderToAcquireNonQualifiedAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage Threshold of Qualified Assets Representing Total Assets In Order To Acquire Non-Qualified Assets",
        "label": "Percentage Threshold of Qualified Assets Representing Total Assets In Order To Acquire Non-Qualified Assets",
        "terseLabel": "Percentage threshold of qualified assets representing total assets in order to acquire non-qualified assets"
       }
      }
     },
     "localname": "PercentageThresholdOfQualifiedAssetsRepresentingTotalAssetsInOrderToAcquireNonQualifiedAssets",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "gain_PersonalAndNonDurableConsumerProductsManufacturingOnlyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Personal and Non-Durable Consumer Products (Manufacturing Only)",
        "label": "Personal and Non-Durable Consumer Products (Manufacturing Only) [Member]",
        "terseLabel": "Personal and Non-Durable Consumer Products (Manufacturing Only)"
       }
      }
     },
     "localname": "PersonalAndNonDurableConsumerProductsManufacturingOnlyMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_PreferredEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred Equity",
        "label": "Preferred Equity [Member]",
        "terseLabel": "Preferred Equity",
        "verboseLabel": "Preferred equity"
       }
      }
     },
     "localname": "PreferredEquityMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_PrincipalRepaymentAndMaturityOfInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentOwnedAtCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal Repayment And Maturity Of Investments,",
        "label": "Principal Repayment And Maturity Of Investments",
        "totalLabel": "Total contractual repayments"
       }
      }
     },
     "localname": "PrincipalRepaymentAndMaturityOfInvestments",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_PrincipalRepaymentAndMaturityOfInvestmentsAfterYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails": {
       "order": 4.0,
       "parentTag": "gain_PrincipalRepaymentAndMaturityOfInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal Repayment And Maturity Of Investments, After Year Four",
        "label": "Principal Repayment And Maturity Of Investments, After Year Four",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "PrincipalRepaymentAndMaturityOfInvestmentsAfterYearFour",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_PrincipalRepaymentAndMaturityOfInvestmentsRemainderOfFiscalYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails": {
       "order": 1.0,
       "parentTag": "gain_PrincipalRepaymentAndMaturityOfInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal Repayment And Maturity Of Investments, Remainder of Fiscal Year",
        "label": "Principal Repayment And Maturity Of Investments, Remainder of Fiscal Year",
        "terseLabel": "For the remaining nine months ending March\u00a031, 2024"
       }
      }
     },
     "localname": "PrincipalRepaymentAndMaturityOfInvestmentsRemainderOfFiscalYear",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_PrincipalRepaymentAndMaturityOfInvestmentsYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails": {
       "order": 5.0,
       "parentTag": "gain_PrincipalRepaymentAndMaturityOfInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal Repayment And Maturity Of Investments, Year Four",
        "label": "Principal Repayment And Maturity Of Investments, Year Four",
        "terseLabel": "2028"
       }
      }
     },
     "localname": "PrincipalRepaymentAndMaturityOfInvestmentsYearFour",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_PrincipalRepaymentAndMaturityOfInvestmentsYearOne": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails": {
       "order": 3.0,
       "parentTag": "gain_PrincipalRepaymentAndMaturityOfInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal Repayment And Maturity Of Investments, Year One",
        "label": "Principal Repayment And Maturity Of Investments, Year One",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "PrincipalRepaymentAndMaturityOfInvestmentsYearOne",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_PrincipalRepaymentAndMaturityOfInvestmentsYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails": {
       "order": 6.0,
       "parentTag": "gain_PrincipalRepaymentAndMaturityOfInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal Repayment And Maturity Of Investments, Year Three",
        "label": "Principal Repayment And Maturity Of Investments, Year Three",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "PrincipalRepaymentAndMaturityOfInvestmentsYearThree",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_PrincipalRepaymentAndMaturityOfInvestmentsYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails": {
       "order": 2.0,
       "parentTag": "gain_PrincipalRepaymentAndMaturityOfInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal Repayment And Maturity Of Investments, Year Two",
        "label": "Principal Repayment And Maturity Of Investments, Year Two",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "PrincipalRepaymentAndMaturityOfInvestmentsYearTwo",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_PrintingAndPublishingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Printing and Publishing",
        "label": "Printing and Publishing [Member]",
        "terseLabel": "Printing and Publishing"
       }
      }
     },
     "localname": "PrintingAndPublishingMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_ProceedsFromPrincipalRepaymentsOfInvestmentsOperatingActivity": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from Principal Repayments Of Investments, Operating Activity",
        "label": "Proceeds from Principal Repayments Of Investments, Operating Activity",
        "terseLabel": "Principal repayments of investments"
       }
      }
     },
     "localname": "ProceedsFromPrincipalRepaymentsOfInvestmentsOperatingActivity",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_ProceedsFromSaleAndRecapitalizationOfInvestmentsNetOperatingActivity": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds From Sale and Recapitalization of Investments, Net, Operating Activity",
        "label": "Proceeds From Sale and Recapitalization of Investments, Net, Operating Activity",
        "terseLabel": "Net proceeds from the sale and recapitalization of investments"
       }
      }
     },
     "localname": "ProceedsFromSaleAndRecapitalizationOfInvestmentsNetOperatingActivity",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_RegistrationStatementAndCommonEquityOfferingsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Registration Statement And Common Equity Offerings",
        "label": "Registration Statement And Common Equity Offerings [Text Block]",
        "terseLabel": "REGISTRATION STATEMENT AND COMMON EQUITY OFFERINGS"
       }
      }
     },
     "localname": "RegistrationStatementAndCommonEquityOfferingsTextBlock",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gain_RelatedPartyFeesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Fees",
        "label": "Related Party Fees [Policy Text Block]",
        "terseLabel": "Related Party Fees"
       }
      }
     },
     "localname": "RelatedPartyFeesPolicyTextBlock",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gain_RevolvingLineOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revolving Line of Credit",
        "label": "Revolving Line of Credit [Member]",
        "terseLabel": "Revolving Line of Credit"
       }
      }
     },
     "localname": "RevolvingLineOfCreditMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_SaleOfStockAggregateOfferingPriceAuthorized": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of Stock, Aggregate Offering Price Authorized",
        "label": "Sale of Stock, Aggregate Offering Price Authorized",
        "terseLabel": "Sale of stock, aggregate offering price authorized"
       }
      }
     },
     "localname": "SaleOfStockAggregateOfferingPriceAuthorized",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_SaleOfStockAggregateValueOfSecuritiesAuthorized": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of Stock, Aggregate Value of Securities Authorized",
        "label": "Sale of Stock, Aggregate Value of Securities Authorized",
        "terseLabel": "Securities, aggregate value authorized"
       }
      }
     },
     "localname": "SaleOfStockAggregateValueOfSecuritiesAuthorized",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_SaleOfStockRemainingCapacityOfAggregateValueOfSecuritiesAuthorized": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of Stock, Remaining Capacity of Aggregate Value of Securities Authorized",
        "label": "Sale of Stock, Remaining Capacity of Aggregate Value of Securities Authorized",
        "terseLabel": "Securities, remaining capacity of aggregate value authorized"
       }
      }
     },
     "localname": "SaleOfStockRemainingCapacityOfAggregateValueOfSecuritiesAuthorized",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_SaleOfStockRemainingCapacityOfAuthorizedOfferingPrice": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of Stock, Remaining Capacity of Authorized Offering Price",
        "label": "Sale of Stock, Remaining Capacity of Authorized Offering Price",
        "terseLabel": "Sale of stock, remaining capacity of authorized offering price"
       }
      }
     },
     "localname": "SaleOfStockRemainingCapacityOfAuthorizedOfferingPrice",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_SaleOfStockWeightedAverageGrossPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of Stock, Weighted-Average Gross Price Per Share",
        "label": "Sale of Stock, Weighted-Average Gross Price Per Share",
        "terseLabel": "Sale of stock, weighted-average gross price per share (in USD per share)"
       }
      }
     },
     "localname": "SaleOfStockWeightedAverageGrossPricePerShare",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "gain_ScheduleOfPrincipalBalancesOfUnusedLineOfCreditAndDelayedDrawTermDebtCommitmentsAndGuarantiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Principal Balances of Unused Line of Credit And Delayed Draw Term Debt Commitments And Guaranties",
        "label": "Schedule of Principal Balances of Unused Line of Credit And Delayed Draw Term Debt Commitments And Guaranties [Table Text Block]",
        "terseLabel": "Schedule of Principal Balances of Unused Line of Credit and Delayed Draw Term Debt Commitments and Guaranties"
       }
      }
     },
     "localname": "ScheduleOfPrincipalBalancesOfUnusedLineOfCreditAndDelayedDrawTermDebtCommitmentsAndGuarantiesTableTextBlock",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIESTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gain_SecuredOvernightFinancingRateSOFRMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured Overnight Financing Rate (SOFR)",
        "label": "Secured Overnight Financing Rate (SOFR) [Member]",
        "terseLabel": "Secured Overnight Financing Rate (SOFR)"
       }
      }
     },
     "localname": "SecuredOvernightFinancingRateSOFRMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_SecuredOvernightFinancingRateSOFRThereafterMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured Overnight Financing Rate (SOFR), Thereafter",
        "label": "Secured Overnight Financing Rate (SOFR), Thereafter [Member]",
        "terseLabel": "SOFR, Thereafter"
       }
      }
     },
     "localname": "SecuredOvernightFinancingRateSOFRThereafterMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_SecuredOvernightFinancingRateSOFRTrancheOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured Overnight Financing Rate (SOFR), Tranche One",
        "label": "Secured Overnight Financing Rate (SOFR), Tranche One [Member]",
        "terseLabel": "SOFR, Tranche One"
       }
      }
     },
     "localname": "SecuredOvernightFinancingRateSOFRTrancheOneMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_SecuredOvernightFinancingRateSOFRTrancheTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured Overnight Financing Rate (SOFR), Tranche Two",
        "label": "Secured Overnight Financing Rate (SOFR), Tranche Two [Member]",
        "terseLabel": "SOFR, Tranche Two"
       }
      }
     },
     "localname": "SecuredOvernightFinancingRateSOFRTrancheTwoMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_SeniorSecuritiesDataAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Senior Securities Data",
        "label": "Senior Securities Data [Abstract]",
        "terseLabel": "Senior Securities Data:"
       }
      }
     },
     "localname": "SeniorSecuritiesDataAbstract",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gain_SpecialtyKnivesToolsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Specialty Knives &amp; Tools, LLC",
        "label": "Specialty Knives &amp; Tools, LLC [Member]",
        "terseLabel": "Specialty Knives &amp; Tools, LLC"
       }
      }
     },
     "localname": "SpecialtyKnivesToolsLLCMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_StatementOfAssetsAndLiabilitiesDataAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Statement of Assets and Liabilities Data",
        "label": "Statement of Assets and Liabilities Data [Abstract]",
        "terseLabel": "Statement of Assets and Liabilities Data:"
       }
      }
     },
     "localname": "StatementOfAssetsAndLiabilitiesDataAbstract",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "gain_TelecommunicationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Telecommunications",
        "label": "Telecommunications [Member]",
        "terseLabel": "Telecommunications"
       }
      }
     },
     "localname": "TelecommunicationsMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_TheAdministratorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Administrator",
        "label": "The Administrator [Member]",
        "terseLabel": "Administrator"
       }
      }
     },
     "localname": "TheAdministratorMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_TheAdviserMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Adviser",
        "label": "The Adviser [Member]",
        "terseLabel": "Adviser"
       }
      }
     },
     "localname": "TheAdviserMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_TotalEnterpriseValueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total Enterprise Value",
        "label": "Total Enterprise Value [Member]",
        "terseLabel": "Total Enterprise Value"
       }
      }
     },
     "localname": "TotalEnterpriseValueMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "gain_UncollectibleReceivablesAllowanceMinimumRequiredDayForUncollectibleAdjustment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Uncollectible Receivables Allowance, Minimum Required Day For Uncollectible Adjustment",
        "label": "Uncollectible Receivables Allowance, Minimum Required Day For Uncollectible Adjustment",
        "terseLabel": "Uncollectible receivables allowance, minimum required day for uncollectible adjustment"
       }
      }
     },
     "localname": "UncollectibleReceivablesAllowanceMinimumRequiredDayForUncollectibleAdjustment",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "gain_UnconsolidatedSignificantSubsidiariesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unconsolidated Significant Subsidiaries",
        "label": "Unconsolidated Significant Subsidiaries [Text Block]",
        "terseLabel": "UNCONSOLIDATED SIGNIFICANT SUBSIDIARIES"
       }
      }
     },
     "localname": "UnconsolidatedSignificantSubsidiariesTextBlock",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/UNCONSOLIDATEDSIGNIFICANTSUBSIDIARIES"
     ],
     "xbrltype": "textBlockItemType"
    },
    "gain_UnrealizedGainLossOtherAccumulatedDepreciationBeforeTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": 4.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrealized Gain (Loss), Other, Accumulated Depreciation, Before Tax",
        "label": "Unrealized Gain (Loss), Other, Accumulated Depreciation, Before Tax",
        "terseLabel": "Net unrealized depreciation of other"
       }
      }
     },
     "localname": "UnrealizedGainLossOtherAccumulatedDepreciationBeforeTax",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "gain_YieldAnalysisMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Yield Analysis",
        "label": "Yield Analysis [Member]",
        "terseLabel": "Yield Analysis"
       }
      }
     },
     "localname": "YieldAnalysisMember",
     "nsuri": "http://www.gladstoneinvestment.com/20230630",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_AffiliatedEntityMember": {
     "auth_ref": [
      "r491",
      "r643",
      "r680",
      "r900",
      "r904",
      "r905",
      "r907"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Affiliated Entity [Member]",
        "terseLabel": "Affiliated Entity"
       }
      }
     },
     "localname": "AffiliatedEntityMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ChiefExecutiveOfficerMember": {
     "auth_ref": [
      "r881"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Chief Executive Officer [Member]",
        "terseLabel": "Chief Executive Officer"
       }
      }
     },
     "localname": "ChiefExecutiveOfficerMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CounterpartyNameAxis": {
     "auth_ref": [
      "r120",
      "r121",
      "r223",
      "r252",
      "r333",
      "r649",
      "r651"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]",
        "terseLabel": "Counterparty Name [Axis]"
       }
      }
     },
     "localname": "CounterpartyNameAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [
      "r190",
      "r191",
      "r192"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Domain]",
        "terseLabel": "Investment, Name [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [
      "r159",
      "r668",
      "r899",
      "r921",
      "r922"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Axis]",
        "terseLabel": "Customer [Axis]"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r206",
      "r207",
      "r208",
      "r209",
      "r274",
      "r368",
      "r402",
      "r459",
      "r460",
      "r535",
      "r556",
      "r562",
      "r563",
      "r594",
      "r644",
      "r645",
      "r656",
      "r666",
      "r672",
      "r676",
      "r896",
      "r911",
      "r912",
      "r913",
      "r914",
      "r915",
      "r916"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r206",
      "r207",
      "r208",
      "r209",
      "r274",
      "r368",
      "r402",
      "r459",
      "r460",
      "r535",
      "r556",
      "r562",
      "r563",
      "r594",
      "r644",
      "r645",
      "r656",
      "r666",
      "r672",
      "r676",
      "r896",
      "r911",
      "r912",
      "r913",
      "r914",
      "r915",
      "r916"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [
      "r159",
      "r668",
      "r899",
      "r921",
      "r922"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Domain]",
        "terseLabel": "Customer [Domain]"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Axis]",
        "terseLabel": "Ownership [Axis]"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Domain]",
        "terseLabel": "Ownership [Domain]"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r206",
      "r207",
      "r208",
      "r209",
      "r266",
      "r274",
      "r298",
      "r299",
      "r300",
      "r344",
      "r368",
      "r402",
      "r459",
      "r460",
      "r535",
      "r556",
      "r562",
      "r563",
      "r594",
      "r644",
      "r645",
      "r656",
      "r666",
      "r672",
      "r676",
      "r679",
      "r892",
      "r896",
      "r912",
      "r913",
      "r914",
      "r915",
      "r916"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r206",
      "r207",
      "r208",
      "r209",
      "r266",
      "r274",
      "r298",
      "r299",
      "r300",
      "r344",
      "r368",
      "r402",
      "r459",
      "r460",
      "r535",
      "r556",
      "r562",
      "r563",
      "r594",
      "r644",
      "r645",
      "r656",
      "r666",
      "r672",
      "r676",
      "r679",
      "r892",
      "r896",
      "r912",
      "r913",
      "r914",
      "r915",
      "r916"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "auth_ref": [
      "r120",
      "r121",
      "r223",
      "r252",
      "r333",
      "r650",
      "r651"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Domain]",
        "terseLabel": "Counterparty Name [Domain]"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioForecastMember": {
     "auth_ref": [
      "r275",
      "r878"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast [Member]",
        "terseLabel": "Forecast"
       }
      }
     },
     "localname": "ScenarioForecastMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r134",
      "r275",
      "r855",
      "r878"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]",
        "terseLabel": "Scenario [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r190",
      "r191",
      "r192"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Axis]",
        "terseLabel": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [
      "r157",
      "r158",
      "r449",
      "r453",
      "r455",
      "r541",
      "r558",
      "r579",
      "r613",
      "r634",
      "r635",
      "r636",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r647",
      "r667",
      "r679",
      "r899",
      "r921"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Domain]",
        "terseLabel": "Geographical [Domain]"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r157",
      "r158",
      "r449",
      "r453",
      "r455",
      "r541",
      "r558",
      "r579",
      "r613",
      "r630",
      "r634",
      "r635",
      "r636",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r647",
      "r667",
      "r679",
      "r899",
      "r921"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Axis]",
        "terseLabel": "Geographical [Axis]"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r134",
      "r275",
      "r855",
      "r856",
      "r878"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]",
        "terseLabel": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r881",
      "r906"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Axis]",
        "terseLabel": "Title of Individual [Axis]"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Domain]",
        "terseLabel": "Title of Individual [Domain]"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_WeightedAverageMember": {
     "auth_ref": [
      "r644",
      "r645",
      "r911",
      "r913",
      "r916"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted Average"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r47"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying values as of the balance sheet date of obligations incurred through that date, including liabilities incurred and payable to vendors for goods and services received, taxes, interest, rent and utilities, compensation costs, payroll taxes and fringe benefits (other than pension and postretirement obligations), contractual rights and obligations, and statutory obligations.",
        "label": "Accounts Payable and Accrued Liabilities",
        "terseLabel": "Accounts payable and accrued expenses"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableOtherCurrentAndNoncurrent": {
     "auth_ref": [
      "r48"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligations incurred and payable classified as other.",
        "label": "Accounts Payable, Other",
        "terseLabel": "Fees due to related party"
       }
      }
     },
     "localname": "AccountsPayableOtherCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "auth_ref": [
      "r68"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Accretion (Amortization) of Discounts and Premiums, Investments",
        "negatedTerseLabel": "Amortization of premiums, discounts, and acquisition costs, net"
       }
      }
     },
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r57",
      "r675",
      "r931"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid in Capital",
        "terseLabel": "Capital in excess of par value"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts": {
     "auth_ref": [
      "r8",
      "r76"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": 2.0,
       "parentTag": "gain_InvestmentCompanyCapitalActivityIncreaseDecrease",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease in additional paid in capital (APIC) resulting from direct costs associated with issuing stock. Includes, but is not limited to, legal and accounting fees and direct costs associated with stock issues under a shelf registration.",
        "label": "Adjustments to Additional Paid in Capital, Stock Issued, Issuance Costs",
        "negatedTerseLabel": "Discounts, commissions, and offering costs for issuance of common stock"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdministrativeFeesExpense": {
     "auth_ref": [
      "r44",
      "r491",
      "r937"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for administrative fee from service provided, including, but not limited to, salary, rent, or overhead cost.",
        "label": "Administrative Fees Expense",
        "terseLabel": "Administration fee"
       }
      }
     },
     "localname": "AdministrativeFeesExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCostsAndDiscounts": {
     "auth_ref": [
      "r241",
      "r325",
      "r664",
      "r665",
      "r872"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 4.0,
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt discount (premium) and debt issuance costs.",
        "label": "Amortization of Debt Issuance Costs and Discounts",
        "terseLabel": "Amortization of deferred financing costs and discounts"
       }
      }
     },
     "localname": "AmortizationOfFinancingCostsAndDiscounts",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r82",
      "r100",
      "r117",
      "r151",
      "r153",
      "r155",
      "r193",
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r303",
      "r307",
      "r322",
      "r387",
      "r484",
      "r675",
      "r690",
      "r894",
      "r895",
      "r908"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "TOTAL ASSETS"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNet": {
     "auth_ref": [
      "r7"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net assets (liabilities).",
        "label": "Net Assets",
        "terseLabel": "Net assets at end of period"
       }
      }
     },
     "localname": "AssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsUnderManagementAverageBalance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average carrying amount of assets managed during the period by the investment advisor on behalf of investors.",
        "label": "Assets under Management, Average Balance",
        "terseLabel": "Average total assets subject to base management fee"
       }
      }
     },
     "localname": "AssetsUnderManagementAverageBalance",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287",
      "r288",
      "r289",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "terseLabel": "Unaudited Interim Financial Statements and Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r23",
      "r98",
      "r648"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Cash and Cash Equivalents [Member]",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r23",
      "r66",
      "r113"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "periodEndLabel": "CASH, CASH EQUIVALENTS, RESTRICTED CASH, AND RESTRICTED CASH EQUIVALENTS, END OF PERIOD",
        "periodStartLabel": "CASH, CASH EQUIVALENTS, RESTRICTED CASH, AND RESTRICTED CASH EQUIVALENTS, BEGINNING OF PERIOD"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r2",
      "r66"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "NET (DECREASE) INCREASE IN CASH, CASH EQUIVALENTS, RESTRICTED CASH, AND RESTRICTED CASH EQUIVALENTS"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r94",
      "r101",
      "r102",
      "r103",
      "r117",
      "r138",
      "r139",
      "r141",
      "r143",
      "r149",
      "r150",
      "r193",
      "r210",
      "r212",
      "r213",
      "r214",
      "r217",
      "r218",
      "r250",
      "r251",
      "r254",
      "r257",
      "r264",
      "r322",
      "r416",
      "r417",
      "r418",
      "r419",
      "r431",
      "r434",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r472",
      "r495",
      "r523",
      "r621",
      "r622",
      "r623",
      "r624",
      "r625",
      "r854",
      "r873",
      "r879"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]",
        "terseLabel": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CollateralAxis": {
     "auth_ref": [
      "r658"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Axis]",
        "terseLabel": "Collateral Held [Axis]"
       }
      }
     },
     "localname": "CollateralAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollateralDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Domain]",
        "terseLabel": "Collateral Held [Domain]"
       }
      }
     },
     "localname": "CollateralDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CollateralPledgedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pledge of specific property to serve as protection against default.",
        "label": "Collateral Pledged [Member]",
        "terseLabel": "Collateral Pledged"
       }
      }
     },
     "localname": "CollateralPledgedMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r18",
      "r50",
      "r388",
      "r471"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments and contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r71",
      "r204",
      "r205",
      "r632",
      "r893"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "COMMITMENTS AND CONTINGENCIES"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIES"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockDividendsPerShareCashPaid": {
     "auth_ref": [
      "r76"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends paid during the period for each share of common stock outstanding.",
        "label": "Common Stock, Dividends, Per Share, Cash Paid",
        "terseLabel": "Common stock dividends paid (in USD per share)"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareCashPaid",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSDividendsDeclaredDetails",
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r677",
      "r678",
      "r679",
      "r681",
      "r682",
      "r683",
      "r684",
      "r876",
      "r877",
      "r901",
      "r925",
      "r942"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock, $0.001 par value per share"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r56"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock, par value (in USD per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r56",
      "r472"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r56"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, shares, issued (In shares)"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r8",
      "r56",
      "r472",
      "r490",
      "r942",
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "terseLabel": "Common stock, shares, outstanding (in shares)",
        "verboseLabel": "Common stock outstanding at end of period (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r56",
      "r390",
      "r675"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Common stock, $0.001 par value per share, 100,000,000 shares authorized, 33,591,505 and 33,591,505 shares issued and outstanding, respectively"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r24",
      "r26",
      "r38",
      "r39",
      "r159",
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]",
        "terseLabel": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r24",
      "r26",
      "r38",
      "r39",
      "r159",
      "r405",
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]",
        "terseLabel": "Concentration Risk Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r24",
      "r26",
      "r38",
      "r39",
      "r159",
      "r631",
      "r857"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk Type [Axis]",
        "terseLabel": "Concentration Risk Type [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r24",
      "r26",
      "r38",
      "r39",
      "r159"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk, Percentage",
        "terseLabel": "Concentration risk, percentage",
        "verboseLabel": "Concentration risk, percentage"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r24",
      "r26",
      "r38",
      "r39",
      "r159",
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]",
        "terseLabel": "Concentration Risk Type [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditFacilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Axis]",
        "terseLabel": "Credit Facility [Axis]"
       }
      }
     },
     "localname": "CreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditFacilityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Domain]",
        "terseLabel": "Credit Facility [Domain]"
       }
      }
     },
     "localname": "CreditFacilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CustomerConcentrationRiskMember": {
     "auth_ref": [
      "r25",
      "r159"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the percentage that revenues in the period from one or more significant customers is to net revenues, as defined by the entity, such as total net revenues, product line revenues, segment revenues. The risk is the materially adverse effects of loss of a significant customer.",
        "label": "Customer Concentration Risk [Member]",
        "terseLabel": "Customer Concentration Risk"
       }
      }
     },
     "localname": "CustomerConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtAndCapitalLeaseObligationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt and Lease Obligation [Abstract]",
        "terseLabel": "Borrowings:"
       }
      }
     },
     "localname": "DebtAndCapitalLeaseObligationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtAndEquitySecuritiesRealizedGainLoss": {
     "auth_ref": [
      "r506",
      "r507",
      "r598",
      "r599",
      "r600",
      "r870",
      "r871"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment in debt and equity securities.",
        "label": "Debt and Equity Securities, Realized Gain (Loss)",
        "negatedTerseLabel": "Net realized gain on investments",
        "terseLabel": "Net realized gain (loss)"
       }
      }
     },
     "localname": "DebtAndEquitySecuritiesRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss": {
     "auth_ref": [
      "r512",
      "r513",
      "r601",
      "r602",
      "r603",
      "r870",
      "r871"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment in debt and equity securities.",
        "label": "Debt and Equity Securities, Unrealized Gain (Loss)",
        "negatedTerseLabel": "Net unrealized depreciation (appreciation) of investments and other",
        "terseLabel": "Net unrealized appreciation (depreciation)"
       }
      }
     },
     "localname": "DebtAndEquitySecuritiesUnrealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r72",
      "r115",
      "r219",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r235",
      "r242",
      "r243",
      "r245"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "BORROWINGS"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r12",
      "r53",
      "r54",
      "r83",
      "r84",
      "r122",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r226",
      "r231",
      "r232",
      "r233",
      "r234",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r326",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r874"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "terseLabel": "Debt instrument, basis spread on variable rate"
       }
      }
     },
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r12",
      "r84",
      "r246"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-Term Debt, Gross",
        "terseLabel": "Total borrowings, at cost",
        "verboseLabel": "Aggregate Principal Amount"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r41",
      "r43",
      "r220",
      "r326",
      "r662",
      "r663"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Notes Outstanding"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r16",
      "r221"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Interest Rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [
      "r122",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r226",
      "r231",
      "r232",
      "r233",
      "r234",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r244",
      "r326",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r874"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r17",
      "r122",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r226",
      "r231",
      "r232",
      "r233",
      "r234",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r326",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r874"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]",
        "terseLabel": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r17",
      "r32",
      "r34",
      "r40",
      "r41",
      "r43",
      "r51",
      "r74",
      "r75",
      "r122",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r226",
      "r231",
      "r232",
      "r233",
      "r234",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r244",
      "r326",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r874"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-Term Debt Instruments [Table]",
        "terseLabel": "Schedule of Long-Term Debt Instruments [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Debt Instrument, Term",
        "terseLabel": "Term"
       }
      }
     },
     "localname": "DebtInstrumentTerm",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r40",
      "r43",
      "r897"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "negatedTerseLabel": "Less: Unamortized Discounts"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet": {
     "auth_ref": [
      "r42",
      "r231",
      "r247",
      "r662",
      "r663"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unamortized debt discount (premium) and debt issuance costs.",
        "label": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net",
        "terseLabel": "Borrowings outstanding at cost"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesMember": {
     "auth_ref": [
      "r30",
      "r679",
      "r947"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt instrument issued by corporations, governments and governmental agencies, municipalities, and other institutions.",
        "label": "Debt Securities [Member]",
        "terseLabel": "Debt Securities"
       }
      }
     },
     "localname": "DebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "auth_ref": [
      "r42",
      "r897"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
        "label": "Debt Issuance Costs, Net",
        "terseLabel": "Deferred financing costs, net"
       }
      }
     },
     "localname": "DeferredFinanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendIncomeOperatingPaidInCash": {
     "auth_ref": [
      "r496",
      "r604",
      "r607"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend income from investment paid in cash, classified as operating.",
        "label": "Dividend Income, Operating, Paid in Cash",
        "terseLabel": "Dividend income"
       }
      }
     },
     "localname": "DividendIncomeOperatingPaidInCash",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsCommonStock": {
     "auth_ref": [
      "r3",
      "r76"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash, stock and payment-in-kind (PIK).",
        "label": "Dividends, Common Stock",
        "terseLabel": "Cash distributions to common stockholders"
       }
      }
     },
     "localname": "DividendsCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "BASIC AND DILUTED PER COMMON SHARE:"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r107",
      "r127",
      "r128",
      "r129",
      "r130",
      "r131",
      "r136",
      "r138",
      "r141",
      "r142",
      "r143",
      "r147",
      "r311",
      "r312",
      "r382",
      "r399",
      "r653"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "verboseLabel": "Net investment income, basic (in USD per share)"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r107",
      "r127",
      "r128",
      "r129",
      "r130",
      "r131",
      "r138",
      "r141",
      "r142",
      "r143",
      "r147",
      "r311",
      "r312",
      "r382",
      "r399",
      "r653"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "verboseLabel": "Net investment income, diluted (in USD per share)"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r135",
      "r144",
      "r145",
      "r146"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "NET INCREASE (DECREASE) IN NET ASSETS RESULTING FROM OPERATIONS PER WEIGHTED-AVERAGE COMMON SHARE"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHARE"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Employee Stock Option [Member]",
        "terseLabel": "Employee Stock Option"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityMethodInvestmentDividendsOrDistributions": {
     "auth_ref": [
      "r4",
      "r6",
      "r62",
      "r392"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities.",
        "label": "Proceeds from Equity Method Investment, Distribution",
        "terseLabel": "Proceeds from equity"
       }
      }
     },
     "localname": "EquityMethodInvestmentDividendsOrDistributions",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesByIndustryAxis": {
     "auth_ref": [
      "r449",
      "r453",
      "r456",
      "r541",
      "r558",
      "r579",
      "r613",
      "r657",
      "r679"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by industry sector, examples include but are not limited to, commercial, industrial, agricultural, financial services, technology, healthcare and real estate.",
        "label": "Industry Sector [Axis]",
        "terseLabel": "Industry Sector [Axis]"
       }
      }
     },
     "localname": "EquitySecuritiesByIndustryAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquitySecuritiesFvNiCost": {
     "auth_ref": [
      "r385"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentOwnedAtCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Excludes equity method investment and investment in equity security without readily determinable fair value.",
        "label": "Equity Securities, FV-NI, Cost",
        "terseLabel": "Investments in equity securities"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiCost",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFvNiRealizedGainLoss": {
     "auth_ref": [
      "r401",
      "r889"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI, Realized Gain (Loss)",
        "terseLabel": "Realized gain on preferred equity"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesIndustryMember": {
     "auth_ref": [
      "r449",
      "r453",
      "r456",
      "r541",
      "r558",
      "r579",
      "r613",
      "r679"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Industry sector consisting of government, private and corporate entities engaged in business activities, including but not limited to, commercial, industrial, agricultural, financial services, technology, healthcare and real estate.",
        "label": "Industry Sector [Domain]",
        "terseLabel": "Industry Sector [Domain]"
       }
      }
     },
     "localname": "EquitySecuritiesIndustryMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquitySecuritiesMember": {
     "auth_ref": [
      "r30",
      "r685",
      "r686",
      "r687",
      "r947"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ownership interest or right to acquire or dispose of ownership interest in corporations and other legal entities for which ownership interest is represented by shares of common or preferred stock, convertible securities, stock rights, or stock warrants.",
        "label": "Equity Securities [Member]",
        "terseLabel": "Equity Securities"
       }
      }
     },
     "localname": "EquitySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EscrowDeposit": {
     "auth_ref": [
      "r46",
      "r633"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The designation of funds furnished by a borrower to a lender to assure future payments of the borrower's real estate taxes and insurance obligations with respect to a mortgaged property. Escrow deposits may be made for a variety of other purposes such as earnest money and contingent payments. This element excludes replacement reserves which are an escrow separately provided for within the US GAAP taxonomy.",
        "label": "Escrow Deposit",
        "terseLabel": "Escrow holdbacks"
       }
      }
     },
     "localname": "EscrowDeposit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [
      "r314",
      "r315",
      "r320"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r314",
      "r315",
      "r320"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value, Recurring and Nonrecurring [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]",
        "terseLabel": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table]",
        "terseLabel": "Fair Value Measurement Inputs and Valuation Techniques [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]",
        "terseLabel": "Schedule of Fair Value Measurement Inputs and Valuation Techniques"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock": {
     "auth_ref": [
      "r35",
      "r79"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, by class that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Fair Value, Assets Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Schedule of Fair Value, Assets Measured on Recurring Basis"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Asset Class [Domain]",
        "terseLabel": "Asset Class [Domain]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r10",
      "r37"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of assets using significant unobservable inputs (level 3). Such reconciliation, separately presenting changes during the period, at a minimum, may include, but is not limited to: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income, and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
        "terseLabel": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r10",
      "r37"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r35",
      "r37"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]",
        "terseLabel": "Asset Class [Axis]"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r233",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r315",
      "r341",
      "r342",
      "r343",
      "r662",
      "r663",
      "r669",
      "r670",
      "r671"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r37",
      "r78"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Liability Class [Axis]",
        "terseLabel": "Liability Class [Axis]"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r314",
      "r315",
      "r317",
      "r318",
      "r321"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r233",
      "r267",
      "r272",
      "r315",
      "r341",
      "r669",
      "r670",
      "r671"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Quoted Prices in Active Markets for Identical Assets (Level 1)"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r233",
      "r267",
      "r272",
      "r315",
      "r342",
      "r662",
      "r663",
      "r669",
      "r670",
      "r671"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Significant Other Observable Inputs (Level 2)"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r233",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r315",
      "r343",
      "r662",
      "r663",
      "r669",
      "r670",
      "r671"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Significant Unobservable Inputs (Level 3)"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value by Liability Class [Domain]",
        "terseLabel": "Fair Value by Liability Class [Domain]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r10",
      "r37"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes 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 liability.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1": {
     "auth_ref": [
      "r319"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings",
        "terseLabel": "Total gain (loss)"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues": {
     "auth_ref": [
      "r36"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of issuances of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Issuances",
        "terseLabel": "Issuances / originations"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases, (Sales), Issuances, (Settlements) [Abstract]",
        "terseLabel": "New investments, repayments and settlements:"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales": {
     "auth_ref": [
      "r36"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of sale of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales",
        "negatedTerseLabel": "Sales"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements": {
     "auth_ref": [
      "r36"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of settlement of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Settlements",
        "negatedTerseLabel": "Settlements / repayments"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfer of financial instrument classified as an asset into (out of) level 3 of the fair value hierarchy.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net",
        "terseLabel": "Transfers"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r10"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "periodEndLabel": "Ending balance",
        "terseLabel": "Beginning balance"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases": {
     "auth_ref": [
      "r36"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Purchases",
        "terseLabel": "Borrowings"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales": {
     "auth_ref": [
      "r36"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of sales of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Sales",
        "negatedTerseLabel": "Repayments"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "auth_ref": [
      "r10"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r233",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r272",
      "r341",
      "r342",
      "r343",
      "r662",
      "r663",
      "r669",
      "r670",
      "r671"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r313",
      "r321"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Fair Value, Recurring"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]",
        "terseLabel": "Fair Value Measurements of Borrowings Using Significant Unobservable Inputs (Level 3) Reported in Consolidated Statements of Assets and Liabilities"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FeeIncome": {
     "auth_ref": [
      "r934"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fee income including, but not limited to, managerial assistance, servicing of investment, and origination and commitment fees.",
        "label": "Fee Income",
        "terseLabel": "Success fee income"
       }
      }
     },
     "localname": "FeeIncome",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r160",
      "r161",
      "r162",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r173",
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r185",
      "r186",
      "r187",
      "r188",
      "r189",
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r201",
      "r244",
      "r262",
      "r309",
      "r338",
      "r339",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r395",
      "r660",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r885",
      "r886",
      "r887",
      "r888"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffAfterRecovery": {
     "auth_ref": [
      "r96",
      "r659",
      "r891"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after recovery, of writeoff of financing receivable, charged against allowance for credit loss.",
        "label": "Financing Receivable, Allowance for Credit Loss, Writeoff, after Recovery",
        "terseLabel": "Bad debt (recoveries) expense, net"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossWriteoffAfterRecovery",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GovernmentAssistanceAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Government Assistance [Abstract]"
       }
      }
     },
     "localname": "GovernmentAssistanceAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GovernmentAssistanceLineItems": {
     "auth_ref": [
      "r324"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Government Assistance [Line Items]",
        "terseLabel": "Government Assistance [Line Items]"
       }
      }
     },
     "localname": "GovernmentAssistanceLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GovernmentAssistanceTable": {
     "auth_ref": [
      "r324"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about government assistance.",
        "label": "Government Assistance [Table]",
        "terseLabel": "Government Assistance [Table]"
       }
      }
     },
     "localname": "GovernmentAssistanceTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GrossInvestmentIncomeOperating": {
     "auth_ref": [
      "r396",
      "r688",
      "r935"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before investment expense, of income earned from investments in securities and real estate. Includes, but is not limited to, real estate investment, policy loans, dividends, and interest. Excludes realized gain (loss) on investments.",
        "label": "Gross Investment Income, Operating",
        "totalLabel": "Total investment income"
       }
      }
     },
     "localname": "GrossInvestmentIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncentiveFeeExpense": {
     "auth_ref": [
      "r44",
      "r937"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0
      },
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails": {
       "order": 2.0,
       "parentTag": "gain_NetTotalIncentiveFee",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for incentive fee based on performance under arrangement to manage operations, including, but not limited to, investment.",
        "label": "Incentive Fee Expense",
        "terseLabel": "Incentive fee",
        "totalLabel": "Total incentive fee"
       }
      }
     },
     "localname": "IncentiveFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerBasicShare": {
     "auth_ref": [
      "r61",
      "r85",
      "r86",
      "r107",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r138",
      "r141",
      "r142",
      "r312",
      "r382",
      "r920"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) from continuing operations per each share of common stock or unit outstanding during the reporting period.",
        "label": "Income (Loss) from Continuing Operations, Per Basic Share",
        "terseLabel": "Net increase in net assets resulting from operations per weighted-average common share, basic (in USD per share)",
        "verboseLabel": "Net increase in net assets resulting from operations, basic (in USD per share)"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsPerBasicShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHAREDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare": {
     "auth_ref": [
      "r61",
      "r107",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r138",
      "r141",
      "r142",
      "r143",
      "r312",
      "r382",
      "r920"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) derived from continuing operations during the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Income (Loss) from Continuing Operations, Per Diluted Share",
        "terseLabel": "Net increase in net assets resulting from operations per weighted-average common share, diluted (in USD per share)",
        "verboseLabel": "Net increase in net assets resulting from operations, diluted (in USD per share)"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsPerDilutedShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHAREDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r202",
      "r203",
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]",
        "terseLabel": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r203",
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]",
        "terseLabel": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.",
        "label": "Increase (Decrease) in Accounts Payable and Accrued Liabilities",
        "terseLabel": "Increase in accounts payable and accrued expenses"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount due from borrowers for interest payments.",
        "label": "Increase (Decrease) in Accrued Interest Receivable, Net",
        "negatedTerseLabel": "(Increase) decrease in interest receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedInterestReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDueToRelatedParties": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of obligations to be paid to the following types of related parties: a parent company and its subsidiaries; subsidiaries of a common parent; an entity and trust for the benefit of employees, such as pension and profit-sharing trusts that are managed by or under the trusteeship of the entities' management; an entity and its principal owners, management, or member of their immediate families; affiliates; or other parties with the ability to exert significant influence.",
        "label": "Increase (Decrease) in Due to Related Parties",
        "terseLabel": "(Decrease) increase in fee due to related party"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueToRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInterestPayableNet": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in interest payable, which represents the amount owed to note holders, bond holders, and other parties for interest earned on loans or credit extended to the reporting entity.",
        "label": "Increase (Decrease) in Interest Payable, Net",
        "terseLabel": "Increase (decrease) in interest payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInInterestPayableNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Liabilities [Abstract]",
        "terseLabel": "Changes in assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssets": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating assets classified as other.",
        "label": "Increase (Decrease) in Other Operating Assets",
        "negatedTerseLabel": "Increase in other assets, net"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingLiabilities": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating liabilities classified as other.",
        "label": "Increase (Decrease) in Other Operating Liabilities",
        "terseLabel": "Increase in other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseBorrowings": {
     "auth_ref": [
      "r88"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 7.0,
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest expense on all borrowings.",
        "label": "Interest Expense, Borrowings",
        "terseLabel": "Interest expense on borrowings"
       }
      }
     },
     "localname": "InterestExpenseBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeOperatingPaidInCash": {
     "auth_ref": [
      "r496",
      "r604",
      "r607"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 3.0,
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income from investment paid in cash, classified as operating.",
        "label": "Interest Income, Operating, Paid in Cash",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InterestIncomeOperatingPaidInCash",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r108",
      "r111",
      "r112"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "CASH PAID FOR INTEREST"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r48",
      "r917"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables.",
        "label": "Interest Payable",
        "terseLabel": "Interest payable"
       }
      }
     },
     "localname": "InterestPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateRiskMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest Rate Risk [Member]"
       }
      }
     },
     "localname": "InterestRateRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r868",
      "r945"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable.",
        "label": "Interest Receivable",
        "terseLabel": "Interest receivable"
       }
      }
     },
     "localname": "InterestReceivable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentAffiliatedIssuerControlledMember": {
     "auth_ref": [
      "r408",
      "r428",
      "r466",
      "r468",
      "r475",
      "r489",
      "r496",
      "r497",
      "r607"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Controlled affiliated issuer of investment.",
        "label": "Investment, Affiliated Issuer, Controlled [Member]",
        "terseLabel": "Control Investments"
       }
      }
     },
     "localname": "InvestmentAffiliatedIssuerControlledMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember": {
     "auth_ref": [
      "r408",
      "r428",
      "r467",
      "r469",
      "r476",
      "r489",
      "r496",
      "r497",
      "r587",
      "r598",
      "r599",
      "r601",
      "r602",
      "r606",
      "r607",
      "r611",
      "r612",
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncontrolled affiliated issuer of investment.",
        "label": "Investment, Affiliated Issuer, Noncontrolled [Member]",
        "terseLabel": "Affiliate Investments"
       }
      }
     },
     "localname": "InvestmentAffiliatedIssuerNoncontrolledMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentBasisSpreadVariableRate": {
     "auth_ref": [
      "r536",
      "r557",
      "r561",
      "r595"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage added to reference rate used to compute variable rate on investment.",
        "label": "Investment, Basis Spread, Variable Rate",
        "terseLabel": "Investment, reference rate and spread"
       }
      }
     },
     "localname": "InvestmentBasisSpreadVariableRate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company [Abstract]"
       }
      }
     },
     "localname": "InvestmentCompanyAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyCapitalShareTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Capital Share Transaction, Increase (Decrease) [Abstract]",
        "terseLabel": "CAPITAL ACTIVITY"
       }
      }
     },
     "localname": "InvestmentCompanyCapitalShareTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyCommittedCapital": {
     "auth_ref": [
      "r436"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of funds committed to investment company from investors.",
        "label": "Investment Company, Committed Capital",
        "terseLabel": "Total"
       }
      }
     },
     "localname": "InvestmentCompanyCommittedCapital",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIESScheduleofPrincipalBalancesofUnusedLineofCreditandDelayedDrawTermDebtCommitmentsandGuarantiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyContractualFeeWaived": {
     "auth_ref": [
      "r426",
      "r497"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fee contractually waived by investment company.",
        "label": "Investment Company, Contractual Fee Waived",
        "negatedTerseLabel": "Credits to base management fee \u2013 loan servicing fee"
       }
      }
     },
     "localname": "InvestmentCompanyContractualFeeWaived",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation": {
     "auth_ref": [
      "r422"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 3.0,
       "parentTag": "us-gaap_RetainedEarningsAccumulatedDeficit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed earnings (deficit) from unrealized appreciation (depreciation) of investment company.",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Appreciation (Depreciation)",
        "terseLabel": "Cumulative net unrealized appreciation of investments"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss": {
     "auth_ref": [
      "r421"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 1.0,
       "parentTag": "us-gaap_RetainedEarningsAccumulatedDeficit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed earnings (deficit) from ordinary income (loss) of investment company.",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Ordinary Income (Loss)",
        "terseLabel": "Overdistributed net investment income"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributionLongTermCapitalGain": {
     "auth_ref": [
      "r427",
      "r627"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyDividendDistribution",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend distribution by investment company from long-term capital gain.",
        "label": "Investment Company, Distribution, Long-Term Capital Gain",
        "negatedLabel": "Distributions to common stockholders from net realized gains ($0.15 and $0.25 per share, respectively)",
        "verboseLabel": "Distributions to common stockholders from net realized gains"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionLongTermCapitalGain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
      "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributionOrdinaryIncome": {
     "auth_ref": [
      "r427",
      "r626"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyDividendDistribution",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend distribution by investment company from ordinary income.",
        "label": "Investment Company, Distribution, Ordinary Income",
        "negatedLabel": "Distributions to common stockholders from net investment income ($0.21 and $0.10 per share, respectively)",
        "verboseLabel": "Distributions to common stockholders from ordinary income"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionOrdinaryIncome",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS",
      "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributionToShareholdersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Distribution to Shareholders [Abstract]",
        "terseLabel": "DISTRIBUTIONS"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionToShareholdersAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyDistributionToShareholdersPerShare": {
     "auth_ref": [
      "r427",
      "r442"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of distribution to shareholders. Includes, but is not limited to, dividend and capital gain. Excludes distribution for tax return of capital.",
        "label": "Investment Company, Distribution to Shareholders, Per Share",
        "negatedTotalLabel": "Total from equity capital activity (in dollars per share)"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionToShareholdersPerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyDividendDistribution": {
     "auth_ref": [
      "r427",
      "r430",
      "r431",
      "r522"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquityPeriodIncreaseDecrease",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend distribution from ordinary income and capital gain. Excludes distribution for tax return of capital.",
        "label": "Investment Company, Dividend Distribution",
        "negatedTotalLabel": "Net decrease in net assets from distributions"
       }
      }
     },
     "localname": "InvestmentCompanyDividendDistribution",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyExcessExpenseReimbursable": {
     "auth_ref": [
      "r425"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of carryover of excess expense potentially reimbursable to adviser but not recorded as liability by investment company.",
        "label": "Investment Company, Reimbursable Excess Expense",
        "terseLabel": "Investment company, excess expense reimbursable"
       }
      }
     },
     "localname": "InvestmentCompanyExcessExpenseReimbursable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement": {
     "auth_ref": [
      "r936"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after reimbursement and fee waiver, of expense for generation of investment income classified as operating.",
        "label": "Investment Company, Expense, after Reduction of Fee Waiver and Reimbursement",
        "totalLabel": "Total expenses, net of credits to fees"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyExpenseRatioAfterIncentiveAllocation": {
     "auth_ref": [
      "r926"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of expense, after incentive allocation, to average net assets.",
        "label": "Investment Company, Expense Ratio after Incentive Allocation",
        "terseLabel": "Ratio of net expenses to average net assets \u2013 annualized"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseRatioAfterIncentiveAllocation",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyExpenseRatioBeforeIncentiveAllocation": {
     "auth_ref": [
      "r433"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage, before incentive allocation, of expense to average net assets.",
        "label": "Investment Company, Expense Ratio before Incentive Allocation",
        "terseLabel": "Ratio of expenses to average net assets - annualized"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseRatioBeforeIncentiveAllocation",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Investment Company, Financial Highlights [Roll Forward]",
        "terseLabel": "Investment Company, Financial Highlights [Roll Forward]"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsRollForward",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTableTextBlock": {
     "auth_ref": [
      "r432"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financial highlights. Includes, but is not limited to, per share information, income and expense ratios, total return, capital commitment and fee waiver.",
        "label": "Investment Company, Financial Highlights [Table Text Block]",
        "terseLabel": "Schedule of Investment Company, Financial Highlights"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTextBlock": {
     "auth_ref": [
      "r426",
      "r432",
      "r435",
      "r440"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of financial highlights reported by investment company.",
        "label": "Investment Company, Financial Highlights [Text Block]",
        "terseLabel": "FINANCIAL HIGHLIGHTS"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyFinancialRatiosAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Financial Ratios [Abstract]",
        "terseLabel": "Ratios/Supplemental Data:"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialRatiosAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare": {
     "auth_ref": [
      "r441"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of investment income (loss) and realized and unrealized gain (loss) on investment.",
        "label": "Investment Company, Investment Income (Loss) from Operations, Per Share",
        "totalLabel": "Total from investment operations (in USD per share)"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Investment Income (Loss) from Operations, Per Share [Abstract]",
        "terseLabel": "Income from investment operations"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare": {
     "auth_ref": [
      "r439"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount, after investment expense, of dividend and interest investment income (loss).",
        "label": "Investment Company, Investment Income (Loss), Per Share",
        "verboseLabel": "Net investment income (in USD per share)"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossPerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossRatioAfterIncentiveAllocation": {
     "auth_ref": [
      "r926"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage, after incentive allocation, of investment income (loss) to average net assets.",
        "label": "Investment Company, Investment Income (Loss) Ratio, after Incentive Allocation",
        "terseLabel": "Ratio of net investment income (loss) to average net assets \u2013 annualized"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossRatioAfterIncentiveAllocation",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossRatioBeforeIncentiveAllocation": {
     "auth_ref": [
      "r433"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage, before incentive allocation, of investment income (loss) to average net assets.",
        "label": "Investment Company, Investment Income (Loss) Ratio, before Incentive Allocation",
        "terseLabel": "Ratio of net investment income (loss) to average net assets \u2013 annualized"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossRatioBeforeIncentiveAllocation",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyMarketValuePerShare": {
     "auth_ref": [
      "r928"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Investment Company, Market Value, Per Share",
        "periodEndLabel": "Per common share market value at end of period (in USD per share)",
        "periodStartLabel": "Per common share market value at beginning of period (in USD per share)"
       }
      }
     },
     "localname": "InvestmentCompanyMarketValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetsRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Investment Company, Net Assets [Roll Forward]",
        "terseLabel": "Investment Company, Net Assets [Roll Forward]"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsRollForward",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanySeniorSecurityIndebtednessAssetCoverageRatio": {
     "auth_ref": [
      "r860"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of total assets less all liabilities and indebtedness not represented by senior security, to senior security representing indebtedness.",
        "label": "Investment Company, Senior Security, Indebtedness, Asset Coverage Ratio",
        "terseLabel": "Indebtedness asset coverage on our senior securities"
       }
      }
     },
     "localname": "InvestmentCompanySeniorSecurityIndebtednessAssetCoverageRatio",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyTotalReturnMarketValue": {
     "auth_ref": [
      "r927"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage increase (decrease) in portfolio market value assuming reinvestment of dividend and capital gain distribution.",
        "label": "Investment Company, Total Return, Market Value",
        "terseLabel": "Total investment return"
       }
      }
     },
     "localname": "InvestmentCompanyTotalReturnMarketValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyVoluntaryFeeWaived": {
     "auth_ref": [
      "r426",
      "r497"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fee voluntarily waived by investment company.",
        "label": "Investment Company, Voluntary Fee Waived",
        "negatedTerseLabel": "Credits to fees from Adviser - other"
       }
      }
     },
     "localname": "InvestmentCompanyVoluntaryFeeWaived",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentIdentifierAxis": {
     "auth_ref": [
      "r447",
      "r448",
      "r449",
      "r454",
      "r455",
      "r456",
      "r461",
      "r462",
      "r533",
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r549",
      "r550",
      "r551",
      "r553",
      "r555",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r567",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r576",
      "r577",
      "r578",
      "r581",
      "r582",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r599",
      "r600",
      "r602",
      "r603",
      "r604",
      "r605",
      "r607",
      "r608",
      "r609",
      "r610",
      "r612",
      "r614",
      "r615",
      "r616",
      "r679"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of investment in security, including, but not limited to, name, title, and other identifying information.",
        "label": "Investment, Identifier [Axis]",
        "terseLabel": "Investment, Identifier [Axis]"
       }
      }
     },
     "localname": "InvestmentIdentifierAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentIncomeInvestmentExpense": {
     "auth_ref": [
      "r65",
      "r688",
      "r919"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 3.0,
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses related to the generation of investment income.",
        "label": "Investment Income, Investment Expense",
        "totalLabel": "Expenses before credits from Adviser"
       }
      }
     },
     "localname": "InvestmentIncomeInvestmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax": {
     "auth_ref": [
      "r429",
      "r505",
      "r520",
      "r689"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": 2.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after expense and tax, of investment income classified as operating. Excludes realized and unrealized gain (loss) on investment.",
        "label": "Investment Income, Operating, after Expense and Tax",
        "terseLabel": "Net investment income"
       }
      }
     },
     "localname": "InvestmentIncomeOperatingAfterExpenseAndTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentInterestRate": {
     "auth_ref": [
      "r535",
      "r536",
      "r556",
      "r557",
      "r561",
      "r562",
      "r594",
      "r595",
      "r679",
      "r883",
      "r884"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate of interest on investment.",
        "label": "Investment Interest Rate",
        "terseLabel": "Investment interest rate"
       }
      }
     },
     "localname": "InvestmentInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentInterestRatePaidInCash": {
     "auth_ref": [
      "r948",
      "r950",
      "r952",
      "r954"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate of interest paid in cash on investment.",
        "label": "Investment, Interest Rate, Paid in Cash",
        "terseLabel": "Investment, interest rate, paid in cash"
       }
      }
     },
     "localname": "InvestmentInterestRatePaidInCash",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentIssuerAffiliationAxis": {
     "auth_ref": [
      "r408",
      "r428",
      "r452",
      "r463",
      "r475",
      "r476",
      "r496",
      "r497",
      "r498",
      "r499",
      "r506",
      "r507",
      "r512",
      "r513",
      "r541",
      "r542",
      "r548",
      "r575",
      "r579",
      "r580",
      "r598",
      "r599",
      "r601",
      "r602",
      "r606",
      "r607",
      "r611",
      "r612",
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by affiliation of issuer of investment.",
        "label": "Investment, Issuer Affiliation [Axis]",
        "terseLabel": "Investment, Issuer Affiliation [Axis]"
       }
      }
     },
     "localname": "InvestmentIssuerAffiliationAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentIssuerAffiliationDomain": {
     "auth_ref": [
      "r408",
      "r428",
      "r452",
      "r463",
      "r475",
      "r476",
      "r496",
      "r497",
      "r498",
      "r499",
      "r506",
      "r507",
      "r512",
      "r513",
      "r541",
      "r542",
      "r548",
      "r575",
      "r579",
      "r580",
      "r598",
      "r599",
      "r601",
      "r602",
      "r606",
      "r607",
      "r611",
      "r612",
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Affiliation of issuer of investment.",
        "label": "Investment, Issuer Affiliation [Domain]",
        "terseLabel": "Investment, Issuer Affiliation [Domain]"
       }
      }
     },
     "localname": "InvestmentIssuerAffiliationDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentOwnedAtCost": {
     "auth_ref": [
      "r408",
      "r454",
      "r455",
      "r545",
      "r555",
      "r572",
      "r612",
      "r679",
      "r690",
      "r929"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost of the investment.",
        "label": "Investment Owned, Cost",
        "terseLabel": "Cost",
        "totalLabel": "Total cost basis of investments held as of June\u00a030, 2023:"
       }
      }
     },
     "localname": "InvestmentOwnedAtCost",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails",
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedAtFairValue": {
     "auth_ref": [
      "r408",
      "r447",
      "r448",
      "r449",
      "r451",
      "r453",
      "r454",
      "r455",
      "r458",
      "r463",
      "r464",
      "r475",
      "r476",
      "r532",
      "r541",
      "r542",
      "r551",
      "r565",
      "r566",
      "r579",
      "r580",
      "r581",
      "r589",
      "r592",
      "r611",
      "r613",
      "r616",
      "r679",
      "r690",
      "r929"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in security owned.",
        "label": "Investment Owned, Fair Value",
        "netLabel": "Investments at fair value",
        "terseLabel": "Fair Value",
        "verboseLabel": "Investments owned, fair value"
       }
      }
     },
     "localname": "InvestmentOwnedAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails",
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedBalancePrincipalAmount": {
     "auth_ref": [
      "r447",
      "r458",
      "r539",
      "r569",
      "r597",
      "r679"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of principal of investment owned.",
        "label": "Investment Owned, Balance, Principal Amount",
        "terseLabel": "Principal amount"
       }
      }
     },
     "localname": "InvestmentOwnedBalancePrincipalAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedBalanceShares": {
     "auth_ref": [
      "r447",
      "r458",
      "r539",
      "r569",
      "r597",
      "r679"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of investment owned.",
        "label": "Investment Owned, Balance, Shares",
        "terseLabel": "Shares"
       }
      }
     },
     "localname": "InvestmentOwnedBalanceShares",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_InvestmentOwnedPercentOfNetAssets": {
     "auth_ref": [
      "r450",
      "r454",
      "r455",
      "r541",
      "r565",
      "r579",
      "r582",
      "r613",
      "r679",
      "r929"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of investment owned to net assets.",
        "label": "Investment Owned, Net Assets, Percentage",
        "terseLabel": "Investment owned, percent of net assets"
       }
      }
     },
     "localname": "InvestmentOwnedPercentOfNetAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r400",
      "r408",
      "r409",
      "r410",
      "r411",
      "r552",
      "r554"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment, Policy [Policy Text Block]",
        "terseLabel": "Investment Valuation Policy"
       }
      }
     },
     "localname": "InvestmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTextBlock": {
     "auth_ref": [
      "r858",
      "r859",
      "r882"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for investment.",
        "label": "Investment [Text Block]",
        "terseLabel": "INVESTMENTS"
       }
      }
     },
     "localname": "InvestmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r448",
      "r450",
      "r451",
      "r454",
      "r458",
      "r532",
      "r541",
      "r558",
      "r566",
      "r579",
      "r583",
      "r584",
      "r613",
      "r617",
      "r618",
      "r619",
      "r620",
      "r679"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type [Axis]"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIESScheduleofPrincipalBalancesofUnusedLineofCreditandDelayedDrawTermDebtCommitmentsandGuarantiesDetails",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r448",
      "r450",
      "r451",
      "r454",
      "r458",
      "r532",
      "r541",
      "r558",
      "r566",
      "r579",
      "r583",
      "r584",
      "r613",
      "r617",
      "r618",
      "r619",
      "r620",
      "r679"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investments [Domain]",
        "terseLabel": "Investments [Domain]"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIESScheduleofPrincipalBalancesofUnusedLineofCreditandDelayedDrawTermDebtCommitmentsandGuarantiesDetails",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentUnaffiliatedIssuerMember": {
     "auth_ref": [
      "r408",
      "r463",
      "r489",
      "r496",
      "r497",
      "r498",
      "r506",
      "r512",
      "r532",
      "r537",
      "r541",
      "r542",
      "r548",
      "r567",
      "r575",
      "r579",
      "r580"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unaffiliated issuer of investment.",
        "label": "Investment, Unaffiliated Issuer [Member]",
        "terseLabel": "Non-Control/Non-Affiliate Investments"
       }
      }
     },
     "localname": "InvestmentUnaffiliatedIssuerMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments.",
        "label": "Investments Classified by Contractual Maturity Date [Table Text Block]",
        "terseLabel": "Schedule of Investments Classified by Contractual Maturity Date"
       }
      }
     },
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments, Debt and Equity Securities [Abstract]"
       }
      }
     },
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsFairValueDisclosure": {
     "auth_ref": [
      "r314"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method.",
        "label": "Investments, Fair Value Disclosure",
        "terseLabel": "Investments at fair value"
       }
      }
     },
     "localname": "InvestmentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets held for their financial return, rather than for the entity's operations.",
        "label": "Investments [Member]",
        "terseLabel": "Total"
       }
      }
     },
     "localname": "InvestmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LettersOfCreditOutstandingAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of the contingent obligation under letters of credit outstanding as of the reporting date.",
        "label": "Letters of Credit Outstanding, Amount",
        "terseLabel": "Borrowings outstanding at cost",
        "verboseLabel": "Line of credit at cost"
       }
      }
     },
     "localname": "LettersOfCreditOutstandingAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r15",
      "r117",
      "r193",
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r304",
      "r307",
      "r308",
      "r322",
      "r470",
      "r654",
      "r690",
      "r894",
      "r908",
      "r909"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "TOTAL LIABILITIES"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "LIABILITIES"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r12",
      "r84",
      "r918"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
        "label": "Long-Term Line of Credit",
        "terseLabel": "Line of credit at fair value (Cost of $46,200 and $35,200, respectively)"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityCommitmentFeeAmount": {
     "auth_ref": [
      "r13"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the fee for available but unused credit capacity under the credit facility.",
        "label": "Line of Credit Facility, Commitment Fee Amount",
        "terseLabel": "Commitment (unused) fees incurred"
       }
      }
     },
     "localname": "LineOfCreditFacilityCommitmentFeeAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity": {
     "auth_ref": [
      "r13"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility.",
        "label": "Line of Credit Facility, Current Borrowing Capacity",
        "terseLabel": "Adjusted availability"
       }
      }
     },
     "localname": "LineOfCreditFacilityCurrentBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityInterestRateDuringPeriod": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The effective interest rate during the reporting period.",
        "label": "Line of Credit Facility, Interest Rate During Period",
        "terseLabel": "Effective interest rate"
       }
      }
     },
     "localname": "LineOfCreditFacilityInterestRateDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r13"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "terseLabel": "Commitment amount"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity": {
     "auth_ref": [
      "r13"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).",
        "label": "Line of Credit Facility, Remaining Borrowing Capacity",
        "terseLabel": "Line of credit facility, available",
        "verboseLabel": "Availability"
       }
      }
     },
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility.",
        "label": "Line of Credit Facility, Unused Capacity, Commitment Fee Percentage",
        "terseLabel": "Unused fee percentage"
       }
      }
     },
     "localname": "LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LineOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time, and under which borrowings outstanding may be either short-term or long-term, depending upon the particulars.",
        "label": "Line of Credit [Member]",
        "terseLabel": "Line of Credit"
       }
      }
     },
     "localname": "LineOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LinesOfCreditFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time.",
        "label": "Lines of Credit, Fair Value Disclosure",
        "terseLabel": "Recurring Fair Value Measurements Reported in Consolidated Statements of Assets and Liabilities Using Significant Unobservable Inputs (Level 3)"
       }
      }
     },
     "localname": "LinesOfCreditFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoanProcessingFee": {
     "auth_ref": [],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 6.0,
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0
      },
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails": {
       "order": 1.0,
       "parentTag": "gain_NetLoanServicingFee",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expenses paid for obtaining loans which includes expenses such as application and origination fees.",
        "label": "Loan Processing Fee",
        "terseLabel": "Loan servicing fee"
       }
      }
     },
     "localname": "LoanProcessingFee",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r12",
      "r84",
      "r232",
      "r248",
      "r662",
      "r663",
      "r918"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation.",
        "label": "Long-Term Debt",
        "totalLabel": "Total borrowings"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtAverageAmountOutstanding": {
     "auth_ref": [
      "r94",
      "r95",
      "r503"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average amount outstanding of long-term debt.",
        "label": "Long-Term Debt, Average Amount Outstanding",
        "terseLabel": "Weighted-average borrowings outstanding"
       }
      }
     },
     "localname": "LongTermDebtAverageAmountOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt arrangement having an initial term longer than one year or beyond the normal operating cycle, if longer.",
        "label": "Long-Term Debt [Member]",
        "terseLabel": "Long-Term Debt"
       }
      }
     },
     "localname": "LongTermDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r17"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-Term Debt, Type [Axis]",
        "terseLabel": "Long-Term Debt, Type [Axis]"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r17",
      "r31"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-Term Debt, Type [Domain]",
        "terseLabel": "Long-Term Debt, Type [Domain]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ManagementAndServiceFeesBaseRate": {
     "auth_ref": [
      "r938"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Base rate for management and service fees under arrangement to manage operations, including, but not limited to, investment.",
        "label": "Management and Service Fees, Base Rate",
        "terseLabel": "Base management fee"
       }
      }
     },
     "localname": "ManagementAndServiceFeesBaseRate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ManagementAndServiceFeesRate": {
     "auth_ref": [
      "r500"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate for management and service fees under arrangement to manage operations, including, but not limited to, investment.",
        "label": "Management and Service Fees, Rate",
        "terseLabel": "Multiplied by prorated annual base management fee of 2.0%"
       }
      }
     },
     "localname": "ManagementAndServiceFeesRate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ManagementFeeExpense": {
     "auth_ref": [
      "r44",
      "r497",
      "r688",
      "r932"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 8.0,
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0
      },
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails": {
       "order": 2.0,
       "parentTag": "gain_NetBaseManagementFee",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for investment management fee, including, but not limited to, expense in connection with research, selection, supervision, and custody of investment.",
        "label": "Management Fee Expense",
        "terseLabel": "Base management fee"
       }
      }
     },
     "localname": "ManagementFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "auth_ref": [
      "r902"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate to determine present value of future cash flows.",
        "label": "Measurement Input, Discount Rate [Member]",
        "terseLabel": "Discount Rate"
       }
      }
     },
     "localname": "MeasurementInputDiscountRateMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputEbitdaMultipleMember": {
     "auth_ref": [
      "r902"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using earnings before interest, tax, depreciation and amortization (EBITDA) multiple.",
        "label": "Measurement Input, EBITDA Multiple [Member]",
        "terseLabel": "EBITDA multiple"
       }
      }
     },
     "localname": "MeasurementInputEbitdaMultipleMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputRevenueMultipleMember": {
     "auth_ref": [
      "r902"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using market valuation of entity divided by revenue.",
        "label": "Measurement Input, Revenue Multiple [Member]",
        "terseLabel": "Revenue multiple"
       }
      }
     },
     "localname": "MeasurementInputRevenueMultipleMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r316"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MidwestRegionMember": {
     "auth_ref": [
      "r946",
      "r949",
      "r951",
      "r953"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Region of United States of America (US) designated as Midwest.",
        "label": "US Midwest Region [Member]",
        "terseLabel": "Midwest"
       }
      }
     },
     "localname": "MidwestRegionMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MinorityInterestOwnershipPercentageByParent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The parent entity's interest in net assets of the subsidiary, expressed as a percentage.",
        "label": "Subsidiary, Ownership Percentage, Parent",
        "terseLabel": "Noncontrolling interest, ownership percentage by parent"
       }
      }
     },
     "localname": "MinorityInterestOwnershipPercentageByParent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_NetAssetValuePerShare": {
     "auth_ref": [
      "r0",
      "r1",
      "r11",
      "r438",
      "r445",
      "r446",
      "r474",
      "r490",
      "r621",
      "r690"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net asset value per share or per unit of investments in certain entities that calculate net asset value per share. Includes, but is not limited to, by unit, membership interest, or other ownership interest. Investment includes, but is not limited to, investment in certain hedge funds, venture capital funds, private equity funds, real estate partnerships or funds. Excludes fair value disclosure.",
        "label": "NAV Per Share",
        "periodEndLabel": "Net asset value at end of period (in USD per share)",
        "periodStartLabel": "Net asset value at beginning of period (in USD per share)",
        "terseLabel": "NET ASSET VALUE PER SHARE (in USD per share)"
       }
      }
     },
     "localname": "NetAssetValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/FINANCIALHIGHLIGHTSDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r110"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by (used in) financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "CASH FLOWS FROM FINANCING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r66",
      "r67",
      "r68"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash (used in) provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "CASH FLOWS FROM OPERATING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r63",
      "r68",
      "r87",
      "r97",
      "r104",
      "r105",
      "r106",
      "r117",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r132",
      "r133",
      "r140",
      "r151",
      "r152",
      "r154",
      "r156",
      "r193",
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r312",
      "r322",
      "r394",
      "r494",
      "r519",
      "r521",
      "r655",
      "r688",
      "r894"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss)",
        "terseLabel": "Net increase in net assets resulting from operations",
        "totalLabel": "Net increase in net assets resulting from operations"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHAREDetails",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToReportingEntityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest [Abstract]",
        "terseLabel": "OPERATIONS"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToReportingEntityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetInvestmentIncome": {
     "auth_ref": [
      "r89",
      "r397",
      "r398",
      "r504",
      "r688"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after investment expense, of income earned from investments in securities and real estate. Includes, but is not limited to, real estate investment, policy loans, dividends, and interest. Excludes realized gain (loss) on investments.",
        "label": "Net Investment Income",
        "totalLabel": "NET INVESTMENT INCOME"
       }
      }
     },
     "localname": "NetInvestmentIncome",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Recent Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NortheastRegionMember": {
     "auth_ref": [
      "r946",
      "r949",
      "r951",
      "r953"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Region of United States of America (US) designated as Northeast.",
        "label": "US Northeast Region [Member]",
        "terseLabel": "Northeast"
       }
      }
     },
     "localname": "NortheastRegionMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesPayable": {
     "auth_ref": [
      "r12",
      "r84",
      "r918"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 2.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, aggregate carrying amount of all types of notes payable, as of the balance sheet date, with initial maturities beyond one year or beyond the normal operating cycle, if longer.",
        "label": "Notes Payable",
        "terseLabel": "Notes payable, net"
       }
      }
     },
     "localname": "NotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableFairValueDisclosure": {
     "auth_ref": [
      "r14"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of notes payable.",
        "label": "Notes Payable, Fair Value Disclosure",
        "terseLabel": "Notes payable, fair value disclosure"
       }
      }
     },
     "localname": "NotesPayableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableOtherPayablesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A written promise to pay a note to a third party.",
        "label": "Notes Payable, Other Payables [Member]",
        "terseLabel": "Notes Payable"
       }
      }
     },
     "localname": "NotesPayableOtherPayablesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OperatingExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "EXPENSES"
       }
      }
     },
     "localname": "OperatingExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r52",
      "r77",
      "r406",
      "r407"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "ORGANIZATION"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/ORGANIZATION"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherAssets": {
     "auth_ref": [
      "r81",
      "r99",
      "r386",
      "r690"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets classified as other.",
        "label": "Other Assets",
        "terseLabel": "Other assets, net"
       }
      }
     },
     "localname": "OtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCommitmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Other Commitments [Line Items]",
        "terseLabel": "Other Commitments [Line Items]"
       }
      }
     },
     "localname": "OtherCommitmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIESScheduleofPrincipalBalancesofUnusedLineofCreditandDelayedDrawTermDebtCommitmentsandGuarantiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCommitmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about obligations resulting from other commitments.",
        "label": "Other Commitments [Table]",
        "terseLabel": "Other Commitments [Table]"
       }
      }
     },
     "localname": "OtherCommitmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIESScheduleofPrincipalBalancesofUnusedLineofCreditandDelayedDrawTermDebtCommitmentsandGuarantiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherGeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r64",
      "r937"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 5.0,
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of general and administrative expense classified as other.",
        "label": "Other General and Administrative Expense",
        "terseLabel": "Other general and administrative expenses"
       }
      }
     },
     "localname": "OtherGeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherInvestmentCompaniesMember": {
     "auth_ref": [
      "r677",
      "r678"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in other investment companies (as defined).",
        "label": "Other Investment Companies [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherInvestmentCompaniesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherLiabilities": {
     "auth_ref": [
      "r49",
      "r384",
      "r466",
      "r467",
      "r690",
      "r930"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other.",
        "label": "Other Liabilities",
        "terseLabel": "Other liabilities"
       }
      }
     },
     "localname": "OtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherReceivablesNetCurrent": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance, of receivables classified as other, due within one year or the operating cycle, if longer.",
        "label": "Other Receivables, Net, Current",
        "terseLabel": "Due from related parties"
       }
      }
     },
     "localname": "OtherReceivablesNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity": {
     "auth_ref": [
      "r944"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Payment for Purchase, Investment, Operating Activity",
        "negatedTerseLabel": "Purchase of investments",
        "terseLabel": "Purchase of investments"
       }
      }
     },
     "localname": "PaymentsForPurchaseOfInvestmentOperatingActivity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "auth_ref": [
      "r21"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
        "label": "Payments of Ordinary Dividends, Common Stock",
        "negatedTerseLabel": "Distributions paid to common stockholders"
       }
      }
     },
     "localname": "PaymentsOfDividendsCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfFinancingCosts": {
     "auth_ref": [
      "r20"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for loan and debt issuance costs.",
        "label": "Payments of Financing Costs",
        "negatedTerseLabel": "Deferred financing and offering costs"
       }
      }
     },
     "localname": "PaymentsOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockLiquidationPreference": {
     "auth_ref": [
      "r32",
      "r33",
      "r55",
      "r873",
      "r898"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Preferred Stock Liquidating Preference"
       }
      }
     },
     "localname": "PreferredStockLiquidationPreference",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity": {
     "auth_ref": [
      "r944"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Proceeds from Disposition of Investment, Operating Activity",
        "terseLabel": "Net proceeds from the sale of investments"
       }
      }
     },
     "localname": "ProceedsFromDispositionOfInvestmentOperatingActivity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfLongTermDebt": {
     "auth_ref": [
      "r19",
      "r416"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a debt initially having maturity due after one year or beyond the operating cycle, if longer.",
        "label": "Proceeds from Issuance of Long-Term Debt",
        "terseLabel": "Proceeds from issuance of long-term debt"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSNotesPayableNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLinesOfCredit": {
     "auth_ref": [
      "r19",
      "r874"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from contractual arrangement with the lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
        "label": "Proceeds from Lines of Credit",
        "terseLabel": "Proceeds from line of credit"
       }
      }
     },
     "localname": "ProceedsFromLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromNotesPayable": {
     "auth_ref": [
      "r19"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a borrowing supported by a written promise to pay an obligation.",
        "label": "Proceeds from Notes Payable",
        "terseLabel": "Proceeds from issuance of notes payable"
       }
      }
     },
     "localname": "ProceedsFromNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r688",
      "r933",
      "r937"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 3.0,
       "parentTag": "us-gaap_InvestmentIncomeInvestmentExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer.",
        "label": "Professional Fees",
        "terseLabel": "Professional fees"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r97",
      "r104",
      "r105",
      "r109",
      "r117",
      "r126",
      "r132",
      "r133",
      "r151",
      "r152",
      "r154",
      "r156",
      "r193",
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r302",
      "r305",
      "r306",
      "r312",
      "r322",
      "r383",
      "r393",
      "r429",
      "r494",
      "r519",
      "r521",
      "r655",
      "r673",
      "r674",
      "r689",
      "r869",
      "r894"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityPeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "totalLabel": "Net increase in net assets from operations",
        "verboseLabel": "Net increase in net assets resulting from operations"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax": {
     "auth_ref": [
      "r518",
      "r924",
      "r941",
      "r955"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax, of realized and unrealized gain (loss) on investment and derivative, classified as operating, and foreign currency transaction. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity.",
        "label": "Gain (Loss), Investment and Derivative, Operating, and Foreign Currency Transaction, after Tax",
        "totalLabel": "Net realized and unrealized gain"
       }
      }
     },
     "localname": "RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax": {
     "auth_ref": [
      "r492",
      "r629",
      "r939"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of realized gain (loss) on investment, derivative, and foreign currency transaction on investment and derivative from change in market price, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity.",
        "label": "Realized Gain (Loss), Investment, Derivative, and Foreign Currency Transaction Price Change, Operating, before Tax",
        "terseLabel": "Net realized gain on investments"
       }
      }
     },
     "localname": "RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r273",
      "r330",
      "r331",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r489",
      "r491",
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party, Type [Domain]",
        "terseLabel": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyMember": {
     "auth_ref": [
      "r118",
      "r119",
      "r330",
      "r331",
      "r332",
      "r333",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r489",
      "r491",
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Party related to reporting entity. Includes, but is not limited to, affiliate, entity for which investment is accounted for by equity method, trust for benefit of employees, and principal owner, management, and members of immediate family.",
        "label": "Related Party [Member]",
        "terseLabel": "Related Party"
       }
      }
     },
     "localname": "RelatedPartyMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r330",
      "r331",
      "r907"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party transaction.",
        "label": "Related Party Transaction [Axis]",
        "terseLabel": "Related Party Transaction [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]",
        "terseLabel": "Related Party Transaction [Domain]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [
      "r498",
      "r499",
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r273",
      "r330",
      "r331",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r489",
      "r491",
      "r531",
      "r907"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party, Type [Axis]",
        "terseLabel": "Related Party [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r327",
      "r328",
      "r329",
      "r331",
      "r334",
      "r423",
      "r424",
      "r425",
      "r500",
      "r501",
      "r502",
      "r528",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "RELATED PARTY TRANSACTIONS"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfLinesOfCredit": {
     "auth_ref": [
      "r22",
      "r874"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
        "label": "Repayments of Lines of Credit",
        "negatedTerseLabel": "Repayments on line of credit"
       }
      }
     },
     "localname": "RepaymentsOfLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalents": {
     "auth_ref": [
      "r23",
      "r80",
      "r98",
      "r113",
      "r389"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents 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. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Restricted Cash and Cash Equivalents",
        "terseLabel": "Restricted cash and cash equivalents"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r58",
      "r76",
      "r391",
      "r403",
      "r404",
      "r420",
      "r473",
      "r675"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed earnings (deficit).",
        "label": "Retained Earnings (Accumulated Deficit)",
        "totalLabel": "Total distributable earnings"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r496",
      "r646",
      "r652"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue [Policy Text Block]",
        "terseLabel": "Revenue Recognition"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenuesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Abstract]",
        "terseLabel": "INVESTMENT INCOME"
       }
      }
     },
     "localname": "RevenuesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevolvingCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount.",
        "label": "Revolving Credit Facility [Member]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "RevolvingCreditFacilityMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockConsiderationReceivedOnTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash received on stock transaction after deduction of issuance costs.",
        "label": "Sale of Stock, Consideration Received on Transaction",
        "terseLabel": "Sale of stock, consideration received"
       }
      }
     },
     "localname": "SaleOfStockConsiderationReceivedOnTransaction",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale of Stock [Domain]",
        "terseLabel": "Sale of Stock [Domain]"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails",
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares issued or sold by the subsidiary or equity method investee per stock transaction.",
        "label": "Sale of Stock, Number of Shares Issued in Transaction",
        "terseLabel": "Sale of stock, number of shares sold (in shares)"
       }
      }
     },
     "localname": "SaleOfStockNumberOfSharesIssuedInTransaction",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule of Debt [Table Text Block]",
        "terseLabel": "Schedule of Debt"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r880"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Schedule of Earnings Per Share, Basic and Diluted"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHARETables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "auth_ref": [
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r553",
      "r555",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r616"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule of Investments [Line Items]",
        "verboseLabel": "Schedule of Investments [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "auth_ref": [
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r553",
      "r555",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r585",
      "r586",
      "r587",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r616"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about investments owned by investment company.",
        "label": "Schedule of Investments [Table]",
        "verboseLabel": "Schedule of Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to 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.",
        "label": "Schedule of Line of Credit Facilities [Table Text Block]",
        "terseLabel": "Schedule of Line of Credit Facilities"
       }
      }
     },
     "localname": "ScheduleOfLineOfCreditFacilitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r44",
      "r45",
      "r498",
      "r499",
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]",
        "terseLabel": "Schedule of Related Party Transactions, by Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners and (d) affiliates.",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "terseLabel": "Schedule of Related Party Transactions"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/RELATEDPARTYTRANSACTIONSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSubsequentEventsTextBlock": {
     "auth_ref": [
      "r910"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of 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, losses resulting from fire or flood, losses on receivables, significant realized and unrealized gains and losses that result from changes in quoted market prices of securities, declines in market prices of inventory, changes in authorized or issued debt (SEC), significant foreign exchange rate changes, substantial loans to insiders or affiliates, significant long-term investments, and substantial dividends not in the ordinary course of business.",
        "label": "Schedule of Subsequent Events [Table Text Block]",
        "terseLabel": "Schedule of Subsequent Events"
       }
      }
     },
     "localname": "ScheduleOfSubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287",
      "r288",
      "r289",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]",
        "terseLabel": "All Award Types"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price of a single share of a number of saleable stocks of a company.",
        "label": "Share Price"
       }
      }
     },
     "localname": "SharePrice",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r69",
      "r114"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SouthRegionMember": {
     "auth_ref": [
      "r946",
      "r949",
      "r951",
      "r953"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Region of United States of America (US) designated as South.",
        "label": "US South Region [Member]",
        "terseLabel": "South"
       }
      }
     },
     "localname": "SouthRegionMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r94",
      "r101",
      "r102",
      "r103",
      "r117",
      "r138",
      "r139",
      "r141",
      "r143",
      "r149",
      "r150",
      "r193",
      "r210",
      "r212",
      "r213",
      "r214",
      "r217",
      "r218",
      "r250",
      "r251",
      "r254",
      "r257",
      "r264",
      "r322",
      "r416",
      "r417",
      "r418",
      "r419",
      "r431",
      "r434",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r472",
      "r495",
      "r523",
      "r621",
      "r622",
      "r623",
      "r624",
      "r625",
      "r854",
      "r873",
      "r879"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/Cover",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [
      "r123",
      "r124",
      "r125",
      "r148",
      "r369",
      "r408",
      "r446",
      "r463",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r472",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r485",
      "r486",
      "r487",
      "r488",
      "r489",
      "r491",
      "r496",
      "r497",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r523",
      "r680"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r123",
      "r124",
      "r125",
      "r148",
      "r369",
      "r408",
      "r446",
      "r463",
      "r465",
      "r466",
      "r467",
      "r468",
      "r469",
      "r472",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r485",
      "r486",
      "r487",
      "r488",
      "r489",
      "r491",
      "r496",
      "r497",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r523",
      "r680"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockAppreciationRightsSARSMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right to receive cash or shares equal to appreciation of predetermined number of grantor's shares during predetermined time period.",
        "label": "Stock Appreciation Rights (SARs) [Member]",
        "terseLabel": "Stock Appreciation Rights (SARs)"
       }
      }
     },
     "localname": "StockAppreciationRightsSARSMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r8",
      "r55",
      "r56",
      "r76",
      "r431",
      "r523",
      "r622",
      "r689"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": 1.0,
       "parentTag": "gain_InvestmentCompanyCapitalActivityIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period, Value, New Issues",
        "terseLabel": "Issuance of common stock"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r56",
      "r59",
      "r60",
      "r70",
      "r474",
      "r490",
      "r525",
      "r526",
      "r675",
      "r690",
      "r875",
      "r890",
      "r903",
      "r942"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest.",
        "label": "Equity, Attributable to Parent",
        "periodEndLabel": "Net Assets, ending balance",
        "periodStartLabel": "Net Assets, beginning balance",
        "totalLabel": "TOTAL NET ASSETS"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES",
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity, Attributable to Parent [Abstract]",
        "terseLabel": "ANALYSIS OF NET ASSETS"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r73",
      "r116",
      "r249",
      "r251",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r263",
      "r265",
      "r310",
      "r527",
      "r529",
      "r628"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for equity.",
        "label": "Equity [Text Block]",
        "verboseLabel": "DISTRIBUTIONS TO COMMON STOCKHOLDERS"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StockholdersEquityPeriodIncreaseDecrease": {
     "auth_ref": [
      "r8",
      "r76",
      "r524",
      "r625",
      "r689",
      "r923"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in stockholders' equity during the period.",
        "label": "Stockholders' Equity, Period Increase (Decrease)",
        "totalLabel": "NET (DECREASE) INCREASE IN NET ASSETS"
       }
      }
     },
     "localname": "StockholdersEquityPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [
      "r323",
      "r336"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]",
        "terseLabel": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails",
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r323",
      "r336"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails",
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r323",
      "r336"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]",
        "terseLabel": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails",
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r323",
      "r336"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]",
        "terseLabel": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails",
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r323",
      "r336"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]",
        "terseLabel": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails",
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r335",
      "r337"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "SUBSEQUENT EVENTS"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTS"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]",
        "terseLabel": "Sale of Stock [Axis]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails",
      "http://www.gladstoneinvestment.com/role/SUBSEQUENTEVENTSNarrativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SummaryInvestmentHoldingsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the summary of investment holdings.",
        "label": "Summary Investment Holdings [Table Text Block]",
        "terseLabel": "Summary Investment Holdings"
       }
      }
     },
     "localname": "SummaryInvestmentHoldingsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SummaryOfInvestmentHoldingsLineItems": {
     "auth_ref": [
      "r428",
      "r447",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r461",
      "r462",
      "r495",
      "r679"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Summary of Investment Holdings [Line Items]",
        "terseLabel": "Summary of Investment Holdings [Line Items]"
       }
      }
     },
     "localname": "SummaryOfInvestmentHoldingsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails",
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SummaryOfInvestmentHoldingsTable": {
     "auth_ref": [
      "r428",
      "r447",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r461",
      "r462",
      "r495",
      "r679"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The summary of investment holding table is used for any listing of investment in a summary form. Table lists the 50 largest investments and any other investment the value of which exceeded 1 percent of net asset value of the registrant as of the close of the period.",
        "label": "Summary of Investment Holdings [Table]",
        "terseLabel": "Summary of Investment Holdings [Table]"
       }
      }
     },
     "localname": "SummaryOfInvestmentHoldingsTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails",
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes": {
     "auth_ref": [
      "r415"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost of investment for federal income tax purpose.",
        "label": "Investment, Tax Basis, Cost",
        "terseLabel": "Based on a tax cost"
       }
      }
     },
     "localname": "TaxBasisOfInvestmentsCostForIncomeTaxPurposes",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation": {
     "auth_ref": [
      "r412"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals": {
       "order": 2.0,
       "parentTag": "us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cumulative increase in investment from unrealized gain when value exceeds cost for federal income tax purpose.",
        "label": "Investment, Tax Basis, Unrealized Gain",
        "terseLabel": "Cumulative net unrealized appreciation"
       }
      }
     },
     "localname": "TaxBasisOfInvestmentsGrossUnrealizedAppreciation",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation": {
     "auth_ref": [
      "r413"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals": {
       "order": 1.0,
       "parentTag": "us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cumulative decrease in investment from unrealized loss when cost for federal income tax purpose exceeds value.",
        "label": "Investment, Tax Basis, Unrealized Loss",
        "terseLabel": "Cumulative gross unrealized depreciation"
       }
      }
     },
     "localname": "TaxBasisOfInvestmentsGrossUnrealizedDepreciation",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet": {
     "auth_ref": [
      "r414"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cumulative increase (decrease) in investment from unrealized gain (loss) when value exceeds (is less than) cost for federal income tax purpose.",
        "label": "Investment, Tax Basis, Unrealized Gain (Loss)",
        "totalLabel": "Cumulative gross unrealized appreciation for federal income tax purposes"
       }
      }
     },
     "localname": "TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r160",
      "r161",
      "r162",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r173",
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r185",
      "r186",
      "r187",
      "r188",
      "r189",
      "r244",
      "r262",
      "r309",
      "r338",
      "r339",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r395",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r885",
      "r886",
      "r887",
      "r888"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails",
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax": {
     "auth_ref": [
      "r493",
      "r629",
      "r940"
     ],
     "calculation": {
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS": {
       "order": 3.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of unrealized gain (loss) on investment, derivative, and foreign currency transaction on investment and derivative from change in market price, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity.",
        "label": "Unrealized Gain (Loss), Investment, Derivative, and Foreign Currency Transaction Price Change, Operating, before Tax",
        "terseLabel": "Net unrealized (depreciation) appreciation of investments"
       }
      }
     },
     "localname": "UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnusedLinesOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The unused portion of a line of credit that is available to the borrower to withdrawn upon.",
        "label": "Unused lines of Credit [Member]",
        "terseLabel": "Unused line of credit and delayed draw term debt commitments"
       }
      }
     },
     "localname": "UnusedLinesOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/COMMITMENTSANDCONTINGENCIESScheduleofPrincipalBalancesofUnusedLineofCreditandDelayedDrawTermDebtCommitmentsandGuarantiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r27",
      "r28",
      "r29",
      "r90",
      "r91",
      "r92",
      "r93"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationTechniqueAxis": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by valuation approach and technique.",
        "label": "Valuation Approach and Technique [Axis]",
        "terseLabel": "Valuation Approach and Technique [Axis]"
       }
      }
     },
     "localname": "ValuationTechniqueAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationTechniqueDomain": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach and technique.",
        "label": "Valuation Approach and Technique [Domain]",
        "terseLabel": "Valuation Approach and Technique [Domain]"
       }
      }
     },
     "localname": "ValuationTechniqueDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]",
        "terseLabel": "Variable Rate [Axis]"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]",
        "terseLabel": "Variable Rate [Domain]"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/BORROWINGSFairValueNarrativeDetails",
      "http://www.gladstoneinvestment.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r137",
      "r143"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Diluted (in shares)",
        "verboseLabel": "Diluted weighted-average common shares (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHAREDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r136",
      "r143"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Basic (in shares)",
        "verboseLabel": "Basic weighted-average common shares (in shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS",
      "http://www.gladstoneinvestment.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHAREDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number of Shares Outstanding Reconciliation [Abstract]",
        "terseLabel": "WEIGHTED-AVERAGE SHARES OF COMMON STOCK OUTSTANDING:"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_WestRegionMember": {
     "auth_ref": [
      "r946",
      "r949",
      "r951",
      "r953"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Region of United States of America (US) designated as West.",
        "label": "US West Region [Member]",
        "terseLabel": "West"
       }
      }
     },
     "localname": "WestRegionMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.gladstoneinvestment.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails"
     ],
     "xbrltype": "domainItemType"
    }
   },
   "unitCount": 7
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482134/820-10-35-54B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "59",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482134/820-10-35-59",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-17",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-23",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147480530/250-10-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "https://asc.fasb.org//260/tableOfContent",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-10",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-16",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20,22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org//1943274/2147483014/272-10-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org//1943274/2147482987/272-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org//1943274/2147482987/272-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-41",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-41",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-42",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(3)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(4)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-14",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-16",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481877/830-230-45-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "https://asc.fasb.org//1943274/2147482017/420-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "https://asc.fasb.org//1943274/2147482648/440-10-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "https://asc.fasb.org//1943274/2147482648/440-10-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-18",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-18",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-16",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-20",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-9",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147481071/942-405-45-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org//320/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-19",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-25",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-25",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480237/815-40-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481544/470-10-50-5",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480237/815-40-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481674/830-30-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "832",
   "URI": "https://asc.fasb.org//1943274/2147483507/832-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482900/835-30-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org//850/tableOfContent",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org//855/tableOfContent",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481444/860-30-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481420/860-30-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org//1943274/2147482546/910-10-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org//1943274/2147479941/924-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-33",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-33",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-35A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-35A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-20",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479557/942-235-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-21",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(22))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2)(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2)(d))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21D",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-21D",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-1A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(d)(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480081/944-40-50-7A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479383/944-825-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480424/946-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480424/946-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(f)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(f)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(f)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2)(i))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2)(ii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2)(iii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2)(iv))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(i)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(i)(2)(i))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(i)(2)(ii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(i)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-12",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-12",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482949/835-30-55-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-25",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "27",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-27",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(e)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(f)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(g)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(h)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480555/946-210-45-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-12",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(3)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(4)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(e)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(f)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(g)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(g)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(11))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(13)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(13)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(1),(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(14))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(15))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(16)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(17))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(19))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(2)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(2)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(3)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(3)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(3)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(e))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(8))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(e))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-05(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-05(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(b)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483580/946-220-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(i))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(ii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(e))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(g)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(8))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(9))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "https://asc.fasb.org//205/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(1)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(e)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(ii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 10))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(b)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(b)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 9))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(i)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-12",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-19",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-19",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(3)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-19",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column C)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 10))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(b)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(b)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 12))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 13))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 9))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column C)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column C)(Footnote 6)(e))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column D)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column D)(Footnote 6)(f))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(13))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 5)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 8))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 9))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(12))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "36",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-36",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org//1943274/2147479851/948-310-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org//1943274/2147481027/954-310-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "https://asc.fasb.org//1943274/2147480327/954-440-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(d)",
   "Topic": "954",
   "URI": "https://asc.fasb.org//1943274/2147480327/954-440-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r644": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org//1943274/2147482856/976-310-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r645": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org//1943274/2147482707/978-310-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r646": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-4",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-13H",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-16",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-21",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-22",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-4",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-52",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-31",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481933/310-10-55-12A",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-79",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-24",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479081/326-30-55-8",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69B",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69C",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69E",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69F",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480482/715-20-55-17",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480547/715-80-55-8",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481175/810-10-55-4J",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481175/810-10-55-4K",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org//1943274/2147481372/852-10-55-10",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-29F",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480493/946-210-55-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-10",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-11",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org//235/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-12",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r691": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r692": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r693": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r694": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r695": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r696": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r697": {
   "Name": "Form 20-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "16",
   "Subsection": "J",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r698": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r699": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "205",
   "URI": "https://asc.fasb.org//1943274/2147479910/205-30-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147480418/310-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r700": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Sentence": "A",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r701": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Sentence": "B",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r702": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Sentence": "C",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r703": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Sentence": "D",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r704": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Sentence": "E",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r705": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Subparagraph": "ii",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r706": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Subparagraph": "iii",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r707": {
   "Name": "Form 20-F",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "6",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r708": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Subparagraph": "ii",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r709": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org//440/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r710": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r711": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r712": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Sentence": "i",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r713": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Sentence": "ii",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r714": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Sentence": "iii",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r715": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Sentence": "iv",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r716": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Sentence": "v",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r717": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Subparagraph": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r718": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Subparagraph": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r719": {
   "Name": "Form 40-F",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "19",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org//470/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r720": {
   "Name": "Form F-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r721": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r722": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r723": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r724": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "1",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r725": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r726": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r727": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r728": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "5",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r729": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "6",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "https://asc.fasb.org//505/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r730": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "Instruction 2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r731": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "1",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r732": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r733": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r734": {
   "Name": "Form N-2",
   "Paragraph": "d",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r735": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r736": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r737": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r738": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r739": {
   "Name": "Form N-2",
   "Paragraph": "e",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-6",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r740": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r741": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r742": {
   "Name": "Form N-2",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r743": {
   "Name": "Form N-2",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r744": {
   "Name": "Form N-2",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r745": {
   "Name": "Form N-2",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r746": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r747": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 1",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r748": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r749": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a, g, h",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-7",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r750": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "f",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r751": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "g",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r752": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "i",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r753": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 11",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r754": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 4",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r755": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 5",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r756": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 6",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r757": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 7",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r758": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 7",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "b",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r759": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 8",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r760": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 9",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r761": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r762": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r763": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 3",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r764": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 8",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r765": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r766": {
   "Name": "Form N-2",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r767": {
   "Name": "Form N-2",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subparagraph": "Instruction 2",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r768": {
   "Name": "Form N-2",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subparagraph": "Instruction 3",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r769": {
   "Name": "Form N-2",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "https://asc.fasb.org//810/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r770": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 1",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r771": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 4",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r772": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 5",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r773": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 8",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r774": {
   "Name": "Form N-2",
   "Paragraph": "b, d",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r775": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r776": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r777": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "1",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r778": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "2",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r779": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "3",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r780": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r781": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "4",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r782": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 2",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r783": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 3",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r784": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 4",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r785": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instructions 4, 5",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r786": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r787": {
   "Name": "Form N-2",
   "Paragraph": "e",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r788": {
   "Name": "Form N-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r789": {
   "Name": "Form N-4",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r790": {
   "Name": "Form N-6",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r791": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r792": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r793": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Sentence": "i",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r794": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Sentence": "ii",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r795": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Sentence": "iii",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r796": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Sentence": "iv",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r797": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Sentence": "v",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r798": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Subparagraph": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r799": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Subparagraph": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r800": {
   "Name": "Form N-CSR",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "18",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r801": {
   "Name": "Form S-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r802": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r803": {
   "Name": "Investment Company Act",
   "Number": "270",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r804": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r805": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r806": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "ii",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r807": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "iii",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r808": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "iv",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r809": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "vi",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r810": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r811": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r812": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "i",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r813": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "ii",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r814": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "iii",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r815": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "iv",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r816": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "6",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r817": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "6",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "i",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r818": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r819": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r820": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "A",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r821": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "B",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r822": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "C",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r823": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "D",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r824": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "E",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r825": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "ii",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r826": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "iii",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r827": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r828": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r829": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r830": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "A",
   "Subparagraph": "ii",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r831": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "C",
   "Subparagraph": "ii",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r832": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "D",
   "Subparagraph": "ii",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r833": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "E",
   "Subparagraph": "ii",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r834": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "F",
   "Subparagraph": "ii",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r835": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Publisher": "SEC",
   "Section": "408",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r836": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "408",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r837": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "408",
   "Subparagraph": "A",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r838": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "408",
   "Subparagraph": "B",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r839": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "408",
   "Subparagraph": "C",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r840": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "408",
   "Subparagraph": "D",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r841": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "408",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r842": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "313",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r843": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r844": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r845": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "413",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r846": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r847": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "c",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r848": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "d",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r849": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "e",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r850": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "486",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r851": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "486",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r852": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r853": {
   "Name": "Securities Act",
   "Publisher": "SEC",
   "Section": "8",
   "Subsection": "c",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r854": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org//1943274/2147483014/272-10-45-3",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r855": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-10",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r856": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-3",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r857": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479383/944-825-50-1B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r858": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "321",
   "URI": "https://asc.fasb.org//321/tableOfContent",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r859": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "325",
   "URI": "https://asc.fasb.org//325/tableOfContent",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(20))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r860": {
   "Name": "Investment Company Act of 1940",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "61",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r861": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r862": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r863": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r864": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r865": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r866": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r867": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r868": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r869": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r870": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(7)(c))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r871": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(9)(a))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r872": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r873": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r874": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r875": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r876": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-23",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r877": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r878": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r879": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-55",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.7,8)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r880": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r881": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481990/310-10-45-13",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r882": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org//320/tableOfContent",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r883": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r884": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r885": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-9",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r886": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r887": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r888": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r889": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "321",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r890": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r891": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r892": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org//1943274/2147481931/410-30-50-10",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r893": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "https://asc.fasb.org//450/tableOfContent",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r894": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r895": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r896": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r897": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r898": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r899": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-5",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r900": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r901": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r902": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r903": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-28",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r904": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r905": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r906": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r907": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r908": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org//1943274/2147481404/852-10-50-7",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r909": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org//1943274/2147481404/852-10-50-7",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r910": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r911": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r912": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r913": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r914": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r915": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r916": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r917": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r918": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r919": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2)(c))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r920": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r921": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479432/944-30-50-2B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r922": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-13H",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r923": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r924": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r925": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r926": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-13",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r927": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-18",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r928": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r929": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(3)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-12",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r930": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r931": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(18))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r932": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r933": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r934": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(1)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r935": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r936": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r937": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r938": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r939": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r94": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r940": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r941": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r942": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r943": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r944": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480369/946-230-45-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r945": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r946": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(ii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r947": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r948": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r949": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r95": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r950": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r951": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r952": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r953": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r954": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r955": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "37",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-37",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r96": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(4)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  }
 },
 "version": "2.2"
}
