{
 "instance": {
  "f10k2023_saratoga.htm": {
   "axisCustom": 2,
   "axisStandard": 36,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap-sup/2022q3": 141,
    "http://fasb.org/us-gaap/2022": 3113,
    "http://xbrl.sec.gov/cef/2022": 75,
    "http://xbrl.sec.gov/dei/2022": 39
   },
   "contextCount": 1512,
   "dts": {
    "calculationLink": {
     "local": [
      "sar-20230228_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "sar-20230228_def.xml"
     ]
    },
    "inline": {
     "local": [
      "f10k2023_saratoga.htm"
     ]
    },
    "labelLink": {
     "local": [
      "sar-20230228_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "sar-20230228_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "sar-20230228.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://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/srt/2022q3/srt-sup-2022q3.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022q3/us-gaap-sup-2022q3.xsd",
      "https://xbrl.sec.gov/cef/2022/cef-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022_lab.xsd",
      "https://xbrl.sec.gov/sic/2022/sic-2022.xsd"
     ]
    }
   },
   "elementCount": 1401,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 249,
    "http://www.saratogainvestmentcorp.com/20230228": 301,
    "http://xbrl.sec.gov/cef/2022": 6,
    "http://xbrl.sec.gov/dei/2022": 4,
    "total": 560
   },
   "keyCustom": 218,
   "keyStandard": 342,
   "memberCustom": 425,
   "memberStandard": 26,
   "nsprefix": "sar",
   "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "000000 - Document - Document And Entity Information",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
     "shortName": "Document And Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "dei:DocumentPeriodEndDate",
       "b",
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:CurrentFiscalYearEndDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c42",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap-sup:InvestmentBasisSpreadVariableRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "009 - Statement - Consolidated Schedule of Investments (Parentheticals)",
     "menuCat": "Statements",
     "order": "10",
     "role": "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
     "shortName": "Consolidated Schedule of Investments (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c42",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap-sup:InvestmentBasisSpreadVariableRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedRestrictedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "010 - Statement - Schedule of cash and cash equivalents and cash and cash equivalents",
     "menuCat": "Statements",
     "order": "11",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofcashandcashequivalentsandcashandcashequivalentsTable",
     "shortName": "Schedule of cash and cash equivalents and cash and cash equivalents",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedRestrictedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c564",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "sar:NetChangeInUnrealizedAppreciationDepreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "011 - Statement - Schedule of transactions related to affiliates",
     "menuCat": "Statements",
     "order": "12",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable",
     "shortName": "Schedule of transactions related to affiliates",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c564",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "sar:NetChangeInUnrealizedAppreciationDepreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "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": "13",
     "role": "http://xbrl.sec.gov/cef/role/N2",
     "shortName": "N-2",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "lang": "en-US",
      "name": "cef:ShareholderTransactionExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995471 - Disclosure - Organization",
     "menuCat": "Notes",
     "order": "14",
     "role": "http://www.saratogainvestmentcorp.com/role/Organization",
     "shortName": "Organization",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995472 - Disclosure - Summary of Significant Accounting Policies",
     "menuCat": "Notes",
     "order": "15",
     "role": "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPolicies",
     "shortName": "Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c613",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995473 - Disclosure - Investments",
     "menuCat": "Notes",
     "order": "16",
     "role": "http://www.saratogainvestmentcorp.com/role/Investments",
     "shortName": "Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c613",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995474 - Disclosure - Income Taxes",
     "menuCat": "Notes",
     "order": "17",
     "role": "http://www.saratogainvestmentcorp.com/role/IncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995475 - Disclosure - Agreements and Related Party Transactions",
     "menuCat": "Notes",
     "order": "18",
     "role": "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactions",
     "shortName": "Agreements and Related Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995476 - Disclosure - Borrowings",
     "menuCat": "Notes",
     "order": "19",
     "role": "http://www.saratogainvestmentcorp.com/role/Borrowings",
     "shortName": "Borrowings",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "001 - Statement - Consolidated Statements of Assets and Liabilities",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
     "shortName": "Consolidated Statements of Assets and Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995477 - Disclosure - Commitments and Contingencies",
     "menuCat": "Notes",
     "order": "20",
     "role": "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:DirectorsFeesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995478 - Disclosure - Directors Fees",
     "menuCat": "Notes",
     "order": "21",
     "role": "http://www.saratogainvestmentcorp.com/role/DirectorsFees",
     "shortName": "Directors Fees",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:DirectorsFeesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995479 - Disclosure - Stockholders' Equity",
     "menuCat": "Notes",
     "order": "22",
     "role": "http://www.saratogainvestmentcorp.com/role/StockholdersEquity",
     "shortName": "Stockholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995480 - Disclosure - Earnings Per Share",
     "menuCat": "Notes",
     "order": "23",
     "role": "http://www.saratogainvestmentcorp.com/role/EarningsPerShare",
     "shortName": "Earnings Per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:DividendDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995481 - Disclosure - Dividend",
     "menuCat": "Notes",
     "order": "24",
     "role": "http://www.saratogainvestmentcorp.com/role/Dividend",
     "shortName": "Dividend",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:DividendDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c589",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995482 - Disclosure - Financial Highlights",
     "menuCat": "Notes",
     "order": "25",
     "role": "http://www.saratogainvestmentcorp.com/role/FinancialHighlights",
     "shortName": "Financial Highlights",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c589",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:QuarterlyFinancialInformationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995483 - Disclosure - Selected Quarterly Data (Unaudited)",
     "menuCat": "Notes",
     "order": "26",
     "role": "http://www.saratogainvestmentcorp.com/role/SelectedQuarterlyDataUnaudited",
     "shortName": "Selected Quarterly Data (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:QuarterlyFinancialInformationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995484 - Disclosure - Subsequent Events",
     "menuCat": "Notes",
     "order": "27",
     "role": "http://www.saratogainvestmentcorp.com/role/SubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995485 - Disclosure - Accounting Policies, by Policy (Policies)",
     "menuCat": "Policies",
     "order": "28",
     "role": "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy",
     "shortName": "Accounting Policies, by Policy (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995486 - Disclosure - Summary of Significant Accounting Policies (Tables)",
     "menuCat": "Tables",
     "order": "29",
     "role": "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesTables",
     "shortName": "Summary of Significant Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "002 - Statement - Consolidated Statements of Assets and Liabilities (Parentheticals)",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
     "shortName": "Consolidated Statements of Assets and Liabilities (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesBalancePrincipalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:ScheduleOfFairValueMeasurementOfInvestmentsByMajorClassTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995487 - Disclosure - Investments (Tables)",
     "menuCat": "Tables",
     "order": "30",
     "role": "http://www.saratogainvestmentcorp.com/role/InvestmentsTables",
     "shortName": "Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:ScheduleOfFairValueMeasurementOfInvestmentsByMajorClassTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:ScheduleOfUSFederalExciseAndCapitalGainsTaxAndWorthlessSecuritiesLossesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995488 - Disclosure - Income Taxes (Tables)",
     "menuCat": "Tables",
     "order": "31",
     "role": "http://www.saratogainvestmentcorp.com/role/IncomeTaxesTables",
     "shortName": "Income Taxes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:ScheduleOfUSFederalExciseAndCapitalGainsTaxAndWorthlessSecuritiesLossesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995489 - Disclosure - Borrowings (Tables)",
     "menuCat": "Tables",
     "order": "32",
     "role": "http://www.saratogainvestmentcorp.com/role/BorrowingsTables",
     "shortName": "Borrowings (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:ScheduleOfPaymentObligationsForRepaymentOfDebtAndOtherContractualObligationsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995490 - Disclosure - Commitments and Contingencies (Tables)",
     "menuCat": "Tables",
     "order": "33",
     "role": "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesTables",
     "shortName": "Commitments and Contingencies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:ScheduleOfPaymentObligationsForRepaymentOfDebtAndOtherContractualObligationsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995491 - Disclosure - Stockholders' Equity (Tables)",
     "menuCat": "Tables",
     "order": "34",
     "role": "http://www.saratogainvestmentcorp.com/role/StockholdersEquityTables",
     "shortName": "Stockholders' Equity (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfWeightedAverageNumberOfSharesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995492 - Disclosure - Earnings Per Share (Tables)",
     "menuCat": "Tables",
     "order": "35",
     "role": "http://www.saratogainvestmentcorp.com/role/EarningsPerShareTables",
     "shortName": "Earnings Per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfWeightedAverageNumberOfSharesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:ScheduleOfPaymentDateTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995493 - Disclosure - Dividend (Tables)",
     "menuCat": "Tables",
     "order": "36",
     "role": "http://www.saratogainvestmentcorp.com/role/DividendTables",
     "shortName": "Dividend (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:ScheduleOfPaymentDateTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c589",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995494 - Disclosure - Financial Highlights (Tables)",
     "menuCat": "Tables",
     "order": "37",
     "role": "http://www.saratogainvestmentcorp.com/role/FinancialHighlightsTables",
     "shortName": "Financial Highlights (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c589",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995495 - Disclosure - Selected Quarterly Data (Unaudited) (Tables)",
     "menuCat": "Tables",
     "order": "38",
     "role": "http://www.saratogainvestmentcorp.com/role/SelectedQuarterlyDataUnauditedTables",
     "shortName": "Selected Quarterly Data (Unaudited) (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "sar:PrincipalOfALoan",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995496 - Disclosure - Organization (Details)",
     "menuCat": "Details",
     "order": "39",
     "role": "http://www.saratogainvestmentcorp.com/role/OrganizationDetails",
     "shortName": "Organization (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "sar:PrincipalOfALoan",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestIncomeInterestEarningAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "003 - Statement - Consolidated Statements of Operations (Unaudited)",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement",
     "shortName": "Consolidated Statements of Operations (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestIncomeInterestEarningAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "sar:AggregateValueOfTotalAssetsPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995497 - Disclosure - Summary of Significant Accounting Policies (Details)",
     "menuCat": "Details",
     "order": "40",
     "role": "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails",
     "shortName": "Summary of Significant Accounting Policies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "sar:AggregateValueOfTotalAssetsPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995498 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of reconciliation of cash and cash equivalents and cash and cash equivalents",
     "menuCat": "Details",
     "order": "41",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofcashandcashequivalentsandcashandcashequivalentsTable",
     "shortName": "Summary of Significant Accounting Policies (Details) - Schedule of reconciliation of cash and cash equivalents and cash and cash equivalents",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:CLOMemberValuationModelInputs",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995499 - Disclosure - Investments (Details)",
     "menuCat": "Details",
     "order": "42",
     "role": "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
     "shortName": "Investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:CLOMemberValuationModelInputs",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfFairValueMeasurementOfInvestmentsByMajorClassTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:FirstLienTermLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995500 - Disclosure - Investments (Details) - Schedule of fair value measurements of investments, by major class",
     "menuCat": "Details",
     "order": "43",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable",
     "shortName": "Investments (Details) - Schedule of fair value measurements of investments, by major class",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfFairValueMeasurementOfInvestmentsByMajorClassTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:FirstLienTermLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c6",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995501 - Disclosure - Investments (Details) - Schedule of reconciliation of beginning and ending balances for investments",
     "menuCat": "Details",
     "order": "44",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable",
     "shortName": "Investments (Details) - Schedule of reconciliation of beginning and ending balances for investments",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c31",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:FairValueMeasurement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995502 - Disclosure - Investments (Details) - Schedule of valuation techniques and significant unobservable inputs used in recurring Level 3 fair value measurements of assets",
     "menuCat": "Details",
     "order": "45",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable",
     "shortName": "Investments (Details) - Schedule of valuation techniques and significant unobservable inputs used in recurring Level 3 fair value measurements of assets",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:FairValueMeasurement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtAmortizedValueTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:InvestmentsAtAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995503 - Disclosure - Investments (Details) - Schedule of investments at amortized cost and fair value",
     "menuCat": "Details",
     "order": "46",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable",
     "shortName": "Investments (Details) - Schedule of investments at amortized cost and fair value",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtAmortizedValueTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:InvestmentsAtAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "sar:PercentageOfInvestmentOfTaxableIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995504 - Disclosure - Income Taxes (Details)",
     "menuCat": "Details",
     "order": "47",
     "role": "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails",
     "shortName": "Income Taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "sar:PercentageOfInvestmentOfTaxableIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfUSFederalExciseAndCapitalGainsTaxAndWorthlessSecuritiesLossesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:CapitalInExcessParValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995505 - Disclosure - Income Taxes (Details) - Schedule of U.S. federal excise and capital gains tax and worthless securities losses",
     "menuCat": "Details",
     "order": "48",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofUSfederalexciseandcapitalgainstaxandworthlesssecuritieslossesTable",
     "shortName": "Income Taxes (Details) - Schedule of U.S. federal excise and capital gains tax and worthless securities losses",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfUSFederalExciseAndCapitalGainsTaxAndWorthlessSecuritiesLossesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:CapitalInExcessParValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfTaxCharacterOfDistributionsPaidTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995506 - Disclosure - Income Taxes (Details) - Schedule of tax character of distributions paid",
     "menuCat": "Details",
     "order": "49",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleoftaxcharacterofdistributionspaidTable",
     "shortName": "Income Taxes (Details) - Schedule of tax character of distributions paid",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfTaxCharacterOfDistributionsPaidTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": null,
     "groupType": "statement",
     "isDefault": "false",
     "longName": "004 - Statement - Consolidated Statements of Operations (Unaudited) (Parentheticals)",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement_Parentheticals",
     "shortName": "Consolidated Statements of Operations (Unaudited) (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfComponentsOfAccumulatedLossesOnATaxBasisTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:AccumulatedCapitalLosse",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995507 - Disclosure - Income Taxes (Details) - Schedule of components of accumulated losses on a tax basis",
     "menuCat": "Details",
     "order": "50",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofcomponentsofaccumulatedlossesonataxbasisTable",
     "shortName": "Income Taxes (Details) - Schedule of components of accumulated losses on a tax basis",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfComponentsOfAccumulatedLossesOnATaxBasisTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:AccumulatedCapitalLosse",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995508 - Disclosure - Income Taxes (Details) - Schedule of deferred tax assets and liabilities",
     "menuCat": "Details",
     "order": "51",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable",
     "shortName": "Income Taxes (Details) - Schedule of deferred tax assets and liabilities",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995509 - Disclosure - Income Taxes (Details) - Schedule of federal and state income tax provisions benefit",
     "menuCat": "Details",
     "order": "52",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable",
     "shortName": "Income Taxes (Details) - Schedule of federal and state income tax provisions benefit",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c743",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:ManagementAgreement",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995510 - Disclosure - Agreements and Related Party Transactions (Details)",
     "menuCat": "Details",
     "order": "53",
     "role": "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
     "shortName": "Agreements and Related Party Transactions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c743",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "sar:ManagementAgreement",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LineOfCreditFacilityDescription",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995511 - Disclosure - Borrowings (Details)",
     "menuCat": "Details",
     "order": "54",
     "role": "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
     "shortName": "Borrowings (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:LineOfCreditFacilityRevolvingCreditConversionToTermLoanDescription",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityCommitmentFeePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c1031",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995512 - Disclosure - Borrowings (Details) - Schedule of credit facility",
     "menuCat": "Details",
     "order": "55",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable",
     "shortName": "Borrowings (Details) - Schedule of credit facility",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfLineOfCreditFacilitiesTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c1031",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:OffBalanceSheetCreditLossLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995513 - Disclosure - Commitments and Contingencies (Details)",
     "menuCat": "Details",
     "order": "56",
     "role": "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesDetails",
     "shortName": "Commitments and Contingencies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:OffBalanceSheetCreditLossLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfPaymentObligationsForRepaymentOfDebtAndOtherContractualObligationsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995514 - Disclosure - Commitments and Contingencies (Details) - Schedule of payment obligations for repayment of debt and other contractual obligations",
     "menuCat": "Details",
     "order": "57",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable",
     "shortName": "Commitments and Contingencies (Details) - Schedule of payment obligations for repayment of debt and other contractual obligations",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfPaymentObligationsForRepaymentOfDebtAndOtherContractualObligationsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:OffBalanceSheetArrangements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995515 - Disclosure - Commitments and Contingencies (Details) - Schedule of unfunded commitments outstanding",
     "menuCat": "Details",
     "order": "58",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable",
     "shortName": "Commitments and Contingencies (Details) - Schedule of unfunded commitments outstanding",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "sar:OffBalanceSheetArrangements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "sar:DirectorsAnnualFee",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995516 - Disclosure - Directors Fees (Details)",
     "menuCat": "Details",
     "order": "59",
     "role": "http://www.saratogainvestmentcorp.com/role/DirectorsFeesDetails",
     "shortName": "Directors Fees (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "sar:DirectorsAnnualFee",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetInvestmentIncome",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "005 - Statement - Consolidated Statements of Changes in Net Assets (Unaudited)",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow",
     "shortName": "Consolidated Statements of Changes in Net Assets (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "lang": null,
      "name": "sar:InvestmentCompanyDistributionToShareholders",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesIssued",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995517 - Disclosure - Stockholders' Equity (Details)",
     "menuCat": "Details",
     "order": "60",
     "role": "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails",
     "shortName": "Stockholders' Equity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c1173",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesBalanceShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c1244",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "sar:NetAssets",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995518 - Disclosure - Stockholders' Equity (Details) - Schedule of reconciliation of the changes in each significant caption of stockholders\u2019 equity",
     "menuCat": "Details",
     "order": "61",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable",
     "shortName": "Stockholders' Equity (Details) - Schedule of reconciliation of the changes in each significant caption of stockholders\u2019 equity",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c1216",
      "decimals": "0",
      "lang": null,
      "name": "sar:ProceedsFromIssuancesOfCommonStock",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995519 - Disclosure - Earnings Per Share (Details) - Schedule of weighted average basic and diluted net increase (decrease) in net assets",
     "menuCat": "Details",
     "order": "62",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsTable",
     "shortName": "Earnings Per Share (Details) - Schedule of weighted average basic and diluted net increase (decrease) in net assets",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "sar:DistributionPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995520 - Disclosure - Dividend (Details)",
     "menuCat": "Details",
     "order": "63",
     "role": "http://www.saratogainvestmentcorp.com/role/DividendDetails",
     "shortName": "Dividend (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "sar:DistributionPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfPaymentDateTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c1341",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995521 - Disclosure - Dividend (Details) - Schedule of payment date",
     "menuCat": "Details",
     "order": "64",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable",
     "shortName": "Dividend (Details) - Schedule of payment date",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "sar:ScheduleOfPaymentDateTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c1341",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:DividendsDeclaredTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:DividendsPayableAmountPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995522 - Disclosure - Dividend (Details) - Schedule of dividends declared",
     "menuCat": "Details",
     "order": "65",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable",
     "shortName": "Dividend (Details) - Schedule of dividends declared",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:DividendsDeclaredTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:DividendsPayableAmountPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "sar:IndebtednessAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995523 - Disclosure - Financial Highlights (Details)",
     "menuCat": "Details",
     "order": "66",
     "role": "http://www.saratogainvestmentcorp.com/role/FinancialHighlightsDetails",
     "shortName": "Financial Highlights (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "sar:IndebtednessAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c6",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995524 - Disclosure - Financial Highlights (Details) - Schedule of financial highlights",
     "menuCat": "Details",
     "order": "67",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable",
     "shortName": "Financial Highlights (Details) - Schedule of financial highlights",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c1436",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usdPershares",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c1497",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentIncomeNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995525 - Disclosure -  Selected Quarterly Data (Unaudited) (Details) - Schedule of selected quarterly data",
     "menuCat": "Details",
     "order": "68",
     "role": "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable",
     "shortName": "Selected Quarterly Data (Unaudited) (Details) - Schedule of selected quarterly data",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c1497",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentIncomeNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c5",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995526 - Disclosure - Subsequent Events (Details)",
     "menuCat": "Details",
     "order": "69",
     "role": "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails",
     "shortName": "Subsequent Events (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "006 - Statement - Consolidated Statements of Cash Flows (Unaudited)",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
     "shortName": "Consolidated Statements of Cash Flows (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c37",
      "decimals": "5",
      "first": true,
      "lang": null,
      "name": "sar:PremiumOnDebtIssuancePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "007 - Statement - Consolidated Statements of Cash Flows (Unaudited) (Parentheticals)",
     "menuCat": "Statements",
     "order": "8",
     "role": "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow_Parentheticals",
     "shortName": "Consolidated Statements of Cash Flows (Unaudited) (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c37",
      "decimals": "5",
      "first": true,
      "lang": null,
      "name": "sar:PremiumOnDebtIssuancePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c45",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "008 - Statement - Consolidated Schedule of Investments",
     "menuCat": "Statements",
     "order": "9",
     "role": "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
     "shortName": "Consolidated Schedule of Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "f10k2023_saratoga.htm",
      "contextRef": "c45",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 500,
   "tag": {
    "cef_AcquiredFundFeesAndExpensesNoteTextBlock": {
     "auth_ref": [
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundFeesAndExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundFeesAndExpensesPercent": {
     "auth_ref": [
      "r634"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses [Percent]"
       }
      }
     },
     "localname": "AcquiredFundFeesAndExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AcquiredFundFeesEstimatedNoteTextBlock": {
     "auth_ref": [
      "r635"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees Estimated, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundFeesEstimatedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundIncentiveAllocationNoteTextBlock": {
     "auth_ref": [
      "r636"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Incentive Allocation, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundIncentiveAllocationNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundTotalAnnualExpensesNoteTextBlock": {
     "auth_ref": [
      "r637"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Total Annual Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundTotalAnnualExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AllRisksMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Risks:"
       }
      }
     },
     "localname": "AllRisksMember",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "cef_AllSecuritiesMember": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Securities:"
       }
      }
     },
     "localname": "AllSecuritiesMember",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "cef_AnnualCoverageReturnRatePercent": {
     "auth_ref": [
      "r663"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Coverage Return Rate [Percent]"
       }
      }
     },
     "localname": "AnnualCoverageReturnRatePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualDividendPayment": {
     "auth_ref": [
      "r662"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment"
       }
      }
     },
     "localname": "AnnualDividendPayment",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualDividendPaymentCurrent": {
     "auth_ref": [
      "r662"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Current"
       }
      }
     },
     "localname": "AnnualDividendPaymentCurrent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualDividendPaymentInitial": {
     "auth_ref": [
      "r662"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Initial"
       }
      }
     },
     "localname": "AnnualDividendPaymentInitial",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualExpensesTableTextBlock": {
     "auth_ref": [
      "r641"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Expenses [Table Text Block]"
       }
      }
     },
     "localname": "AnnualExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AnnualInterestRateCurrentPercent": {
     "auth_ref": [
      "r662"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Current [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRateCurrentPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualInterestRateInitialPercent": {
     "auth_ref": [
      "r662"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Initial [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRateInitialPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualInterestRatePercent": {
     "auth_ref": [
      "r662"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRatePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_BasisOfTransactionFeesNoteTextBlock": {
     "auth_ref": [
      "r639"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Transaction Fees, Note [Text Block]"
       }
      }
     },
     "localname": "BasisOfTransactionFeesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_BdcFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BDC File Number"
       }
      }
     },
     "localname": "BdcFileNumber",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "cef_BusinessDevelopmentCompanyFlag": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Development Company [Flag]"
       }
      }
     },
     "localname": "BusinessDevelopmentCompanyFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_CapitalStockLongTermDebtAndOtherSecuritiesAbstract": {
     "auth_ref": [
      "r607"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock, Long-Term Debt, and Other Securities [Abstract]"
       }
      }
     },
     "localname": "CapitalStockLongTermDebtAndOtherSecuritiesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_CapitalStockTableTextBlock": {
     "auth_ref": [
      "r608"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock [Table Text Block]"
       }
      }
     },
     "localname": "CapitalStockTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_DistributionServicingFeesPercent": {
     "auth_ref": [
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution/Servicing Fees [Percent]"
       }
      }
     },
     "localname": "DistributionServicingFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DistributionsMayReducePrincipalTextBlock": {
     "auth_ref": [
      "r615"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distributions May Reduce Principal [Text Block]"
       }
      }
     },
     "localname": "DistributionsMayReducePrincipalTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_DividendAndInterestExpensesOnShortSalesPercent": {
     "auth_ref": [
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend and Interest Expenses on Short Sales [Percent]"
       }
      }
     },
     "localname": "DividendAndInterestExpensesOnShortSalesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DividendExpenseOnPreferredSharesPercent": {
     "auth_ref": [
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Expenses on Preferred Shares [Percent]"
       }
      }
     },
     "localname": "DividendExpenseOnPreferredSharesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DividendReinvestmentAndCashPurchaseFees": {
     "auth_ref": [
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Reinvestment and Cash Purchase Fees"
       }
      }
     },
     "localname": "DividendReinvestmentAndCashPurchaseFees",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_EffectsOfLeveragePurposeTextBlock": {
     "auth_ref": [
      "r664"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage, Purpose [Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeveragePurposeTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_EffectsOfLeverageTableTextBlock": {
     "auth_ref": [
      "r664"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Table Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeverageTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_EffectsOfLeverageTextBlock": {
     "auth_ref": [
      "r661"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeverageTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ExpenseExampleTableTextBlock": {
     "auth_ref": [
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example [Table Text Block]"
       }
      }
     },
     "localname": "ExpenseExampleTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ExpenseExampleYear01": {
     "auth_ref": [
      "r638"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Year 01"
       }
      }
     },
     "localname": "ExpenseExampleYear01",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to10": {
     "auth_ref": [
      "r638"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 10"
       }
      }
     },
     "localname": "ExpenseExampleYears1to10",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to3": {
     "auth_ref": [
      "r638"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 3"
       }
      }
     },
     "localname": "ExpenseExampleYears1to3",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to5": {
     "auth_ref": [
      "r638"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 5"
       }
      }
     },
     "localname": "ExpenseExampleYears1to5",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_FeeTableAbstract": {
     "auth_ref": [
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Table [Abstract]"
       }
      }
     },
     "localname": "FeeTableAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_FinancialHighlightsAbstract": {
     "auth_ref": [
      "r646"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Highlights [Abstract]"
       }
      }
     },
     "localname": "FinancialHighlightsAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_GeneralDescriptionOfRegistrantAbstract": {
     "auth_ref": [
      "r658"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General Description of Registrant [Abstract]"
       }
      }
     },
     "localname": "GeneralDescriptionOfRegistrantAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_HighestPriceOrBid": {
     "auth_ref": [
      "r665"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid"
       }
      }
     },
     "localname": "HighestPriceOrBid",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_HighestPriceOrBidNav": {
     "auth_ref": [
      "r669"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, NAV"
       }
      }
     },
     "localname": "HighestPriceOrBidNav",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_HighestPriceOrBidPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r670"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "HighestPriceOrBidPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationMaximumPercent": {
     "auth_ref": [
      "r636"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Maximum [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationMaximumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationMinimumPercent": {
     "auth_ref": [
      "r636"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Minimum [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationMinimumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationPercent": {
     "auth_ref": [
      "r636"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveFeesPercent": {
     "auth_ref": [
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Fees [Percent]"
       }
      }
     },
     "localname": "IncentiveFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_InterestExpensesOnBorrowingsPercent": {
     "auth_ref": [
      "r644"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expenses on Borrowings [Percent]"
       }
      }
     },
     "localname": "InterestExpensesOnBorrowingsPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IntervalFundFlag": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interval Fund [Flag]"
       }
      }
     },
     "localname": "IntervalFundFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_InvestmentObjectivesAndPracticesTextBlock": {
     "auth_ref": [
      "r659"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Objectives and Practices [Text Block]"
       }
      }
     },
     "localname": "InvestmentObjectivesAndPracticesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LatestNav": {
     "auth_ref": [
      "r671"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest NAV"
       }
      }
     },
     "localname": "LatestNav",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LatestPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r671"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "LatestPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_LatestSharePrice": {
     "auth_ref": [
      "r671"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Share Price"
       }
      }
     },
     "localname": "LatestSharePrice",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LoanServicingFeesPercent": {
     "auth_ref": [
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Servicing Fees [Percent]"
       }
      }
     },
     "localname": "LoanServicingFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_LongTermDebtDividendsAndCovenantsTextBlock": {
     "auth_ref": [
      "r622"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Dividends and Covenants [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtDividendsAndCovenantsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtIssuanceAndSubstitutionTextBlock": {
     "auth_ref": [
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Issuance and Substitution [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtIssuanceAndSubstitutionTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtPrincipal": {
     "auth_ref": [
      "r620"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Principal"
       }
      }
     },
     "localname": "LongTermDebtPrincipal",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_LongTermDebtRightsLimitedByOtherSecuritiesTextBlock": {
     "auth_ref": [
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtRightsLimitedByOtherSecuritiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtStructuringTextBlock": {
     "auth_ref": [
      "r621"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Structuring [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtStructuringTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtTableTextBlock": {
     "auth_ref": [
      "r620"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt [Table Text Block]"
       }
      }
     },
     "localname": "LongTermDebtTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtTitleTextBlock": {
     "auth_ref": [
      "r620"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Title [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LowestPriceOrBid": {
     "auth_ref": [
      "r665"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid"
       }
      }
     },
     "localname": "LowestPriceOrBid",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LowestPriceOrBidNav": {
     "auth_ref": [
      "r669"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, NAV"
       }
      }
     },
     "localname": "LowestPriceOrBidNav",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LowestPriceOrBidPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r670"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "LowestPriceOrBidPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ManagementFeeNotBasedOnNetAssetsNoteTextBlock": {
     "auth_ref": [
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fee not based on Net Assets, Note [Text Block]"
       }
      }
     },
     "localname": "ManagementFeeNotBasedOnNetAssetsNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ManagementFeesPercent": {
     "auth_ref": [
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fees [Percent]"
       }
      }
     },
     "localname": "ManagementFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_NetExpenseOverAssetsPercent": {
     "auth_ref": [
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Expense over Assets [Percent]"
       }
      }
     },
     "localname": "NetExpenseOverAssetsPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_NewCefOrBdcRegistrantFlag": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New CEF or BDC Registrant [Flag]"
       }
      }
     },
     "localname": "NewCefOrBdcRegistrantFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_NoPublicTradingTextBlock": {
     "auth_ref": [
      "r668"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Public Trading [Text Block]"
       }
      }
     },
     "localname": "NoPublicTradingTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_NoTradingHistoryTextBlock": {
     "auth_ref": [
      "r672"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Trading History [Text Block]"
       }
      }
     },
     "localname": "NoTradingHistoryTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherAnnualExpense1Percent": {
     "auth_ref": [
      "r645"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 1.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 1 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense1Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpense2Percent": {
     "auth_ref": [
      "r645"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 2.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 2 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense2Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpense3Percent": {
     "auth_ref": [
      "r645"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 3.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 3 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense3Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpensesAbstract": {
     "auth_ref": [
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Abstract]"
       }
      }
     },
     "localname": "OtherAnnualExpensesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_OtherAnnualExpensesPercent": {
     "auth_ref": [
      "r645"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherExpensesNoteTextBlock": {
     "auth_ref": [
      "r641"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "OtherExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherFeederFundExpensesPercent": {
     "auth_ref": [
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Feeder Fund Expenses [Percent]"
       }
      }
     },
     "localname": "OtherFeederFundExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherMasterFundExpensesPercent": {
     "auth_ref": [
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Master Fund Expenses [Percent]"
       }
      }
     },
     "localname": "OtherMasterFundExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherSecuritiesTableTextBlock": {
     "auth_ref": [
      "r625"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Securities [Table Text Block]"
       }
      }
     },
     "localname": "OtherSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherSecurityDescriptionTextBlock": {
     "auth_ref": [
      "r625"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Description [Text Block]"
       }
      }
     },
     "localname": "OtherSecurityDescriptionTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherSecurityTitleTextBlock": {
     "auth_ref": [
      "r625"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Title [Text Block]"
       }
      }
     },
     "localname": "OtherSecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherTransactionExpense1Percent": {
     "auth_ref": [
      "r640"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 1.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 1 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense1Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpense2Percent": {
     "auth_ref": [
      "r640"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 2.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 2 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense2Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpense3Percent": {
     "auth_ref": [
      "r640"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 3.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 3 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense3Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpensesAbstract": {
     "auth_ref": [
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Abstract]"
       }
      }
     },
     "localname": "OtherTransactionExpensesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_OtherTransactionExpensesPercent": {
     "auth_ref": [
      "r640"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionFeesBasisMaximum": {
     "auth_ref": [
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisMaximum",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_OtherTransactionFeesBasisMaximumPercent": {
     "auth_ref": [
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum [Percent]"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisMaximumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionFeesBasisNoteTextBlock": {
     "auth_ref": [
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Note [Text Block]"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherTransactionFeesNoteTextBlock": {
     "auth_ref": [
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees, Note [Text Block]"
       }
      }
     },
     "localname": "OtherTransactionFeesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OutstandingSecuritiesTableTextBlock": {
     "auth_ref": [
      "r626"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Securities [Table Text Block]"
       }
      }
     },
     "localname": "OutstandingSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OutstandingSecurityAuthorizedShares": {
     "auth_ref": [
      "r628"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Authorized [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityAuthorizedShares",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityHeldShares": {
     "auth_ref": [
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Held [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityHeldShares",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityNotHeldShares": {
     "auth_ref": [
      "r630"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Not Held [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityNotHeldShares",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityTitleTextBlock": {
     "auth_ref": [
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Title [Text Block]"
       }
      }
     },
     "localname": "OutstandingSecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PreferredStockRestrictionsArrearageTextBlock": {
     "auth_ref": [
      "r616"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Arrearage [Text Block]"
       }
      }
     },
     "localname": "PreferredStockRestrictionsArrearageTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PreferredStockRestrictionsOtherTextBlock": {
     "auth_ref": [
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Other [Text Block]"
       }
      }
     },
     "localname": "PreferredStockRestrictionsOtherTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PrimaryShelfFlag": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf [Flag]"
       }
      }
     },
     "localname": "PrimaryShelfFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_PrimaryShelfQualifiedFlag": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf Qualified [Flag]"
       }
      }
     },
     "localname": "PrimaryShelfQualifiedFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_ProspectusLineItems": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Line Items]"
       }
      }
     },
     "localname": "ProspectusLineItems",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "xbrltype": "stringItemType"
    },
    "cef_ProspectusTable": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus:"
       }
      }
     },
     "localname": "ProspectusTable",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_PurposeOfFeeTableNoteTextBlock": {
     "auth_ref": [
      "r632"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purpose of Fee Table , Note [Text Block]"
       }
      }
     },
     "localname": "PurposeOfFeeTableNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RegisteredClosedEndFundFlag": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registered Closed-End Fund [Flag]"
       }
      }
     },
     "localname": "RegisteredClosedEndFundFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_ReturnAtMinusFivePercent": {
     "auth_ref": [
      "r664"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Five [Percent]"
       }
      }
     },
     "localname": "ReturnAtMinusFivePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtMinusTenPercent": {
     "auth_ref": [
      "r664"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Ten [Percent]"
       }
      }
     },
     "localname": "ReturnAtMinusTenPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtPlusFivePercent": {
     "auth_ref": [
      "r664"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Five [Percent]"
       }
      }
     },
     "localname": "ReturnAtPlusFivePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtPlusTenPercent": {
     "auth_ref": [
      "r664"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Ten [Percent]"
       }
      }
     },
     "localname": "ReturnAtPlusTenPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtZeroPercent": {
     "auth_ref": [
      "r664"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Zero [Percent]"
       }
      }
     },
     "localname": "ReturnAtZeroPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_RightsLimitedByOtherSecuritiesTextBlock": {
     "auth_ref": [
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "localname": "RightsLimitedByOtherSecuritiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RightsSubjectToOtherThanMajorityVoteTextBlock": {
     "auth_ref": [
      "r618"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Subject to Other than Majority Vote [Text Block]"
       }
      }
     },
     "localname": "RightsSubjectToOtherThanMajorityVoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RiskAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Axis]"
       }
      }
     },
     "localname": "RiskAxis",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_RiskFactorsTableTextBlock": {
     "auth_ref": [
      "r660"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Factors [Table Text Block]"
       }
      }
     },
     "localname": "RiskFactorsTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RiskTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Text Block]"
       }
      }
     },
     "localname": "RiskTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SalesLoadPercent": {
     "auth_ref": [
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales Load [Percent]"
       }
      }
     },
     "localname": "SalesLoadPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_SecurityAxis": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security [Axis]"
       }
      }
     },
     "localname": "SecurityAxis",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_SecurityDividendsTextBlock": {
     "auth_ref": [
      "r609"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Dividends [Text Block]"
       }
      }
     },
     "localname": "SecurityDividendsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityLiabilitiesTextBlock": {
     "auth_ref": [
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liabilities [Text Block]"
       }
      }
     },
     "localname": "SecurityLiabilitiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityLiquidationRightsTextBlock": {
     "auth_ref": [
      "r611"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liquidation Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityLiquidationRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityObligationsOfOwnershipTextBlock": {
     "auth_ref": [
      "r614"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Obligations of Ownership [Text Block]"
       }
      }
     },
     "localname": "SecurityObligationsOfOwnershipTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityPreemptiveAndOtherRightsTextBlock": {
     "auth_ref": [
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Preemptive and Other Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityPreemptiveAndOtherRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityTitleTextBlock": {
     "auth_ref": [
      "r608"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Title [Text Block]"
       }
      }
     },
     "localname": "SecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityVotingRightsTextBlock": {
     "auth_ref": [
      "r610"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Voting Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityVotingRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesAmount": {
     "auth_ref": [
      "r651"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Amount"
       }
      }
     },
     "localname": "SeniorSecuritiesAmount",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_SeniorSecuritiesAverageMarketValuePerUnit": {
     "auth_ref": [
      "r654"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Average Market Value per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesAverageMarketValuePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesAveragingMethodNoteTextBlock": {
     "auth_ref": [
      "r656"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Averaging Method, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesAveragingMethodNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesCoveragePerUnit": {
     "auth_ref": [
      "r652"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Coverage per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesCoveragePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesHeadingsNoteTextBlock": {
     "auth_ref": [
      "r657"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Headings, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHeadingsNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesHighlightsAnnualizedNoteTextBlock": {
     "auth_ref": [
      "r648",
      "r655"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Annualized, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHighlightsAnnualizedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesHighlightsAuditedNoteTextBlock": {
     "auth_ref": [
      "r649",
      "r655"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Audited, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHighlightsAuditedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit": {
     "auth_ref": [
      "r653"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Involuntary Liquidating Preference per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesNoteTextBlock": {
     "auth_ref": [
      "r647",
      "r655"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesTableTextBlock": {
     "auth_ref": [
      "r650"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities [Table Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SharePriceTableTextBlock": {
     "auth_ref": [
      "r666"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Price [Table Text Block]"
       }
      }
     },
     "localname": "SharePriceTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SharePricesNotActualTransactionsTextBlock": {
     "auth_ref": [
      "r667"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Prices Not Actual Transactions [Text Block]"
       }
      }
     },
     "localname": "SharePricesNotActualTransactionsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ShareholderTransactionExpensesTableTextBlock": {
     "auth_ref": [
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Transaction Expenses [Table Text Block]"
       }
      }
     },
     "localname": "ShareholderTransactionExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_TotalAnnualExpensesPercent": {
     "auth_ref": [
      "r644"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Annual Expenses [Percent]"
       }
      }
     },
     "localname": "TotalAnnualExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_UnderwritersCompensationPercent": {
     "auth_ref": [
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underwriters Compensation [Percent]"
       }
      }
     },
     "localname": "UnderwritersCompensationPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_WaiversAndReimbursementsOfFeesPercent": {
     "auth_ref": [
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Waivers and Reimbursements of Fees [Percent]"
       }
      }
     },
     "localname": "WaiversAndReimbursementsOfFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_WarrantsOrRightsCalledAmount": {
     "auth_ref": [
      "r625"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Amount"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledAmount",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_WarrantsOrRightsCalledPeriodDate": {
     "auth_ref": [
      "r625"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Period [Date]"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledPeriodDate",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "cef_WarrantsOrRightsCalledTitleTextBlock": {
     "auth_ref": [
      "r625"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Title"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_WarrantsOrRightsExercisePrice": {
     "auth_ref": [
      "r625"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Exercise Price"
       }
      }
     },
     "localname": "WarrantsOrRightsExercisePrice",
     "nsuri": "http://xbrl.sec.gov/cef/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "dei_AdditionalSecurities462b": {
     "auth_ref": [
      "r683"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities. 462(b)"
       }
      }
     },
     "localname": "AdditionalSecurities462b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AdditionalSecurities462bFileNumber": {
     "auth_ref": [
      "r683"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities, 462(b), File Number"
       }
      }
     },
     "localname": "AdditionalSecurities462bFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_AdditionalSecuritiesEffective413b": {
     "auth_ref": [
      "r682"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities Effective, 413(b)"
       }
      }
     },
     "localname": "AdditionalSecuritiesEffective413b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AddressTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types.",
        "label": "Address Type [Domain]"
       }
      }
     },
     "localname": "AddressTypeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of changes contained within amended document.",
        "label": "Amendment Description"
       }
      }
     },
     "localname": "AmendmentDescription",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_ApproximateDateOfCommencementOfProposedSaleToThePublic": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The approximate date of a commencement of a proposed sale of securities to the public. This element is disclosed in S-1, S-3, S-4, S-11, F-1, F-3 and F-10 filings.",
        "label": "Approximate Date of Commencement of Proposed Sale to Public"
       }
      }
     },
     "localname": "ApproximateDateOfCommencementOfProposedSaleToThePublic",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateOrAsapItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r602",
      "r603",
      "r604"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r602",
      "r603",
      "r604"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r602",
      "r603",
      "r604"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_BusinessContactMember": {
     "auth_ref": [
      "r603",
      "r604"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business contact for the entity",
        "label": "Business Contact [Member]"
       }
      }
     },
     "localname": "BusinessContactMember",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelName": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of contact personnel",
        "label": "Contact Personnel Name"
       }
      }
     },
     "localname": "ContactPersonnelName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DelayedOrContinuousOffering": {
     "auth_ref": [
      "r605",
      "r606",
      "r676"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Delayed or Continuous Offering"
       }
      }
     },
     "localname": "DelayedOrContinuousOffering",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DividendOrInterestReinvestmentPlanOnly": {
     "auth_ref": [
      "r605",
      "r606",
      "r676"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend or Interest Reinvestment Plan Only"
       }
      }
     },
     "localname": "DividendOrInterestReinvestmentPlanOnly",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r602",
      "r603",
      "r604"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "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"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "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"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "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]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "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]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "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"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentRegistrationStatement": {
     "auth_ref": [
      "r598"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a registration statement.",
        "label": "Document Registration Statement"
       }
      }
     },
     "localname": "DocumentRegistrationStatement",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r677"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "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"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EffectiveAfter60Days486a": {
     "auth_ref": [
      "r687"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective after 60 Days, 486(a)"
       }
      }
     },
     "localname": "EffectiveAfter60Days486a",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveOnDate486a": {
     "auth_ref": [
      "r687"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(a)"
       }
      }
     },
     "localname": "EffectiveOnDate486a",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_EffectiveOnDate486b": {
     "auth_ref": [
      "r688"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(b)"
       }
      }
     },
     "localname": "EffectiveOnDate486b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_EffectiveOnSetDate486a": {
     "auth_ref": [
      "r687"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(a)"
       }
      }
     },
     "localname": "EffectiveOnSetDate486a",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveOnSetDate486b": {
     "auth_ref": [
      "r688"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(b)"
       }
      }
     },
     "localname": "EffectiveOnSetDate486b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveUponFiling462e": {
     "auth_ref": [
      "r686"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Upon Filing, 462(e)"
       }
      }
     },
     "localname": "EffectiveUponFiling462e",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveUponFiling486b": {
     "auth_ref": [
      "r688"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective upon Filing, 486(b)"
       }
      }
     },
     "localname": "EffectiveUponFiling486b",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveWhenDeclaredSection8c": {
     "auth_ref": [
      "r690"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective when Declared, Section 8(c)"
       }
      }
     },
     "localname": "EffectiveWhenDeclaredSection8c",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "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"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 3 such as an Office Park",
        "label": "Entity Address, Address Line Three"
       }
      }
     },
     "localname": "EntityAddressAddressLine3",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "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"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "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"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Addresses, Address Type [Axis]"
       }
      }
     },
     "localname": "EntityAddressesAddressTypeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r600"
     ],
     "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"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "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"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "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"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r600"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r689"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Securities Act File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r600"
     ],
     "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"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "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"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r680"
     ],
     "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"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityInvCompanyType": {
     "auth_ref": [
      "r679"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product).",
        "label": "Entity Inv Company Type"
       }
      }
     },
     "localname": "EntityInvCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "invCompanyType"
    },
    "dei_EntityPublicFloat": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter.",
        "label": "Entity Public Float"
       }
      }
     },
     "localname": "EntityPublicFloat",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "monetaryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r600"
     ],
     "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"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r600"
     ],
     "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"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r600"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r600"
     ],
     "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"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r681"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_ExhibitsOnly462d": {
     "auth_ref": [
      "r685"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d)"
       }
      }
     },
     "localname": "ExhibitsOnly462d",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_ExhibitsOnly462dFileNumber": {
     "auth_ref": [
      "r685"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d), File Number"
       }
      }
     },
     "localname": "ExhibitsOnly462dFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r602",
      "r603",
      "r604"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyActFileNumber": {
     "auth_ref": [
      "r606",
      "r673",
      "r674",
      "r675"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act File Number"
       }
      }
     },
     "localname": "InvestmentCompanyActFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_InvestmentCompanyActRegistration": {
     "auth_ref": [
      "r678"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act Registration"
       }
      }
     },
     "localname": "InvestmentCompanyActRegistration",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyRegistrationAmendment": {
     "auth_ref": [
      "r678"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment"
       }
      }
     },
     "localname": "InvestmentCompanyRegistrationAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyRegistrationAmendmentNumber": {
     "auth_ref": [
      "r678"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment Number"
       }
      }
     },
     "localname": "InvestmentCompanyRegistrationAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_NewEffectiveDateForPreviousFiling": {
     "auth_ref": [
      "r606",
      "r673",
      "r674",
      "r675"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Effective Date for Previous Filing"
       }
      }
     },
     "localname": "NewEffectiveDateForPreviousFiling",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_NoSubstantiveChanges462c": {
     "auth_ref": [
      "r684"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c)"
       }
      }
     },
     "localname": "NoSubstantiveChanges462c",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_NoSubstantiveChanges462cFileNumber": {
     "auth_ref": [
      "r684"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c), File Number"
       }
      }
     },
     "localname": "NoSubstantiveChanges462cFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_PostEffectiveAmendment": {
     "auth_ref": [
      "r598"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-Effective Amendment"
       }
      }
     },
     "localname": "PostEffectiveAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_PostEffectiveAmendmentNumber": {
     "auth_ref": [
      "r598"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 after the registration becomes effective.",
        "label": "Post-Effective Amendment Number"
       }
      }
     },
     "localname": "PostEffectiveAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_PreEffectiveAmendment": {
     "auth_ref": [
      "r598"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pre-Effective Amendment"
       }
      }
     },
     "localname": "PreEffectiveAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_PreEffectiveAmendmentNumber": {
     "auth_ref": [
      "r598"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 before the registration becomes effective.",
        "label": "Pre-Effective Amendment Number"
       }
      }
     },
     "localname": "PreEffectiveAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r599"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r601"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "sar_ARCHealthOpCoLLC1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ARCHealth Op Co LLC1 Member",
        "terseLabel": "ARC Health OpCo LLC [Member]"
       }
      }
     },
     "localname": "ARCHealthOpCoLLC1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ARCHealthOpCoLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ARCHealth Op Co LLCMember",
        "terseLabel": "ARC Health OpCo LLC [Member]"
       }
      }
     },
     "localname": "ARCHealthOpCoLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ARCHealthOpCoLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ARCHealth Op Co LLCOne Member",
        "terseLabel": "ARC Health OpCo LLC One [Member]"
       }
      }
     },
     "localname": "ARCHealthOpCoLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ARCHealthOpCoLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ARCHealth Op Co LLCTwo Member",
        "terseLabel": "ARC Health OpCo LLC Two [Member]"
       }
      }
     },
     "localname": "ARCHealthOpCoLLCTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AccumulatedCapitalLosse": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated capital losses.",
        "label": "Accumulated Capital Losse",
        "negatedLabel": "Accumulated capital losses"
       }
      }
     },
     "localname": "AccumulatedCapitalLosse",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcomponentsofaccumulatedlossesonataxbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ActiveProspectInc1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Active Prospect Inc1 Member",
        "terseLabel": "ActiveProspect, Inc. [Member]"
       }
      }
     },
     "localname": "ActiveProspectInc1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ActiveProspectIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Active Prospect Inc Member",
        "terseLabel": "ActiveProspect, Inc. [Member]"
       }
      }
     },
     "localname": "ActiveProspectIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ActiveProspectIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Active Prospect Inc One Member",
        "terseLabel": "ActiveProspect, Inc. One [Member]"
       }
      }
     },
     "localname": "ActiveProspectIncOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AdditionalAnInvested": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional an invested.",
        "label": "Additional An Invested",
        "terseLabel": "Additional an invested"
       }
      }
     },
     "localname": "AdditionalAnInvested",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AdditionalLongTermCapital": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional long-term capital.",
        "label": "Additional Long Term Capital",
        "terseLabel": "Additional long-term capital"
       }
      }
     },
     "localname": "AdditionalLongTermCapital",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AdditionalPrincipalAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of additional principal amount to purchase underwriters options.",
        "label": "Additional Principal Amount",
        "terseLabel": "Additional aggregate principal amount"
       }
      }
     },
     "localname": "AdditionalPrincipalAmount",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AdministrationAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Administration Agreements Member",
        "terseLabel": "Administration Agreement [Member]",
        "verboseLabel": "Administration Agreements [Member]"
       }
      }
     },
     "localname": "AdministrationAgreementsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AffiliateInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_RealizedInvestmentGainsLosses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Affiliate Investments",
        "terseLabel": "Affiliate investments"
       }
      }
     },
     "localname": "AffiliateInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AffiliatePurchase": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of affiliate purchase.",
        "label": "Affiliate Purchase",
        "terseLabel": "Purchases"
       }
      }
     },
     "localname": "AffiliatePurchase",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AffiliateSales": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of affiliate sales.",
        "label": "Affiliate Sales",
        "terseLabel": "Sales"
       }
      }
     },
     "localname": "AffiliateSales",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AffiliatedInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Affiliated Investments Member",
        "terseLabel": "Affiliated Investments [Member]"
       }
      }
     },
     "localname": "AffiliatedInvestmentsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AgencyBlocLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Agency Bloc LLCMember",
        "terseLabel": "AgencyBloc, LLC [Member]"
       }
      }
     },
     "localname": "AgencyBlocLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AggregateCostOfCapital": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the equity contribution to a wholly owned subsidiary.",
        "label": "Aggregate Cost Of Capital",
        "terseLabel": "Aggregate cost of capital"
       }
      }
     },
     "localname": "AggregateCostOfCapital",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AggregateDividendAmountPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Dividend Amount Percentage",
        "terseLabel": "Aggregate dividend amount percentage"
       }
      }
     },
     "localname": "AggregateDividendAmountPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_AggregateValueOfTotalAssetsPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net assets of the aggregate value percentage.",
        "label": "Aggregate Value Of Total Assets Percentage",
        "terseLabel": "Aggregate value of total assets, percentage"
       }
      }
     },
     "localname": "AggregateValueOfTotalAssetsPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_AgreementAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Agreement Axis",
        "terseLabel": "Agreement [Axis]"
       }
      }
     },
     "localname": "AgreementAxis",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_AgreementDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Agreement [Domain]"
       }
      }
     },
     "localname": "AgreementDomain",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AgreementsandRelatedPartyTransactionsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Agreements and Related Party Transactions (Details) [Line Items]"
       }
      }
     },
     "localname": "AgreementsandRelatedPartyTransactionsDetailsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_AgreementsandRelatedPartyTransactionsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Agreements and Related Party Transactions (Details) [Table]"
       }
      }
     },
     "localname": "AgreementsandRelatedPartyTransactionsDetailsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_AltviaMidCoLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Altvia Mid Co LLCMember",
        "terseLabel": "Altvia MidCo, LLC. [Member]"
       }
      }
     },
     "localname": "AltviaMidCoLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AltviaMidCoLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Altvia Mid Co LLCOne Member",
        "terseLabel": "Altvia MidCo, LLC. [Member]"
       }
      }
     },
     "localname": "AltviaMidCoLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AmortizationOfDeferredDebtFinancingCosts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of amortization of deferred debt financing costs.",
        "label": "Amortization Of Deferred Debt Financing Costs",
        "terseLabel": "Amortization of deferred debt financing costs"
       }
      }
     },
     "localname": "AmortizationOfDeferredDebtFinancingCosts",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AmortizationOfDiscountOnIssuances": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization of discount on issuances.",
        "label": "Amortization Of Discount On Issuances",
        "terseLabel": "Amortization of discount on issuance"
       }
      }
     },
     "localname": "AmortizationOfDiscountOnIssuances",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AmortizationOfPremiumOnIssuances": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization Of Premium On Issuances",
        "terseLabel": "Amortization of premium on issuances"
       }
      }
     },
     "localname": "AmortizationOfPremiumOnIssuances",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AmortizedCostOfInvestmentAtFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment at fair value measured at amortized cost.",
        "label": "Amortized Cost Of Investment At Fair Value",
        "terseLabel": "Amortized cost of investment at fair value (in Dollars)"
       }
      }
     },
     "localname": "AmortizedCostOfInvestmentAtFairValue",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AmortizedCostPercentageOfTotalPortfolio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "It represent amortized cost percentage of total portfolio.",
        "label": "Amortized Cost Percentage Of Total Portfolio",
        "terseLabel": "Amortized Cost Percentage of Total Portfolio"
       }
      }
     },
     "localname": "AmortizedCostPercentageOfTotalPortfolio",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_AmountOfCommonStock": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of common stock.",
        "label": "Amount Of Common Stock",
        "terseLabel": "Amount of common stock"
       }
      }
     },
     "localname": "AmountOfCommonStock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ApexHoldingsSoftwareTechnologiesLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Apex Holdings Software Technologies LLCMember",
        "terseLabel": "Apex Holdings Software Technologies, LLC [Member]"
       }
      }
     },
     "localname": "ApexHoldingsSoftwareTechnologiesLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_April222021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "April222021 Member",
        "terseLabel": "April 22, 2021\t[Member]"
       }
      }
     },
     "localname": "April222021Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_April272016Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "April272016 Member",
        "terseLabel": "April 27, 2016\t[Member]"
       }
      }
     },
     "localname": "April272016Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ArbiterSportsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Arbiter Sports LLCMember",
        "terseLabel": "ArbiterSports, LLC [Member]"
       }
      }
     },
     "localname": "ArbiterSportsLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ArbiterSportsLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Arbiter Sports LLCOne Member",
        "terseLabel": "ArbiterSports, LLC One [Member]"
       }
      }
     },
     "localname": "ArbiterSportsLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ArchimedesParentLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Archimedes Parent LLCMember",
        "terseLabel": "Archimedes Parent LLC [Member]"
       }
      }
     },
     "localname": "ArchimedesParentLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ArteminWaxCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Artemin Wax Corp Member",
        "terseLabel": "Artemin Wax Corp. [Member]"
       }
      }
     },
     "localname": "ArteminWaxCorpMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ArtemisWaxCorpFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Artemis Wax Corp Four Member",
        "terseLabel": "Artemis Wax Corp. Four [Member]"
       }
      }
     },
     "localname": "ArtemisWaxCorpFourMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ArtemisWaxCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Artemis Wax Corp Member",
        "terseLabel": "Artemis Wax Corp.[Member]",
        "verboseLabel": "Artemis Wax Corp. [Member]"
       }
      }
     },
     "localname": "ArtemisWaxCorpMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ArtemisWaxCorpOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Artemis Wax Corp One Member",
        "terseLabel": "Artemis Wax Corp. One [Member]"
       }
      }
     },
     "localname": "ArtemisWaxCorpOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ArtemisWaxCorpThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Artemis Wax Corp Three Member",
        "terseLabel": "Artemis Wax Corp. Three [Member]"
       }
      }
     },
     "localname": "ArtemisWaxCorpThreeMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ArtemisWaxCorpTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Artemis Wax Corp Two Member",
        "terseLabel": "Artemis Wax Corp. Two [Member]"
       }
      }
     },
     "localname": "ArtemisWaxCorpTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AscendSoftwareLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ascend Software LLCMember",
        "terseLabel": "Ascend Software, LLC [Member]",
        "verboseLabel": "Ascend Software LLC [Member]"
       }
      }
     },
     "localname": "AscendSoftwareLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AscendSoftwareLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ascend Software LLCOne Member",
        "netLabel": "Ascend Software, LLC [Member]",
        "terseLabel": "Ascend Software LLC [Member]",
        "verboseLabel": "Ascend Software LLC One [Member]"
       }
      }
     },
     "localname": "AscendSoftwareLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AssetCoveragePerUnit": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The asset coverage ratio determines a company's ability to cover debt obligations with its assets after all liabilities have been satisfied.",
        "label": "Asset Coverage Per Unit",
        "terseLabel": "Asset Coverage per Unit"
       }
      }
     },
     "localname": "AssetCoveragePerUnit",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AssetCoverageRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total-debt-to-total-assets is a leverage ratio that defines the total amount of debt relative to assets owned by a company.",
        "label": "Asset Coverage Ratio",
        "terseLabel": "Asset coverage ratio"
       }
      }
     },
     "localname": "AssetCoverageRatio",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_AssetCoverageRatioPerUnits": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset coverage ratio per unit.",
        "label": "Asset Coverage Ratio Per Units",
        "terseLabel": "Asset coverage ratio per unit (in Dollars)"
       }
      }
     },
     "localname": "AssetCoverageRatioPerUnits",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_AtCompanySDiscretionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "At Company SDiscretion Abstract",
        "terseLabel": "At Company\u2019s discretion"
       }
      }
     },
     "localname": "AtCompanySDiscretionAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_AuditCommitteeAnnualFee": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of audit committee annual fees.",
        "label": "Audit Committee Annual Fee",
        "terseLabel": "Audit committee annual fees"
       }
      }
     },
     "localname": "AuditCommitteeAnnualFee",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_August122020Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "August122020 Member",
        "terseLabel": "August 12, 2020 [Member]"
       }
      }
     },
     "localname": "August122020Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_August262021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "August262021 Member",
        "terseLabel": "August 26, 2021 [Member]"
       }
      }
     },
     "localname": "August262021Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_August272019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "August272019 Member",
        "terseLabel": "August 27, 2019 [Member]"
       }
      }
     },
     "localname": "August272019Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_August282018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "August282018 Member",
        "terseLabel": "August 28, 2018 [Member]"
       }
      }
     },
     "localname": "August282018Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_August292022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "August292022 Member",
        "terseLabel": "August 29, 2022 [Member]"
       }
      }
     },
     "localname": "August292022Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_August312015Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "August312015 Member",
        "terseLabel": "August 31, 2015 [Member]"
       }
      }
     },
     "localname": "August312015Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_August92016Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "August92016 Member",
        "terseLabel": "August 9, 2016 [Member]"
       }
      }
     },
     "localname": "August92016Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AverageMarketValuePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Book value per share is a way to measure the net asset value investors get when they buy a share.",
        "label": "Average Market Value Per Share",
        "terseLabel": "Average Market Value per Share (in Dollars per share)"
       }
      }
     },
     "localname": "AverageMarketValuePerShare",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_AverageMarketValuePerUnitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Market Value Per Unit Abstract",
        "terseLabel": "Average market value per unit"
       }
      }
     },
     "localname": "AverageMarketValuePerUnitAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_AverageMarketValuePerUnitOfNotesPayable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average market value per unit of notes payable.",
        "label": "Average Market Value Per Unit Of Notes Payable",
        "terseLabel": "Average market value per unit"
       }
      }
     },
     "localname": "AverageMarketValuePerUnitOfNotesPayable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_AverageMarketValuePerUnitOfRevolvingCreditFacility": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average market value per unit of revolving credit facility\r     \n.",
        "label": "Average Market Value Per Unit Of Revolving Credit Facility",
        "terseLabel": "Revolving Credit Facility"
       }
      }
     },
     "localname": "AverageMarketValuePerUnitOfRevolvingCreditFacility",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_AverageMarketValuePerUnitOfSmallBusinessAdministrationDebenturesPayable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average market value per unit small business administration debenture payable.",
        "label": "Average Market Value Per Unit Of Small Business Administration Debentures Payable",
        "terseLabel": "SBA Debentures Payable"
       }
      }
     },
     "localname": "AverageMarketValuePerUnitOfSmallBusinessAdministrationDebenturesPayable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_AvionteHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Avionte Holdings LLCMember",
        "terseLabel": "Avionte Holdings, LLC [Member]"
       }
      }
     },
     "localname": "AvionteHoldingsLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AxeroHoldingsLLCFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Axero Holdings LLCFour Member",
        "terseLabel": "Axero Holdings, LLC Three [Member]",
        "verboseLabel": "Axero Holdings, LLC Four [Member]"
       }
      }
     },
     "localname": "AxeroHoldingsLLCFourMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AxeroHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Axero Holdings LLCMember",
        "terseLabel": "Axero Holdings, LLC [Member]"
       }
      }
     },
     "localname": "AxeroHoldingsLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AxeroHoldingsLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Axero Holdings LLCOne Member",
        "terseLabel": "Axero Holdings, LLC One [Member]"
       }
      }
     },
     "localname": "AxeroHoldingsLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AxeroHoldingsLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Axero Holdings LLCThree Member",
        "terseLabel": "Axero Holdings, LLC Three [Member]"
       }
      }
     },
     "localname": "AxeroHoldingsLLCThreeMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AxeroHoldingsLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Axero Holdings LLCTwo Member",
        "terseLabel": "Axero Holdings, LLC Two [Member]"
       }
      }
     },
     "localname": "AxeroHoldingsLLCTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AxeroHoldingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Axero Holdings Member",
        "terseLabel": "Axero Holdings, LLC [Member]"
       }
      }
     },
     "localname": "AxeroHoldingsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AxeroHoldingsRevolverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Axero Holdings Revolver Member",
        "terseLabel": "Axero Holdings, LLC - Revolver [Member]"
       }
      }
     },
     "localname": "AxeroHoldingsRevolverMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AxiomParentHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Axiom Parent Holdings LLCMember",
        "terseLabel": "Axiom Parent Holdings, LLC [Member]"
       }
      }
     },
     "localname": "AxiomParentHoldingsLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AxiomPurchaserIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Axiom Purchaser Inc Member",
        "terseLabel": "Axiom Purchaser, Inc. [Member]"
       }
      }
     },
     "localname": "AxiomPurchaserIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_AxiomPurchaserIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Axiom Purchaser Inc One Member",
        "terseLabel": "Axiom Purchaser, Inc. One [Member]"
       }
      }
     },
     "localname": "AxiomPurchaserIncOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_BRileyFinancialIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BRiley Financial Inc Member",
        "terseLabel": "B. Riley Financial, Inc. [Member]"
       }
      }
     },
     "localname": "BRileyFinancialIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_BaseManagementAndIncentiveFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of base management and incentive fees payable.",
        "label": "Base Management And Incentive Fees Payable",
        "terseLabel": "Base management and incentive fees payable"
       }
      }
     },
     "localname": "BaseManagementAndIncentiveFeesPayable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_BoardMeetingAttendingFee": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of each board meeting attending fees.",
        "label": "Board Meeting Attending Fee",
        "terseLabel": "Board meeting attending fees"
       }
      }
     },
     "localname": "BoardMeetingAttendingFee",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_Book4TimeIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Book4 Time Inc Member",
        "terseLabel": "Book4Time, Inc. [Member]"
       }
      }
     },
     "localname": "Book4TimeIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_Book4TimeIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Book4 Time Inc One Member",
        "terseLabel": "Book4Time, Inc. One [Member]"
       }
      }
     },
     "localname": "Book4TimeIncOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_Book4TimeIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Book4 Time Inc Two Member",
        "terseLabel": "Book4Time, Inc. Two [Member]"
       }
      }
     },
     "localname": "Book4TimeIncTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_BorrowingsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Borrowings (Details) [Line Items]"
       }
      }
     },
     "localname": "BorrowingsDetailsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_BorrowingsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Borrowings (Details) [Table]"
       }
      }
     },
     "localname": "BorrowingsDetailsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_BuildoutIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Buildout Inc Member",
        "terseLabel": "Buildout, Inc. [Member]"
       }
      }
     },
     "localname": "BuildoutIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_BuildoutIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Buildout Inc One Member",
        "terseLabel": "Buildout, Inc. One [Member]"
       }
      }
     },
     "localname": "BuildoutIncOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_BuildoutIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Buildout Inc Two Member",
        "terseLabel": "Buildout, Inc. Two [Member]"
       }
      }
     },
     "localname": "BuildoutIncTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_C2EducationSystemsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C2 Education Systems Inc Member",
        "terseLabel": "C2 Educational Systems [Member]"
       }
      }
     },
     "localname": "C2EducationSystemsIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_C2EducationalSystemsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "C2 Educational Systems Member",
        "terseLabel": "C2 Educational Systems [Member]"
       }
      }
     },
     "localname": "C2EducationalSystemsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_CLOMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CLOMember",
        "terseLabel": "CLO [Member]"
       }
      }
     },
     "localname": "CLOMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_CLOMemberValuationModelInputs": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of CLO member valuation model inputs.",
        "label": "CLOMember Valuation Model Inputs",
        "terseLabel": "Description of valuation model rate"
       }
      }
     },
     "localname": "CLOMemberValuationModelInputs",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CapitalGainsIncentiveFeePolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for capital gains incentive fee.",
        "label": "Capital Gains Incentive Fee Policy Text Block",
        "terseLabel": "Capital Gains Incentive Fee"
       }
      }
     },
     "localname": "CapitalGainsIncentiveFeePolicyTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_CapitalInExcessOfParValueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital In Excess Of Par Value Member",
        "terseLabel": "Capital in Excess of Par Value [Member]"
       }
      }
     },
     "localname": "CapitalInExcessOfParValueMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_CapitalInExcessParValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount is capital in excess of par value.",
        "label": "Capital In Excess Par Value",
        "terseLabel": "Capital in excess of par value"
       }
      }
     },
     "localname": "CapitalInExcessParValue",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofUSfederalexciseandcapitalgainstaxandworthlesssecuritieslossesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_CapitalShareTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Share Transactions Abstract",
        "terseLabel": "Capital Share Transactions:"
       }
      }
     },
     "localname": "CapitalShareTransactionsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CapitalShareTransactionsAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Share Transactions Abstract0",
        "terseLabel": "Capital Share Transactions:"
       }
      }
     },
     "localname": "CapitalShareTransactionsAbstract0",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CapitalShareTransactionsAbstract1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Share Transactions Abstract1",
        "terseLabel": "Capital Share Transactions:"
       }
      }
     },
     "localname": "CapitalShareTransactionsAbstract1",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CapitalShareTransactionsAbstract2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Share Transactions Abstract2",
        "terseLabel": "Capital Share Transactions:"
       }
      }
     },
     "localname": "CapitalShareTransactionsAbstract2",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CapitalShareTransactionsAbstract3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Share Transactions Abstract3",
        "terseLabel": "Capital Share Transactions:"
       }
      }
     },
     "localname": "CapitalShareTransactionsAbstract3",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CapitalShareTransactionsAbstract4": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Share Transactions Abstract4",
        "terseLabel": "Capital Share Transactions:"
       }
      }
     },
     "localname": "CapitalShareTransactionsAbstract4",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CapitalShareTransactionsAbstract5": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Share Transactions Abstract5",
        "terseLabel": "Capital Share Transactions:"
       }
      }
     },
     "localname": "CapitalShareTransactionsAbstract5",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CapitalShareTransactionsAbstract6": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Share Transactions Abstract6",
        "terseLabel": "Capital Share Transactions:"
       }
      }
     },
     "localname": "CapitalShareTransactionsAbstract6",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CenterbaseLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Centerbase LLCMember",
        "terseLabel": "Centerbase, LLC [Member]"
       }
      }
     },
     "localname": "CenterbaseLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ChairmanAnnualFee": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of audit chairman annual fees.",
        "label": "Chairman Annual Fee",
        "terseLabel": "Chairman annual fees"
       }
      }
     },
     "localname": "ChairmanAnnualFee",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ChronusLLC2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Chronus LLC2 Member",
        "terseLabel": "Chronus LLC [Member]"
       }
      }
     },
     "localname": "ChronusLLC2Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ChronusLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Chronus LLCMember",
        "terseLabel": "Chronus LLC [Member]"
       }
      }
     },
     "localname": "ChronusLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ChronusLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Chronus LLCOne Member",
        "terseLabel": "Chronus LLC One [Member]"
       }
      }
     },
     "localname": "ChronusLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ChronusLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Chronus LLCTwo Member",
        "terseLabel": "Chronus LLC Two [Member]"
       }
      }
     },
     "localname": "ChronusLLCTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ClassEMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class EMember",
        "terseLabel": "Class E [Member]"
       }
      }
     },
     "localname": "ClassEMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ClassF1R3NotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class F1 R3 Notes Member",
        "terseLabel": "Class F-1-R-3 Notes [Member]"
       }
      }
     },
     "localname": "ClassF1R3NotesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ClassF2R3NotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class F2 R3 Notes Member",
        "terseLabel": "Class F-2-R-3 Notes [Member]"
       }
      }
     },
     "localname": "ClassF2R3NotesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ClassFNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class FNotes Member",
        "terseLabel": "Class F Notes [Member]"
       }
      }
     },
     "localname": "ClassFNotesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ClassFR3NotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class FR3 Notes Member",
        "terseLabel": "Class F-R-3 Notes [Member]"
       }
      }
     },
     "localname": "ClassFR3NotesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ClassFRThreeNotesTrancheMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class FRThree Notes Tranche Member",
        "terseLabel": "Class F-R-3\u00a0Notes Tranche [Member]"
       }
      }
     },
     "localname": "ClassFRThreeNotesTrancheMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ClassFRTwoNotesTrancheMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class FRTwo Notes Tranche Member",
        "terseLabel": "Class F-R-2\u00a0Notes Tranche [Member]"
       }
      }
     },
     "localname": "ClassFRTwoNotesTrancheMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ClassGRTwoNotesTrancheMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class GRTwo Notes Tranche Member",
        "terseLabel": "Class G-R-2\u00a0Notes Tranche [Member]"
       }
      }
     },
     "localname": "ClassGRTwoNotesTrancheMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ComForCareHealthCareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Com For Care Health Care Member",
        "terseLabel": "ComForCare Health Care [Member]"
       }
      }
     },
     "localname": "ComForCareHealthCareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_CommitmentsandContingenciesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Details) [Line Items]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesDetailsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CommitmentsandContingenciesDetailsScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Details) - Schedule of payment obligations for repayment of debt and other contractual obligations [Line Items]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesDetailsScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CommitmentsandContingenciesDetailsScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Details) - Schedule of payment obligations for repayment of debt and other contractual obligations [Table]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesDetailsScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CommitmentsandContingenciesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Details) [Table]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesDetailsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CommitteeMeetingAttendingFee": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of each committee meeting attending fees.",
        "label": "Committee Meeting Attending Fee",
        "terseLabel": "Committee meeting attending fees"
       }
      }
     },
     "localname": "CommitteeMeetingAttendingFee",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_CommonStockDividendRatePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage rate used to calculate dividend payments on common stock.",
        "label": "Common Stock Dividend Rate Percentage",
        "terseLabel": "Common stock dividend rate, percentage"
       }
      }
     },
     "localname": "CommonStockDividendRatePercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_CompanysDiscretionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Companys Discretion Member",
        "terseLabel": "Company\u2019s Discretion [Member]"
       }
      }
     },
     "localname": "CompanysDiscretionMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ComponentsOfAccumulatedLosses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total components of accumulated losses.",
        "label": "Components Of Accumulated Losses",
        "terseLabel": "Total components of accumulated losses"
       }
      }
     },
     "localname": "ComponentsOfAccumulatedLosses",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcomponentsofaccumulatedlossesonataxbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ConsolidatedScheduleOfInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Schedule Of Investments Abstract"
       }
      }
     },
     "localname": "ConsolidatedScheduleOfInvestmentsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ContributingAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contributing amount.",
        "label": "Contributing Amount",
        "terseLabel": "Contributing amount"
       }
      }
     },
     "localname": "ContributingAmount",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ControlInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Control Investments Member",
        "terseLabel": "Control investments [Member]"
       }
      }
     },
     "localname": "ControlInvestmentsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ControlMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Control Member",
        "terseLabel": "Control [Member]"
       }
      }
     },
     "localname": "ControlMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ControlPurchase": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of control purchase.",
        "label": "Control Purchase",
        "terseLabel": "Purchases"
       }
      }
     },
     "localname": "ControlPurchase",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ControlSales": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of control sales.",
        "label": "Control Sales",
        "terseLabel": "Sales"
       }
      }
     },
     "localname": "ControlSales",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_CreditFacilityLIBORFloor": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies the credit facility LIBOR floor.",
        "label": "Credit Facility LIBORFloor",
        "terseLabel": "LIBOR floor, percentage"
       }
      }
     },
     "localname": "CreditFacilityLIBORFloor",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_CreditFacilityMinimiumDrawnAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum drawn amount of credit facility.",
        "label": "Credit Facility Minimium Drawn Amount",
        "terseLabel": "Credit facility minimum drawn amount"
       }
      }
     },
     "localname": "CreditFacilityMinimiumDrawnAmount",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_CreditFacilityWithEncinaLenderFinanceLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Facility With Encina Lender Finance LLCMember",
        "terseLabel": "Credit Facility with Encina Lender Finance, LLC [Member]"
       }
      }
     },
     "localname": "CreditFacilityWithEncinaLenderFinanceLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_CreditFacilityWithEncinaLenderFinanceLlcAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Facility With Encina Lender Finance Llc Abstract",
        "terseLabel": "Credit Facility with Encina Lender Finance, LLC"
       }
      }
     },
     "localname": "CreditFacilityWithEncinaLenderFinanceLlcAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_CreditFacilityWithMadisonCapitalFundingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Facility With Madison Capital Funding Member",
        "terseLabel": "Credit Facility with Madison Capital Funding [Member]"
       }
      }
     },
     "localname": "CreditFacilityWithMadisonCapitalFundingMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_CustomaryFeesPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customary fees percentage.",
        "label": "Customary Fees Percentage",
        "terseLabel": "Customary fees percentage"
       }
      }
     },
     "localname": "CustomaryFeesPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_DaviswareLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Davisware LLCMember",
        "terseLabel": "Davisware, LLC [Member]"
       }
      }
     },
     "localname": "DaviswareLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DaviswareLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Davisware LLCOne Member",
        "terseLabel": "Davisware, LLC One [Member]"
       }
      }
     },
     "localname": "DaviswareLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DaviswareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Davisware Member",
        "terseLabel": "Davisware, LLC [Member]"
       }
      }
     },
     "localname": "DaviswareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DebenturesPayableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debentures Payable Member",
        "terseLabel": "SBA debentures payable"
       }
      }
     },
     "localname": "DebenturesPayableMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DebtEightMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Eight Member",
        "terseLabel": "8.125% 2027 Notes [Member]"
       }
      }
     },
     "localname": "DebtEightMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DebtFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Five Member",
        "terseLabel": "6.00% 2027 Notes [Member]"
       }
      }
     },
     "localname": "DebtFiveMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DebtFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Four Member",
        "terseLabel": "4.35% 2027 Notes [Member]"
       }
      }
     },
     "localname": "DebtFourMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DebtOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt One Member",
        "terseLabel": "6.00% 2025 Notes [Member]"
       }
      }
     },
     "localname": "DebtOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DebtParValueOfPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The debt par value is the amount of money that bond issuers promise to repay bondholders at the maturity date of the bond.",
        "label": "Debt Par Value Of Per Share",
        "terseLabel": "Debt par value of per share (in Dollars per share)"
       }
      }
     },
     "localname": "DebtParValueOfPerShare",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_DebtPrincipalBalance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount is debt principal balance.",
        "label": "Debt Principal Balance",
        "terseLabel": "Debt principal balance"
       }
      }
     },
     "localname": "DebtPrincipalBalance",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_DebtSevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Seven Member",
        "terseLabel": "8.00% 2027 Notes [Member]"
       }
      }
     },
     "localname": "DebtSevenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DebtSixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Six Member",
        "terseLabel": "6.25% 2027 Notes [Member]"
       }
      }
     },
     "localname": "DebtSixMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DebtThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Three Member",
        "terseLabel": "4.375% 2026 Notes [Member]"
       }
      }
     },
     "localname": "DebtThreeMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DebtTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Two Member",
        "terseLabel": "7.75% 2025 Notes [Member]"
       }
      }
     },
     "localname": "DebtTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_December272013Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "December272013 Member",
        "terseLabel": "December 27, 2013 [Member]"
       }
      }
     },
     "localname": "December272013Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_December272017Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "December272017 Member",
        "terseLabel": "December 27, 2017 [Member]"
       }
      }
     },
     "localname": "December272017Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_December292010Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "December292010 Member",
        "terseLabel": "December 29, 2010 [Member]"
       }
      }
     },
     "localname": "December292010Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_December302011Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "December302011 Member",
        "terseLabel": "December 30, 2011\t[Member]"
       }
      }
     },
     "localname": "December302011Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_December312009Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "December312009 Member",
        "terseLabel": "December 31, 2009 [Member]"
       }
      }
     },
     "localname": "December312009Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_December312012Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "December312012 Member",
        "terseLabel": "December 31, 2012 [Member]"
       }
      }
     },
     "localname": "December312012Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DecreaseFromShareholderDistributionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Decrease From Shareholder Distributions Abstract",
        "terseLabel": "Decrease from Shareholder Distributions:"
       }
      }
     },
     "localname": "DecreaseFromShareholderDistributionsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DecreaseFromShareholderDistributionsAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Decrease From Shareholder Distributions Abstract0",
        "terseLabel": "Decrease from Shareholder Distributions:"
       }
      }
     },
     "localname": "DecreaseFromShareholderDistributionsAbstract0",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DecreaseFromShareholderDistributionsAbstract1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Decrease From Shareholder Distributions Abstract1",
        "terseLabel": "Decrease from Shareholder Distributions:"
       }
      }
     },
     "localname": "DecreaseFromShareholderDistributionsAbstract1",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DecreaseFromShareholderDistributionsAbstract2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Decrease From Shareholder Distributions Abstract2",
        "terseLabel": "Decrease from Shareholder Distributions:"
       }
      }
     },
     "localname": "DecreaseFromShareholderDistributionsAbstract2",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DecreaseFromShareholderDistributionsAbstract3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Decrease From Shareholder Distributions Abstract3",
        "terseLabel": "Decrease from Shareholder Distributions:"
       }
      }
     },
     "localname": "DecreaseFromShareholderDistributionsAbstract3",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DecreaseFromShareholderDistributionsAbstract4": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Decrease From Shareholder Distributions Abstract4",
        "terseLabel": "Decrease from Shareholder Distributions:"
       }
      }
     },
     "localname": "DecreaseFromShareholderDistributionsAbstract4",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DecreaseFromShareholderDistributionsAbstract5": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Decrease From Shareholder Distributions Abstract5",
        "terseLabel": "Decrease from Shareholder Distributions:"
       }
      }
     },
     "localname": "DecreaseFromShareholderDistributionsAbstract5",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DecreaseFromShareholderDistributionsAbstract6": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Decrease From Shareholder Distributions Abstract6",
        "terseLabel": "Decrease from Shareholder Distributions:"
       }
      }
     },
     "localname": "DecreaseFromShareholderDistributionsAbstract6",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DescriptionOfRepurchasePlan": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of repurchase plan.",
        "label": "Description Of Repurchase Plan",
        "terseLabel": "Repurchase plan, description"
       }
      }
     },
     "localname": "DescriptionOfRepurchasePlan",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DestinySolutionsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Destiny Solutions Inc Member",
        "terseLabel": "Destiny Solutions Inc. [Member]"
       }
      }
     },
     "localname": "DestinySolutionsIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_DirectorsAnnualFee": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of directors annual Fees.",
        "label": "Directors Annual Fee",
        "terseLabel": "Annual fee"
       }
      }
     },
     "localname": "DirectorsAnnualFee",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_DirectorsFeePayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of directors annual Fees payable.",
        "label": "Directors Fee Payable",
        "terseLabel": "Accrued and unpaid amount"
       }
      }
     },
     "localname": "DirectorsFeePayable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_DirectorsFeesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Directors Fees Abstract"
       }
      }
     },
     "localname": "DirectorsFeesAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_DirectorsFeesAndExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expense related to directors' fees which are fees paid by an Entity to its directors. Directors' fees may be paid in addition to fees and expenses.",
        "label": "Directors Fees And Expenses",
        "terseLabel": "Directors' fees and expenses"
       }
      }
     },
     "localname": "DirectorsFeesAndExpenses",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFeesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_DirectorsFeesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Directors Fee [Abstract]"
       }
      }
     },
     "localname": "DirectorsFeesDetailsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFeesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DirectorsFeesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Directors Fees (Details) [Table]"
       }
      }
     },
     "localname": "DirectorsFeesDetailsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFeesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DirectorsFeesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Directors Fees [Abstract]"
       }
      }
     },
     "localname": "DirectorsFeesLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFees"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DirectorsFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 7.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of director fees payable.",
        "label": "Directors Fees Payable",
        "terseLabel": "Directors fees payable"
       }
      }
     },
     "localname": "DirectorsFeesPayable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_DirectorsFeesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Directors Fees [Table]"
       }
      }
     },
     "localname": "DirectorsFeesTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFees"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DirectorsFeesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Directors Fees Text Block",
        "terseLabel": "Directors Fees"
       }
      }
     },
     "localname": "DirectorsFeesTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DirectorsFees"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_DiscountOnDebtIssuanceOnNotes": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the issuance of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder.",
        "label": "Discount On Debt Issuance On Notes",
        "terseLabel": "Discount on debt issuance,"
       }
      }
     },
     "localname": "DiscountOnDebtIssuanceOnNotes",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_DiscountOnDebtIssuancePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discount on debt issuance percentage.",
        "label": "Discount On Debt Issuance Percentage",
        "terseLabel": "Discount on debt issuance percentage"
       }
      }
     },
     "localname": "DiscountOnDebtIssuancePercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow_Parentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_DistributionPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of distribution.",
        "label": "Distribution Percentage",
        "terseLabel": "Distribution percentage"
       }
      }
     },
     "localname": "DistributionPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_DistributionsOfInvestmentIncomeNet": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of distributions of investment income \u2013 net.",
        "label": "Distributions Of Investment Income Net",
        "terseLabel": "Distributions of investment income \u2013 net"
       }
      }
     },
     "localname": "DistributionsOfInvestmentIncomeNet",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_DividendDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend (Details) [Line Items]"
       }
      }
     },
     "localname": "DividendDetailsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DividendDetailsScheduleofdividendsdeclaredLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend (Details) - Schedule of dividends declared [Line Items]"
       }
      }
     },
     "localname": "DividendDetailsScheduleofdividendsdeclaredLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DividendDetailsScheduleofdividendsdeclaredTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend (Details) - Schedule of dividends declared [Table]"
       }
      }
     },
     "localname": "DividendDetailsScheduleofdividendsdeclaredTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DividendDetailsScheduleofpaymentdateLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend (Details) - Schedule of payment date [Line Items]"
       }
      }
     },
     "localname": "DividendDetailsScheduleofpaymentdateLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DividendDetailsScheduleofpaymentdateTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend (Details) - Schedule of payment date [Table]"
       }
      }
     },
     "localname": "DividendDetailsScheduleofpaymentdateTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DividendDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend (Details) [Table]"
       }
      }
     },
     "localname": "DividendDetailsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DividendDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Disclosure Abstract"
       }
      }
     },
     "localname": "DividendDisclosureAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_DividendDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for\u00a0dividend.",
        "label": "Dividend Disclosure Text Block",
        "terseLabel": "Dividend"
       }
      }
     },
     "localname": "DividendDisclosureTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/Dividend"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_DividendLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Dividend [Abstract]"
       }
      }
     },
     "localname": "DividendLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/Dividend"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DividendTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend [Table]"
       }
      }
     },
     "localname": "DividendTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/Dividend"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DividendTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend [Abstract]"
       }
      }
     },
     "localname": "DividendTablesLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendTables"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DividendTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend (Tables) [Table]"
       }
      }
     },
     "localname": "DividendTablesTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendTables"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_DividendsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for dividends.",
        "label": "Dividends Policy Text Block",
        "terseLabel": "Dividends"
       }
      }
     },
     "localname": "DividendsPolicyTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_DocumentAndEntityInformationAbstract": {
     "auth_ref": [],
     "localname": "DocumentAndEntityInformationAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ETUHoldingsInc1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETUHoldings Inc1 Member",
        "terseLabel": "ETU Holdings, Inc. [Member]"
       }
      }
     },
     "localname": "ETUHoldingsInc1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ETUHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETUHoldings Inc Member",
        "terseLabel": "ETU Holdings, Inc. [Member]"
       }
      }
     },
     "localname": "ETUHoldingsIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ETUHoldingsIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ETUHoldings Inc One Member",
        "terseLabel": "ETU Holdings, Inc. One [Member]"
       }
      }
     },
     "localname": "ETUHoldingsIncOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_EaightPointZeroZeroNotesDueTwoZeroTwoSevenpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Eaight Point Zero Zero Notes Due Two Zero Two Sevenp Member",
        "terseLabel": "8.00% Notes due 2027 [Member]"
       }
      }
     },
     "localname": "EaightPointZeroZeroNotesDueTwoZeroTwoSevenpMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_EarningsPerShareDetailsScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Weighted Average Basic And Diluted Net Increase Decrease In Net Assets [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareDetailsScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_EarningsPerShareDetailsScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share (Details) - Schedule of weighted average basic and diluted net increase (decrease) in net assets [Table]"
       }
      }
     },
     "localname": "EarningsPerShareDetailsScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_EffectiveIncomeTaxRateReconciliationAtFederalExciseTaxRatePercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of domestic federal statutory tax rate applicable to excise pretax income (loss).",
        "label": "Effective Income Tax Rate Reconciliation At Federal Excise Tax Rate Percent",
        "terseLabel": "Percentage of U.S. federal excise tax"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalExciseTaxRatePercent",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_EightPointOneTwoFiveNotesDueTwoZeroTwoSevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Eight Point One Two Five Notes Due Two Zero Two Seven Member",
        "terseLabel": "8.125% Notes due 2027 [Member]"
       }
      }
     },
     "localname": "EightPointOneTwoFiveNotesDueTwoZeroTwoSevenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_EmilyStreetEnterprisesLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Emily Street Enterprises LLCMember",
        "terseLabel": "Emily Street Enterprises, L.L.C. [Member]"
       }
      }
     },
     "localname": "EmilyStreetEnterprisesLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_EmilyStreetEnterprisesLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Emily Street Enterprises LLCOne Member",
        "terseLabel": "Emily Street Enterprises, L.L.C. One [Member]"
       }
      }
     },
     "localname": "EmilyStreetEnterprisesLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_EmployeesOfGSCGroupIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employees Of GSC Group, Inc [Member]",
        "label": "Employees Of GSCGroup Inc Member",
        "terseLabel": "Employees Of GSC Group, Inc [Member]"
       }
      }
     },
     "localname": "EmployeesOfGSCGroupIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_EncinaCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Encina Credit Facility Member",
        "terseLabel": "Encina Credit Facility [Member]"
       }
      }
     },
     "localname": "EncinaCreditFacilityMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_EncinaCreditsFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Encina Credits Facility Member",
        "terseLabel": "Encina Credit Facility [Member]"
       }
      }
     },
     "localname": "EncinaCreditsFacilityMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_EncinaLenderFinanceLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Encina Lender Finance LLCMember",
        "terseLabel": "Encina Lender Finance, LLC [Member]"
       }
      }
     },
     "localname": "EncinaLenderFinanceLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_EquityInterestsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Interests Member",
        "terseLabel": "Equity interests [Member]",
        "verboseLabel": "Equity Interests [Member]"
       }
      }
     },
     "localname": "EquityInterestsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_EquityInterestsOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Interests One Member",
        "terseLabel": "Equity interests 1 [Member]"
       }
      }
     },
     "localname": "EquityInterestsOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_EquityInterestsTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Interests Two Member",
        "terseLabel": "Equity interests 2 [Member]"
       }
      }
     },
     "localname": "EquityInterestsTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ExcessOfCommonStock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The additional shares of common stock.",
        "label": "Excess Of Common Stock",
        "terseLabel": "Additional\u00a0common stock (in Shares)"
       }
      }
     },
     "localname": "ExcessOfCommonStock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "sar_ExciseTaxExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 10.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The excise taxes collected by a public utility and reported in revenues if the amount of excise taxes is equal to 1 percent or more of such total.",
        "label": "Excise Tax Expense",
        "terseLabel": "Excise tax expense (credit)"
       }
      }
     },
     "localname": "ExciseTaxExpense",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ExigoDDTLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exigo DDTLMember",
        "terseLabel": "Exigo, LLC [Member]"
       }
      }
     },
     "localname": "ExigoDDTLMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ExigoLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exigo LLCMember",
        "terseLabel": "Exigo, LLC [Member]"
       }
      }
     },
     "localname": "ExigoLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ExigoLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exigo LLCOne Member",
        "terseLabel": "Exigo, LLC One [Member]"
       }
      }
     },
     "localname": "ExigoLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ExigoLLCThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exigo LLCThree Member",
        "terseLabel": "Exigo, LLC Three [Member]"
       }
      }
     },
     "localname": "ExigoLLCThreeMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ExigoLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exigo LLCTwo Member",
        "terseLabel": "Exigo, LLC Two [Member]"
       }
      }
     },
     "localname": "ExigoLLCTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ExigoRevolverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exigo Revolver Member",
        "terseLabel": "Exigo, LLC - Revolver [Member]"
       }
      }
     },
     "localname": "ExigoRevolverMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ExpensesPayable": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense payable.",
        "label": "Expenses Payable",
        "terseLabel": "Expenses payable"
       }
      }
     },
     "localname": "ExpensesPayable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_FairValueMeasurement": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fair value measurement.",
        "label": "Fair Value Measurement",
        "terseLabel": "Fair Value"
       }
      }
     },
     "localname": "FairValueMeasurement",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringAccretionOfDiscountOnInvestments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net accretion of discount on investments.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliations Recurring Accretion Of Discount On Investments",
        "terseLabel": "Net accretion of discount on investments"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringAccretionOfDiscountOnInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringAdjustmentsToCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Payment-in-kind and other adjustments to cost.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliations Recurring Adjustments To Cost",
        "terseLabel": "Payment-in-kind and other adjustments to cost"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringAdjustmentsToCost",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_FairValueMeasurementsOfAssetsRange": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of fair value measurements of assets range.",
        "label": "Fair Value Measurements Of Assets Range",
        "terseLabel": "Range"
       }
      }
     },
     "localname": "FairValueMeasurementsOfAssetsRange",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_FairValueMeasurementsOfAssetsUnobservableInput": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of fair value measurements of assets unobservable Input.",
        "label": "Fair Value Measurements Of Assets Unobservable Input",
        "terseLabel": "Unobservable Input"
       }
      }
     },
     "localname": "FairValueMeasurementsOfAssetsUnobservableInput",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_FairValueMeasurementsOfAssetsValuationTechnique": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of fair value measurements of assets valuation technique.",
        "label": "Fair Value Measurements Of Assets Valuation Technique",
        "terseLabel": "Valuation Technique"
       }
      }
     },
     "localname": "FairValueMeasurementsOfAssetsValuationTechnique",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_FairValueMeasurementsOfAssetsWeightedAverage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of fair value measurements of assets weighted average.",
        "label": "Fair Value Measurements Of Assets Weighted Average",
        "terseLabel": "Weighted Average"
       }
      }
     },
     "localname": "FairValueMeasurementsOfAssetsWeightedAverage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_FairValueOfOurPortfolioPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of our portfolio percentage.",
        "label": "Fair Value Of Our Portfolio Percentage",
        "terseLabel": "Fair value percentage"
       }
      }
     },
     "localname": "FairValueOfOurPortfolioPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_FairValuePercentageOfTotalPortfolio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "It represents fair value of percentage of total portfolio.",
        "label": "Fair Value Percentage Of Total Portfolio",
        "terseLabel": "Fair Value Percentage of Total Portfolio"
       }
      }
     },
     "localname": "FairValuePercentageOfTotalPortfolio",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_FairValueofStructuredFinanceSecurities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fair value of structured finance entities.",
        "label": "Fair Valueof Structured Finance Securities",
        "terseLabel": "Structured finance securities"
       }
      }
     },
     "localname": "FairValueofStructuredFinanceSecurities",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_February102021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "February102021 Member",
        "terseLabel": "February 10, 2021 [Member]"
       }
      }
     },
     "localname": "February102021Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_February242022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "February242022 Member",
        "terseLabel": "February 24, 2022 [Member]"
       }
      }
     },
     "localname": "February242022Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_February262018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "February262018 Member",
        "terseLabel": "February 26, 2018 [Member]"
       }
      }
     },
     "localname": "February262018Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_February262019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "February262019 Member",
        "terseLabel": "February 26, 2019 [Member]"
       }
      }
     },
     "localname": "February262019Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_February272015Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "February272015 Member",
        "terseLabel": "February 27, 2015 [Member]"
       }
      }
     },
     "localname": "February272015Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_February282023Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "February282023 Member",
        "terseLabel": "February 28, 2023 [Member]"
       }
      }
     },
     "localname": "February282023Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_February292016Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "February292016 Member",
        "terseLabel": "February 29, 2016 [Member]"
       }
      }
     },
     "localname": "February292016Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_February62020Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "February62020 Member",
        "terseLabel": "February 6, 2020 [Member]"
       }
      }
     },
     "localname": "February62020Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_February92017Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "February92017 Member",
        "terseLabel": "February 9, 2017 [Member]"
       }
      }
     },
     "localname": "February92017Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FirstLienTermLoans": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of First lien term loans.",
        "label": "First Lien Term Loans",
        "terseLabel": "First lien term loans"
       }
      }
     },
     "localname": "FirstLienTermLoans",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_FirstLienTermLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "First Lien Term Loans Member",
        "terseLabel": "First lien term loans [Member]"
       }
      }
     },
     "localname": "FirstLienTermLoansMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FirstMortgageOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "First Mortgage One Member",
        "terseLabel": "First lien term loans 1 [Member]"
       }
      }
     },
     "localname": "FirstMortgageOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FirstMortgageTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "First Mortgage Two Member",
        "terseLabel": "First lien term loans 2 [Member]"
       }
      }
     },
     "localname": "FirstMortgageTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2007asOfFebruary282007Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2007as Of February282007 Member",
        "terseLabel": "Fiscal year 2007 (as of February 28, 2007) [Member]"
       }
      }
     },
     "localname": "FiscalYear2007asOfFebruary282007Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2008asOfFebruary292008Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2008as Of February292008 Member",
        "terseLabel": "Fiscal year 2008 (as of February 29, 2008) [Member]"
       }
      }
     },
     "localname": "FiscalYear2008asOfFebruary292008Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2009asOfFebruary282009Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2009as Of February282009 Member",
        "terseLabel": "Fiscal year 2009 (as of February 28, 2009) [Member]"
       }
      }
     },
     "localname": "FiscalYear2009asOfFebruary282009Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2010asOfFebruary282010Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2010as Of February282010 Member",
        "terseLabel": "Fiscal year 2010 (as of February 28, 2010) [Member]"
       }
      }
     },
     "localname": "FiscalYear2010asOfFebruary282010Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2011asOfFebruary282011Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2011as Of February282011 Member",
        "terseLabel": "Fiscal year 2011 (as of February 28, 2011) [Member]"
       }
      }
     },
     "localname": "FiscalYear2011asOfFebruary282011Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2012asOfFebruary292012Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2012as Of February292012 Member",
        "terseLabel": "Fiscal year 2012 (as of February 29, 2012) [Member]"
       }
      }
     },
     "localname": "FiscalYear2012asOfFebruary292012Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2013asOfFebruary282013Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2013as Of February282013 Member",
        "terseLabel": "Fiscal year 2013 (as of February 28, 2013) [Member]"
       }
      }
     },
     "localname": "FiscalYear2013asOfFebruary282013Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2014asOfFebruary282014Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2014as Of February282014 Member",
        "terseLabel": "Fiscal year 2014 (as of February 28, 2014) [Member]"
       }
      }
     },
     "localname": "FiscalYear2014asOfFebruary282014Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2015asOfFebruary282015Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2015as Of February282015 Member",
        "terseLabel": "Fiscal year 2015 (as of February 28, 2015) [Member]"
       }
      }
     },
     "localname": "FiscalYear2015asOfFebruary282015Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2016asOfFebruary292016Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2016as Of February292016 Member",
        "terseLabel": "Fiscal year 2016 (as of February 29, 2016) [Member]"
       }
      }
     },
     "localname": "FiscalYear2016asOfFebruary292016Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2017asOfFebruary282017Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2017as Of February282017 Member",
        "terseLabel": "Fiscal year 2017 (as of February 28, 2017) [Member]"
       }
      }
     },
     "localname": "FiscalYear2017asOfFebruary282017Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2018asOfFebruary282018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2018as Of February282018 Member",
        "terseLabel": "Fiscal year 2018 (as of February 28, 2018) [Member]"
       }
      }
     },
     "localname": "FiscalYear2018asOfFebruary282018Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2019asOfFebruary282019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2019as Of February282019 Member",
        "terseLabel": "Fiscal year 2019 (as of February 28, 2019) [Member]"
       }
      }
     },
     "localname": "FiscalYear2019asOfFebruary282019Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2020asOfFebruary292020Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2020as Of February292020 Member",
        "terseLabel": "Fiscal year 2020 (as of February 29, 2020) [Member]"
       }
      }
     },
     "localname": "FiscalYear2020asOfFebruary292020Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2021asOfFebruary282021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2021as Of February282021 Member",
        "terseLabel": "Fiscal year 2021 (as of February 28, 2021) [Member]"
       }
      }
     },
     "localname": "FiscalYear2021asOfFebruary282021Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2022asOfFebruary282022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2022as Of February282022 Member",
        "terseLabel": "Fiscal year 2022 (as of February 28, 2022) [Member]"
       }
      }
     },
     "localname": "FiscalYear2022asOfFebruary282022Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FiscalYear2023asOfFebruary282023Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fiscal Year2023as Of February282023 Member",
        "terseLabel": "Fiscal year 2023 (as of February 28, 2023) [Member]"
       }
      }
     },
     "localname": "FiscalYear2023asOfFebruary282023Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FloatingRateOfPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit facility bear interest made and reported by floating rate per annum equal to libor plus percentage.",
        "label": "Floating Rate Of Percentage",
        "terseLabel": "Floating rate, percentage"
       }
      }
     },
     "localname": "FloatingRateOfPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_FourPointThreeFiveNotesDueTwoZeroTwoSevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Four Point Three Five Notes Due Two Zero Two Seven Member",
        "terseLabel": "4.35% Notes due 2027 [Member]"
       }
      }
     },
     "localname": "FourPointThreeFiveNotesDueTwoZeroTwoSevenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_FourPointThreeSevenFiveNotesDueTwoZeroTwoSixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Four Point Three Seven Five Notes Due Two Zero Two Six Member",
        "terseLabel": "4.375% Notes due 2026 [Member]"
       }
      }
     },
     "localname": "FourPointThreeSevenFiveNotesDueTwoZeroTwoSixMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GDSHoldingsUSIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GDSHoldings USInc Member",
        "terseLabel": "GDS Software Holdings, LLC [Member]"
       }
      }
     },
     "localname": "GDSHoldingsUSIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GDSSoftwareHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GDSSoftware Holdings LLCMember",
        "terseLabel": "GDS Software Holdings, LLC [Member]"
       }
      }
     },
     "localname": "GDSSoftwareHoldingsLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GDSSoftwareHoldingsLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GDSSoftware Holdings LLCOne Member",
        "terseLabel": "GDS Software Holdings, LLC One [Member]"
       }
      }
     },
     "localname": "GDSSoftwareHoldingsLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GDSSoftwareHoldingsLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GDSSoftware Holdings LLCTwo Member",
        "terseLabel": "GDS Software Holdings, LLC Two [Member]"
       }
      }
     },
     "localname": "GDSSoftwareHoldingsLLCTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GSCGroupIncAndEmployeesOfGSCGroupIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "GSC Group, Inc And Employees Of GSC Group, Inc  [Member]",
        "label": "GSCGroup Inc And Employees Of GSCGroup Inc Member",
        "terseLabel": "GSC Group, Inc And Employees Of GSC Group, Inc [Member]"
       }
      }
     },
     "localname": "GSCGroupIncAndEmployeesOfGSCGroupIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GSCGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GSCGroup Member",
        "terseLabel": "GSC Group [Member]"
       }
      }
     },
     "localname": "GSCGroupMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_Gen4DentalPartnersHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gen4 Dental Partners Holdings LLCMember",
        "terseLabel": "Gen4 Dental Partners Holdings, LLC [Member]"
       }
      }
     },
     "localname": "Gen4DentalPartnersHoldingsLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_Gen4DentalPartnersHoldingsLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gen4 Dental Partners Holdings LLCOne Member",
        "terseLabel": "Gen4 Dental Partners Holdings, LLC One [Member]"
       }
      }
     },
     "localname": "Gen4DentalPartnersHoldingsLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GoReactMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Go React Member",
        "terseLabel": "GoReact [Member]"
       }
      }
     },
     "localname": "GoReactMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GoReactOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Go React One Member",
        "terseLabel": "GoReact One [Member]"
       }
      }
     },
     "localname": "GoReactOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GraniteComfortLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Granite Comfort LPMember",
        "terseLabel": "Granite Comfort, LP [Member]"
       }
      }
     },
     "localname": "GraniteComfortLPMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GraniteComfortLPOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Granite Comfort LPOne Member",
        "terseLabel": "Granite Comfort, LP One [Member]"
       }
      }
     },
     "localname": "GraniteComfortLPOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GraniteComfortMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Granite Comfort Member",
        "terseLabel": "Granite Comfort, LP [Member]"
       }
      }
     },
     "localname": "GraniteComfortMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GreyHellerLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Grey Heller LLCMember",
        "terseLabel": "GreyHeller LLC [Member]",
        "verboseLabel": "GreyHeller, LLC [Member]"
       }
      }
     },
     "localname": "GreyHellerLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_GrossProceeds": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of gross proceeds.",
        "label": "Gross Proceeds",
        "terseLabel": "Gross proceeds"
       }
      }
     },
     "localname": "GrossProceeds",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_GuaranteedDebenturesDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The term Small Business Administration (SBA) refers to a U.S. government agency ... The SBA's loan guarantee program is among its most visible elements.",
        "label": "Guaranteed Debentures Description",
        "terseLabel": "SBA guaranteed debentures, description"
       }
      }
     },
     "localname": "GuaranteedDebenturesDescription",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_HemaTerraHoldingCompanyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hema Terra Holding Company LLCMember",
        "terseLabel": "HemaTerra Holding Company, LLC [Member]"
       }
      }
     },
     "localname": "HemaTerraHoldingCompanyLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_HemaTerraHoldingCompanyLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hema Terra Holding Company LLCOne Member",
        "terseLabel": "HemaTerra Holding Company, LLC One [Member]"
       }
      }
     },
     "localname": "HemaTerraHoldingCompanyLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ITServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ITServices Member",
        "terseLabel": "IT Services [Member]"
       }
      }
     },
     "localname": "ITServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ITServicesOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ITServices One Member",
        "terseLabel": "IT Services [Member]"
       }
      }
     },
     "localname": "ITServicesOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ITServicesTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ITServices Two Member",
        "terseLabel": "IT Services [Member]"
       }
      }
     },
     "localname": "ITServicesTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_IdentityAutomationSystemsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Identity Automation Systems Member",
        "terseLabel": "Identity Automation Systems [Member]"
       }
      }
     },
     "localname": "IdentityAutomationSystemsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_IdentityAutomationSystemsOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Identity Automation Systems One Member",
        "terseLabel": "Identity Automation Systems One [Member]",
        "verboseLabel": "Identity Automation Systems [Member]"
       }
      }
     },
     "localname": "IdentityAutomationSystemsOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_IdentityAutomationSystemsTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Identity Automation Systems Two Member",
        "terseLabel": "Identity Automation Systems Two [Member]"
       }
      }
     },
     "localname": "IdentityAutomationSystemsTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_IncentiveManagementFeesExpenseBenefit": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "It represent incentive management fees expense (benefit).",
        "label": "Incentive Management Fees Expense Benefit",
        "terseLabel": "Incentive management fees expense (benefit)"
       }
      }
     },
     "localname": "IncentiveManagementFeesExpenseBenefit",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_IncomeTaxExpensebenefit1": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expensebenefit1",
        "terseLabel": "Income tax expense (benefit)"
       }
      }
     },
     "localname": "IncomeTaxExpensebenefit1",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_IncomeTaxProvisionBenefitFromRealizedGainLossOnInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 4.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "sar_NetRealizedAndUnrealizedGainlossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income tax (provision) benefit from realized gain on investments.",
        "label": "Income Tax Provision Benefit From Realized Gain Loss On Investments",
        "terseLabel": "Income tax (provision) benefit from realized gain on investments"
       }
      }
     },
     "localname": "IncomeTaxProvisionBenefitFromRealizedGainLossOnInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_IncomeTaxesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_IncomeTaxesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) [Table]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_IncreaseDecreaseFromOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease From Operations Abstract",
        "terseLabel": "Increase (Decrease) from Operations:"
       }
      }
     },
     "localname": "IncreaseDecreaseFromOperationsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_IncreaseDecreaseFromOperationsAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease From Operations Abstract0",
        "terseLabel": "Increase (Decrease) from Operations:"
       }
      }
     },
     "localname": "IncreaseDecreaseFromOperationsAbstract0",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_IncreaseDecreaseFromOperationsAbstract1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease From Operations Abstract1",
        "terseLabel": "Increase (Decrease) from Operations:"
       }
      }
     },
     "localname": "IncreaseDecreaseFromOperationsAbstract1",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_IncreaseDecreaseFromOperationsAbstract2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease From Operations Abstract2",
        "terseLabel": "Increase (Decrease) from Operations:"
       }
      }
     },
     "localname": "IncreaseDecreaseFromOperationsAbstract2",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_IncreaseDecreaseFromOperationsAbstract3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease From Operations Abstract3",
        "terseLabel": "Increase (Decrease) from Operations:"
       }
      }
     },
     "localname": "IncreaseDecreaseFromOperationsAbstract3",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_IncreaseDecreaseFromOperationsAbstract4": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease From Operations Abstract4",
        "terseLabel": "Increase (Decrease) from Operations:"
       }
      }
     },
     "localname": "IncreaseDecreaseFromOperationsAbstract4",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_IncreaseDecreaseFromOperationsAbstract5": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease From Operations Abstract5",
        "terseLabel": "Increase (Decrease) from Operations:"
       }
      }
     },
     "localname": "IncreaseDecreaseFromOperationsAbstract5",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_IncreaseDecreaseFromOperationsAbstract6": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease From Operations Abstract6",
        "terseLabel": "Increase (Decrease) from Operations:"
       }
      }
     },
     "localname": "IncreaseDecreaseFromOperationsAbstract6",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_IncreaseDecreaseInBaseManagementAndIncentiveFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses related to the managing member or general partner for management of the day-to-day business functions of the limited liability company (LLC) or limited partnership (LP).",
        "label": "Increase Decrease In Base Management And Incentive Fees Payable",
        "negatedLabel": "Base management and incentive fees payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInBaseManagementAndIncentiveFeesPayable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_IncreaseDecreaseInCurrentTaxPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 20.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses related to the current tax payable.",
        "label": "Increase Decrease In Current Tax Payable",
        "negatedLabel": "Current tax payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInCurrentTaxPayable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_IncreaseDecreaseInDirectorsFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses related to the directors' fees which are fees paid by an Entity to its directors. Directors' fees may be paid in addition to salary and other benefits.",
        "label": "Increase Decrease In Directors Fees Payable",
        "negatedLabel": "Directors fees payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInDirectorsFeesPayable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_IncreaseDecreaseInDueToManager": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 23.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of due to manager.",
        "label": "Increase Decrease In Due To Manager",
        "negatedLabel": "Due to manager"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueToManager",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_IncreaseDecreaseInExciseTaxPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 22.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of excise tax payable.",
        "label": "Increase Decrease In Excise Tax Payable",
        "negatedLabel": "Excise tax payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInExciseTaxPayable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_IncreaseDecreaseInManagementAndIncentiveFeeReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense and Income for incentive rights held by the managing member or general partner, of limited liability company (LLC) or limited partnership (LP).",
        "label": "Increase Decrease In Management And Incentive Fee Receivable",
        "negatedLabel": "Management fee receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInManagementAndIncentiveFeeReceivable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_Indebtedness": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "the condition of owing money, or the amount of money owed. The primary reason for the sale of the property was to reduce indebtedness.",
        "label": "Indebtedness",
        "terseLabel": "Indebtedness"
       }
      }
     },
     "localname": "Indebtedness",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_IndebtednessAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indebtedness amount.",
        "label": "Indebtedness Amount",
        "terseLabel": "Indebtedness amount"
       }
      }
     },
     "localname": "IndebtednessAmount",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/FinancialHighlightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InitialMinimumAmountDrawnToIncreaseLoanFacility": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Initial minimum drawn amount.",
        "label": "Initial Minimum Amount Drawn To Increase Loan Facility",
        "terseLabel": "Initial minimum amount drawn to increase loan facility"
       }
      }
     },
     "localname": "InitialMinimumAmountDrawnToIncreaseLoanFacility",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_IntegralMultiplesOfExcess": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Integral multiples of excess.",
        "label": "Integral Multiples Of Excess",
        "terseLabel": "Integral multiples of excess"
       }
      }
     },
     "localname": "IntegralMultiplesOfExcess",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InterestFromCashAndCashEquivalents": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentIncomeNonoperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest income on cash and cash equivalents. [Refer: Interest income; Cash and cash equivalents]",
        "label": "Interest From Cash And Cash Equivalents",
        "terseLabel": "Interest from cash and cash equivalents"
       }
      }
     },
     "localname": "InterestFromCashAndCashEquivalents",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InterestFromInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest From Investments Abstract",
        "terseLabel": "Interest from investments"
       }
      }
     },
     "localname": "InterestFromInvestmentsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_InterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Income Abstract",
        "terseLabel": "Interest income:"
       }
      }
     },
     "localname": "InterestIncomeAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_InterestIncomeOnAffiliateInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amounts related to affiliate investments.",
        "label": "Interest Income On Affiliate Investments",
        "terseLabel": "Affiliate investments"
       }
      }
     },
     "localname": "InterestIncomeOnAffiliateInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InterestIncomeOnControlInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amounts related to control investments.",
        "label": "Interest Income On Control Investments",
        "terseLabel": "Control investments"
       }
      }
     },
     "localname": "InterestIncomeOnControlInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InternalRateOfReturnPaidPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of internal rate of return paid.",
        "label": "Internal Rate Of Return Paid Percentage",
        "terseLabel": "Internal rate of return paid, percentage"
       }
      }
     },
     "localname": "InternalRateOfReturnPaidPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestementOfDiscountRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discount rate of investment.",
        "label": "Investement Of Discount Rate",
        "terseLabel": "Discount rate"
       }
      }
     },
     "localname": "InvestementOfDiscountRate",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentCompanyCapitalShareTransactionsRepurchaseFees": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 4.0,
       "parentTag": "sar_NetIncreaseDecreaseInNetAssetsFromCapitalShareTransactions",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of investment company capital share transactions repurchase fees.",
        "label": "Investment Company Capital Share Transactions Repurchase Fees",
        "negatedLabel": "Repurchase fees"
       }
      }
     },
     "localname": "InvestmentCompanyCapitalShareTransactionsRepurchaseFees",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InvestmentCompanyCashDistributionPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of entire cash distribution from ordinary income and capital gain. Excludes distribution for tax return of capital.",
        "label": "Investment Company Cash Distribution Percentage",
        "terseLabel": "Cash declared distribution, percentage"
       }
      }
     },
     "localname": "InvestmentCompanyCashDistributionPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentCompanyDeferredIncomeTaxesUnrealizedAppreciation": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense for unrealized appreciation of investment.",
        "label": "Investment Company Deferred Income Taxes Unrealized Appreciation",
        "terseLabel": "Unrealized appreciation (depreciation)"
       }
      }
     },
     "localname": "InvestmentCompanyDeferredIncomeTaxesUnrealizedAppreciation",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcomponentsofaccumulatedlossesonataxbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InvestmentCompanyDilutionPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of dilution of investment.",
        "label": "Investment Company Dilution Per Share",
        "terseLabel": "Dilution"
       }
      }
     },
     "localname": "InvestmentCompanyDilutionPerShare",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_InvestmentCompanyDistributableEarning": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftaxcharacterofdistributionspaidTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed tax basis earnings (deficit).",
        "label": "Investment Company Distributable Earning",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarning",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftaxcharacterofdistributionspaidTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InvestmentCompanyDistributionToShareholders": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "sar_NetDecreaseInNetAssetsFromShareholderDistributions",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of total distributions to shareholders.",
        "label": "Investment Company Distribution To Shareholders",
        "terseLabel": "Total distributions to shareholders"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionToShareholders",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InvestmentCompanyDividendDistributionPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of dividend distribution from ordinary income and capital gain. Excludes distribution for tax return of capital.",
        "label": "Investment Company Dividend Distribution Percentage",
        "terseLabel": "Aggregate declared distribution, percentage"
       }
      }
     },
     "localname": "InvestmentCompanyDividendDistributionPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentCompanyDividendDistributions": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "sar_NetIncreaseDecreaseInNetAssetsFromCapitalShareTransactions",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock dividend distribution.",
        "label": "Investment Company Dividend Distributions",
        "terseLabel": "Stock dividend distribution"
       }
      }
     },
     "localname": "InvestmentCompanyDividendDistributions",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InvestmentCompanyExpensesRatioIncludingIncentiveFee": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage, after deduction of fee waiver and incentive fee, of expense to average net assets.",
        "label": "Investment Company Expenses Ratio Including Incentive Fee",
        "terseLabel": "Ratio of incentive management fees to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyExpensesRatioIncludingIncentiveFee",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentCompanyInterestAndDebtFinancingExpensesToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of interest and debt financing expenses to average net assets.",
        "label": "Investment Company Interest And Debt Financing Expenses To Average Net Assets",
        "terseLabel": "Ratio of interest and debt financing expenses to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyInterestAndDebtFinancingExpensesToAverageNetAssets",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentCompanyIssuanceOfCommonStockAboveNetAssetValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment company issuance of common stock above net asset value.",
        "label": "Investment Company Issuance Of Common Stock Above Net Asset Value",
        "terseLabel": "Issuance of common stock above net asset value"
       }
      }
     },
     "localname": "InvestmentCompanyIssuanceOfCommonStockAboveNetAssetValue",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_InvestmentCompanyRealizedLossesOnExtinguishmentOfDebt": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of realized losses on extinguishment of debt.",
        "label": "Investment Company Realized Losses On Extinguishment Of Debt",
        "terseLabel": "Realized losses on extinguishment of debt"
       }
      }
     },
     "localname": "InvestmentCompanyRealizedLossesOnExtinguishmentOfDebt",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_InvestmentCompanyRepurchasesOfCommonstock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount repurchases of commonstock.",
        "label": "Investment Company Repurchases Of Commonstock",
        "terseLabel": "Repurchases of common stock"
       }
      }
     },
     "localname": "InvestmentCompanyRepurchasesOfCommonstock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_InvestmentCompanyTotalExpenseToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of total expenses to average net assets.",
        "label": "Investment Company Total Expense To Average Net Assets",
        "terseLabel": "Ratio of total expenses and income taxes to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyTotalExpenseToAverageNetAssets",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentCompanyTotalReturnsBasedOnMarketValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage in fund net asset value total return based on market value.",
        "label": "Investment Company Total Returns Based On Market Value",
        "terseLabel": "Total return based on market value"
       }
      }
     },
     "localname": "InvestmentCompanyTotalReturnsBasedOnMarketValue",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For investments which are quantified by principal amount, the principle balance held at close of period.",
        "label": "Investment Fair Value",
        "terseLabel": "Investment fair value"
       }
      }
     },
     "localname": "InvestmentFairValue",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InvestmentFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Fund Member",
        "terseLabel": "Investment Fund [Member]"
       }
      }
     },
     "localname": "InvestmentFundMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_InvestmentFundOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Fund One Member",
        "terseLabel": "Investment Fund [Member]"
       }
      }
     },
     "localname": "InvestmentFundOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_InvestmentOwnedBoardRepresentationPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment owned board representation percentage.",
        "label": "Investment Owned Board Representation Percentage",
        "terseLabel": "Investment owned board representation percentage"
       }
      }
     },
     "localname": "InvestmentOwnedBoardRepresentationPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentOwnedOutstandingVotingSharesPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment owned more than total outstanding voting shares percentage.",
        "label": "Investment Owned Outstanding Voting Shares Percentage",
        "terseLabel": "Investment owned outstanding voting shares percentage"
       }
      }
     },
     "localname": "InvestmentOwnedOutstandingVotingSharesPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentOwnedPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percent of net assets at close of period. For schedules of investments that are categorized, each category has a percent of net assets for the aggregated value of the Investments in the category.",
        "label": "Investment Owned Percentage",
        "terseLabel": "% of Net Assets"
       }
      }
     },
     "localname": "InvestmentOwnedPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcashandcashequivalentsandcashandcashequivalentsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentPrincipalBalance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment principal balance.",
        "label": "Investment Principal Balance",
        "terseLabel": "Investment principal balance"
       }
      }
     },
     "localname": "InvestmentPrincipalBalance",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InvestmentRepresentsGreaterThanFivePercentOfTotalAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of investment ratio of total assets.",
        "label": "Investment Represents Greater Than Five Percent Of Total Assets",
        "terseLabel": "Fair value investment, percentage"
       }
      }
     },
     "localname": "InvestmentRepresentsGreaterThanFivePercentOfTotalAssets",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentValuationPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment valuation in financial asset.",
        "label": "Investment Valuation Policy Text Block",
        "terseLabel": "Investment Valuation"
       }
      }
     },
     "localname": "InvestmentValuationPolicyTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_InvestmentsAtAmortizedCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of investments\u00a0at amortized cost.",
        "label": "Investments At Amortized Cost",
        "terseLabel": "Investments at Amortized Cost"
       }
      }
     },
     "localname": "InvestmentsAtAmortizedCost",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_InvestmentsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments (Details) [Line Items]"
       }
      }
     },
     "localname": "InvestmentsDetailsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_InvestmentsDetailsScheduleoffairvaluemeasurementsofinvestmentsbymajorclassLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments (Details) - Schedule of fair value measurements of investments, by major class [Line Items]"
       }
      }
     },
     "localname": "InvestmentsDetailsScheduleoffairvaluemeasurementsofinvestmentsbymajorclassLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_InvestmentsDetailsScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments (Details) - Schedule of fair value measurements of investments, by major class [Table]"
       }
      }
     },
     "localname": "InvestmentsDetailsScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_InvestmentsDetailsScheduleofreconciliationofbeginningandendingbalancesforinvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments (Details) - Schedule of reconciliation of beginning and ending balances for investments [Line Items]"
       }
      }
     },
     "localname": "InvestmentsDetailsScheduleofreconciliationofbeginningandendingbalancesforinvestmentsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_InvestmentsDetailsScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments (Details) - Schedule of reconciliation of beginning and ending balances for investments [Table]"
       }
      }
     },
     "localname": "InvestmentsDetailsScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_InvestmentsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments (Details) [Table]"
       }
      }
     },
     "localname": "InvestmentsDetailsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_InvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Line Items]"
       }
      }
     },
     "localname": "InvestmentsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/Investments"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_InvestmentsOwnedPercentOfNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percent of net assets at close of period. For schedules of investments that are categorized, each category has a percent of net assets for the aggregated value of the Investments in the category.",
        "label": "Investments Owned Percent Of Net Assets",
        "terseLabel": "Ratio of net investment income to average net assets"
       }
      }
     },
     "localname": "InvestmentsOwnedPercentOfNetAssets",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_InvestmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Table]"
       }
      }
     },
     "localname": "InvestmentsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/Investments"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_JDXpertMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "JDXpert Member",
        "terseLabel": "JDXpert [Member]"
       }
      }
     },
     "localname": "JDXpertMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_JDXpertOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "JDXpert One Member",
        "terseLabel": "JDXpert One [Member]"
       }
      }
     },
     "localname": "JDXpertOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_January192022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "January192022 Member",
        "terseLabel": "January 19, 2022 [Member]"
       }
      }
     },
     "localname": "January192022Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_January22019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "January22019 Member",
        "terseLabel": "January 2, 2019 [Member]"
       }
      }
     },
     "localname": "January22019Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_January42023Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "January42023 Member",
        "terseLabel": "January 4, 2023 [Member]"
       }
      }
     },
     "localname": "January42023Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_January52021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "January52021 Member",
        "terseLabel": "January 5, 2021 [Member]"
       }
      }
     },
     "localname": "January52021Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_January72020Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "January72020 Member",
        "terseLabel": "January 7, 2020 [Member]"
       }
      }
     },
     "localname": "January72020Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_JobviteIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Jobvite Inc Member",
        "terseLabel": "Jobvite, Inc. [Member]"
       }
      }
     },
     "localname": "JobviteIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_July72020Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "July72020 Member",
        "terseLabel": "July 7, 2020 [Member]"
       }
      }
     },
     "localname": "July72020Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_June272017Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "June272017 Member",
        "terseLabel": "June 27, 2017\t[Member]"
       }
      }
     },
     "localname": "June272017Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_June272018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "June272018 Member",
        "terseLabel": "June 27, 2018\t[Member]"
       }
      }
     },
     "localname": "June272018Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_June272019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "June272019 Member",
        "terseLabel": "June 27, 2019\t[Member]"
       }
      }
     },
     "localname": "June272019Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_June292021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "June292021 Member",
        "terseLabel": "June 29, 2021\t[Member]"
       }
      }
     },
     "localname": "June292021Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_June292022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "June292022 Member",
        "terseLabel": "June 29, 2022\t[Member]"
       }
      }
     },
     "localname": "June292022Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_June52015Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "June52015 Member",
        "terseLabel": "June 5, 2015 [Member]"
       }
      }
     },
     "localname": "June52015Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_KnowlandGroupLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Knowland Group LLCMember",
        "terseLabel": "Knowland Group, LLC [Member]"
       }
      }
     },
     "localname": "KnowlandGroupLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_LFRChickenLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LFRChicken LLCMember",
        "terseLabel": "LFR Chicken LLC [Member]"
       }
      }
     },
     "localname": "LFRChickenLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_LFRChickenLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LFRChicken LLCOne Member",
        "terseLabel": "LFR Chicken LLC One [Member]"
       }
      }
     },
     "localname": "LFRChickenLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_LFRChickenLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LFRChicken LLCTwo Member",
        "terseLabel": "LFR Chicken LLC Two [Member]"
       }
      }
     },
     "localname": "LFRChickenLLCTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_LIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LIBORMember",
        "terseLabel": "LIBOR [Member]"
       }
      }
     },
     "localname": "LIBORMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_LLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "LLC [Member]",
        "label": "LLCMember",
        "terseLabel": "LLC [Member]"
       }
      }
     },
     "localname": "LLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_LadenburgThalmannCoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ladenburg Thalmann Co Inc Member",
        "terseLabel": "Ladenburg Thalmann &amp; Co. Inc. [Member]",
        "verboseLabel": "Ladenburg Thalmann Co Inc [Member]"
       }
      }
     },
     "localname": "LadenburgThalmannCoIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_LeesFamousRecipeChickenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lees Famous Recipe Chicken Member",
        "terseLabel": "LFR Chicken LLC [Member]"
       }
      }
     },
     "localname": "LeesFamousRecipeChickenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_LegalMaturityDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Legal maturity date is scheduled to be fully repaid, in YYYY-MM-DD format.",
        "label": "Legal Maturity Date",
        "terseLabel": "Legal maturity date"
       }
      }
     },
     "localname": "LegalMaturityDate",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_LoanIncreasablePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan increasable percentage.",
        "label": "Loan Increasable Percentage",
        "terseLabel": "Loan increasable, percentage"
       }
      }
     },
     "localname": "LoanIncreasablePercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_LoanRepaid": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loan repaid.",
        "label": "Loan Repaid",
        "terseLabel": "Loan repaid"
       }
      }
     },
     "localname": "LoanRepaid",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_LogicMonitorIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Logic Monitor Inc Member",
        "terseLabel": "LogicMonitor, Inc. [Member]"
       }
      }
     },
     "localname": "LogicMonitorIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_LongtermCapitalLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount is long-term capital loss.",
        "label": "Longterm Capital Loss",
        "terseLabel": "Long-term capital loss"
       }
      }
     },
     "localname": "LongtermCapitalLoss",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_MadisonCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Madison Credit Facility Member",
        "terseLabel": "Madison Credit Facility [Member]"
       }
      }
     },
     "localname": "MadisonCreditFacilityMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_MadisonLogicIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Madison Logic Inc Member",
        "terseLabel": "Madison Logic, Inc. [Member]"
       }
      }
     },
     "localname": "MadisonLogicIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_MadisonLogicIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Madison Logic Inc One Member",
        "terseLabel": "Madison Logic, Inc. One [Member]"
       }
      }
     },
     "localname": "MadisonLogicIncOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_MadisonLogicRevolverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Madison Logic Revolver Member",
        "terseLabel": "Madison Logic, Inc. - Revolver [Member]"
       }
      }
     },
     "localname": "MadisonLogicRevolverMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ManagementAgreement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Agreement",
        "terseLabel": "Management agreement"
       }
      }
     },
     "localname": "ManagementAgreement",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "sar_ManagementAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Agreement Member",
        "terseLabel": "Management Agreement [Member]"
       }
      }
     },
     "localname": "ManagementAgreementMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ManagementFeeIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_InvestmentIncomeNonoperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income recognised from portfolio and other management fees.",
        "label": "Management Fee Income",
        "terseLabel": "Management fee income",
        "verboseLabel": "Management Fee Income"
       }
      }
     },
     "localname": "ManagementFeeIncome",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ManagementFeeReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of management fee receivable.",
        "label": "Management Fee Receivable",
        "terseLabel": "Management fee receivable"
       }
      }
     },
     "localname": "ManagementFeeReceivable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ManagementFeesIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income recognised from portfolio and other management fees.",
        "label": "Management Fees Income",
        "terseLabel": "Management fees income"
       }
      }
     },
     "localname": "ManagementFeesIncome",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_March222021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "March222021 Member",
        "terseLabel": "March 22, 2021 [Member]"
       }
      }
     },
     "localname": "March222021Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_March262018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "March262018 Member",
        "terseLabel": "March 26, 2018 [Member]"
       }
      }
     },
     "localname": "March262018Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_March282017Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "March282017 Member",
        "terseLabel": "March 28, 2017 [Member]"
       }
      }
     },
     "localname": "March282017Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_March282019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "March282019 Member",
        "terseLabel": "March 28, 2019 [Member]"
       }
      }
     },
     "localname": "March282019Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_March282022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "March282022 Member",
        "terseLabel": "March 28, 2022 [Member]"
       }
      }
     },
     "localname": "March282022Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_March302023Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "March302023 Member",
        "terseLabel": "March 30, 2023 [Member]"
       }
      }
     },
     "localname": "March302023Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_MaximumLoanIncreasableAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum loan increasable amount under credit facility.",
        "label": "Maximum Loan Increasable Amount",
        "terseLabel": "Maximum loan increasable amount"
       }
      }
     },
     "localname": "MaximumLoanIncreasableAmount",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_May262022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "May262022 Member",
        "terseLabel": "May 26, 2022 [Member]"
       }
      }
     },
     "localname": "May262022Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_May272021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "May272021 Member",
        "terseLabel": "May 27, 2021 [Member]"
       }
      }
     },
     "localname": "May272021Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_May282019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "May282019 Member",
        "terseLabel": "May 28, 2019 [Member]"
       }
      }
     },
     "localname": "May282019Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_May292015Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "May292015 Member",
        "terseLabel": "May 29. 2015 [Member]"
       }
      }
     },
     "localname": "May292015Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_May302018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "May302018 Member",
        "terseLabel": "May 30, 2018 [Member]"
       }
      }
     },
     "localname": "May302018Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_MembershipInterestMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Membership Interest Member",
        "terseLabel": "Membership Interest [Member]"
       }
      }
     },
     "localname": "MembershipInterestMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_MinimumCapitalGainIncomeNetPercentageOfDistribute": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum capital gain income net percentage of distribute.",
        "label": "Minimum Capital Gain Income Net Percentage Of Distribute",
        "terseLabel": "Capital gain net income, percentage"
       }
      }
     },
     "localname": "MinimumCapitalGainIncomeNetPercentageOfDistribute",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_MinimumDenominationsAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum denominations amount.",
        "label": "Minimum Denominations Amount",
        "terseLabel": "Minimum denominations amount"
       }
      }
     },
     "localname": "MinimumDenominationsAmount",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_MinimumDistributePercentToQualifyRIC": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum distribute percent to qualify RIC.",
        "label": "Minimum Distribute Percent To Qualify RIC",
        "terseLabel": "Minimum distribute percent to qualify RIC"
       }
      }
     },
     "localname": "MinimumDistributePercentToQualifyRIC",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_MinimumOrdinaryIncomeNetPercentageOfDistribute": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum ordinary income net percentage of distribute.",
        "label": "Minimum Ordinary Income Net Percentage Of Distribute",
        "terseLabel": "Net ordinary income, percentage"
       }
      }
     },
     "localname": "MinimumOrdinaryIncomeNetPercentageOfDistribute",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_MoneyMarketShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of money market shares of an entity that have been sold or granted to shareholders.",
        "label": "Money Market Shares",
        "terseLabel": "Number of Shares\t(in Shares)"
       }
      }
     },
     "localname": "MoneyMarketShares",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcashandcashequivalentsandcashandcashequivalentsTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "sar_MonthAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Month Axis",
        "terseLabel": "Month [Axis]"
       }
      }
     },
     "localname": "MonthAxis",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_MonthDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Month [Domain]"
       }
      }
     },
     "localname": "MonthDomain",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_MoreThanFiveYearsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "More Than Five Years Member",
        "terseLabel": "More Than 5 Years [Member]"
       }
      }
     },
     "localname": "MoreThanFiveYearsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NationalWastePartnersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "National Waste Partners Member",
        "terseLabel": "National Waste Partners [Member]"
       }
      }
     },
     "localname": "NationalWastePartnersMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NetAccretionOfDiscountOnInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net accretion of discount on investments.",
        "label": "Net Accretion Of Discount On Investments",
        "terseLabel": "Net accretion of discount on investments"
       }
      }
     },
     "localname": "NetAccretionOfDiscountOnInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetAssetValueAdoption": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net asset value per share or per unit of investments in certain entities that calculate net asset value per share. Includes, but is not limited to, by unit, membership interest, or other ownership interest. Investment includes, but is not limited to, investment in certain hedge funds, venture capital funds, private equity funds, real estate partnerships or funds. Excludes fair value disclosure.",
        "label": "Net Asset Value Adoption",
        "terseLabel": "Adoption of ASC 606"
       }
      }
     },
     "localname": "NetAssetValueAdoption",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_NetAssetValueAtBeginningOfPeriodAsAdjusted": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Asset Value At Beginning Of Period As Adjusted",
        "periodStartLabel": "Net asset value at beginning of period, as adjusted (in Dollars)"
       }
      }
     },
     "localname": "NetAssetValueAtBeginningOfPeriodAsAdjusted",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net assets.",
        "label": "Net Assets",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance"
       }
      }
     },
     "localname": "NetAssets",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetAssetsAtEndOfPeriodinDollars": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Assets At End Of Periodin Dollars",
        "periodEndLabel": "Net assets at end of period (in Dollars)"
       }
      }
     },
     "localname": "NetAssetsAtEndOfPeriodinDollars",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Assets Member",
        "terseLabel": "Net Assets [Member]"
       }
      }
     },
     "localname": "NetAssetsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NetChangeInProvisionForDeferredTaxesOnUnrealizedAppreciationDepreciationOnInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net change in provision for deferred taxes on unrealized (appreciation) depreciation on investments.",
        "label": "Net Change In Provision For Deferred Taxes On Unrealized Appreciation Depreciation On Investments",
        "terseLabel": "Net change in provision for deferred taxes on unrealized (appreciation) depreciation on investments"
       }
      }
     },
     "localname": "NetChangeInProvisionForDeferredTaxesOnUnrealizedAppreciationDepreciationOnInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetChangeInUnrealizedAppreciationDepreciation": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount  of net change in unrealized appreciation (depreciation).",
        "label": "Net Change In Unrealized Appreciation Depreciation",
        "terseLabel": "Net Change in Unrealized Appreciation (Depreciation)"
       }
      }
     },
     "localname": "NetChangeInUnrealizedAppreciationDepreciation",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetChangeInUnrealizedAppreciationDepreciationOnInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net change in unrealized appreciation (depreciation) on investments.",
        "label": "Net Change In Unrealized Appreciation Depreciation On Investments",
        "terseLabel": "Net change in unrealized appreciation (depreciation) on investments"
       }
      }
     },
     "localname": "NetChangeInUnrealizedAppreciationDepreciationOnInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetChangeInUnrealizedAppreciationDepreciationOnInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Change In Unrealized Appreciation Depreciation On Investments Abstract",
        "terseLabel": "Net change in unrealized appreciation (depreciation) on investments:"
       }
      }
     },
     "localname": "NetChangeInUnrealizedAppreciationDepreciationOnInvestmentsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_NetChangeInUnrealizedAppreciationdepreciationOnInvestment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the net excess or deficiency of the fair value of an investment (security, contract) over or under its cost (face amount, notional amount), respectively, which excess value or deficiency has not been recognized in earnings of the entity.",
        "label": "Net Change In Unrealized Appreciationdepreciation On Investment",
        "terseLabel": "Net change in unrealized appreciation (depreciation) on investments"
       }
      }
     },
     "localname": "NetChangeInUnrealizedAppreciationdepreciationOnInvestment",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetChangeInUnrealizedAppreciationdepreciationOnInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 5.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "sar_NetRealizedAndUnrealizedGainlossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net unrealized appreciation or depreciation.",
        "label": "Net Change In Unrealized Appreciationdepreciation On Investments",
        "negatedLabel": "Net change in unrealized (appreciation) depreciation on investments",
        "terseLabel": "Net change in unrealized appreciation (depreciation) on investments",
        "totalLabel": "Net change in unrealized appreciation (depreciation) on investments"
       }
      }
     },
     "localname": "NetChangeInUnrealizedAppreciationdepreciationOnInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetDecreaseInNetAssetsFromShareholderDistributions": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net decrease in net assets from shareholder distributions.",
        "label": "Net Decrease In Net Assets From Shareholder Distributions",
        "totalLabel": "Net decrease in net assets from shareholder distributions"
       }
      }
     },
     "localname": "NetDecreaseInNetAssetsFromShareholderDistributions",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetDeferredExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredIncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Net Deferred Expense",
        "totalLabel": "Net deferred expense"
       }
      }
     },
     "localname": "NetDeferredExpense",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetIncreaseDecreaseInNetAssetsFromCapitalShareTransactions": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net increase (decrease) in net assets from capital share transactions.",
        "label": "Net Increase Decrease In Net Assets From Capital Share Transactions",
        "totalLabel": "Net increase (decrease) in net assets from capital share transactions"
       }
      }
     },
     "localname": "NetIncreaseDecreaseInNetAssetsFromCapitalShareTransactions",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetInvestmentIncomes": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Investment Incomes",
        "terseLabel": "Net investment income percentage"
       }
      }
     },
     "localname": "NetInvestmentIncomes",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_NetInvestmentsIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net investment income.",
        "label": "Net Investments Income",
        "terseLabel": "Net investment income"
       }
      }
     },
     "localname": "NetInvestmentsIncome",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetRealizedAndUnrealizedGainlossOnInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized and unrealized gain (loss) on investment.",
        "label": "Net Realized And Unrealized Gainloss On Investments",
        "totalLabel": "Net realized and unrealized gain (loss) on investments"
       }
      }
     },
     "localname": "NetRealizedAndUnrealizedGainlossOnInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetRealizedGainLossFromInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net realized gain (loss) from investments.",
        "label": "Net Realized Gain Loss From Investments",
        "terseLabel": "Net Realized Gain (Loss) from Investments"
       }
      }
     },
     "localname": "NetRealizedGainLossFromInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetRealizedGainlossFromInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net realized gain (loss) from investments.",
        "label": "Net Realized Gainloss From Investments",
        "terseLabel": "Net realized gain (loss) from investments"
       }
      }
     },
     "localname": "NetRealizedGainlossFromInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetRealizedOrUnrealizedGainLosOnTradingSecurities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of the realized and unrealized net gain (loss) on trading securities during the period.",
        "label": "Net Realized Or Unrealized Gain Los On Trading Securities",
        "terseLabel": "Net realized and unrealized gain (loss)"
       }
      }
     },
     "localname": "NetRealizedOrUnrealizedGainLosOnTradingSecurities",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetReserveOfInterestReceivable": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net reserve of interest receivable.",
        "label": "Net Reserve Of Interest Receivable",
        "terseLabel": "Net reserve of interest receivable (in Dollars)"
       }
      }
     },
     "localname": "NetReserveOfInterestReceivable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_NetreoHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Netreo Holdings LLCMember",
        "terseLabel": "Netreo Holdings, LLC [Member]"
       }
      }
     },
     "localname": "NetreoHoldingsLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NetreoHoldingsLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Netreo Holdings LLCOne Member",
        "terseLabel": "Netreo Holdings, LLC One [Member]"
       }
      }
     },
     "localname": "NetreoHoldingsLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NetreoHoldingsLLCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Netreo Holdings LLCTwo Member",
        "terseLabel": "Netreo Holdings, LLC Two [Member]"
       }
      }
     },
     "localname": "NetreoHoldingsLLCTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NewEnglandDentalPartnerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "New England Dental Partner Member",
        "terseLabel": "New England Dental Partners [Member]"
       }
      }
     },
     "localname": "NewEnglandDentalPartnerMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NewEnglandDentalPartnersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "New England Dental Partners Member",
        "terseLabel": "New England Dental Partners [Member]"
       }
      }
     },
     "localname": "NewEnglandDentalPartnersMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NewEnglandDentalPartnersOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "New England Dental Partners One Member",
        "terseLabel": "New England Dental Partners One [Member]"
       }
      }
     },
     "localname": "NewEnglandDentalPartnersOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NonControlNonAffiliateInvestments2385BAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non Control Non Affiliate Investments2385 BAbstract",
        "terseLabel": "Non-control/Non-affiliate investments - 238.5% (b)"
       }
      }
     },
     "localname": "NonControlNonAffiliateInvestments2385BAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_NondeductibleUSFederalExciseTax": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nondeductible U.S. federal excise tax.",
        "label": "Nondeductible USFederal Excise Tax",
        "terseLabel": "Federal excise tax, percentage"
       }
      }
     },
     "localname": "NondeductibleUSFederalExciseTax",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_NoteEightMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Eight Member",
        "terseLabel": "8.00% 2027 Notes [Member]"
       }
      }
     },
     "localname": "NoteEightMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NoteFiveYearMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Five Year Member",
        "terseLabel": "6.25% Notes 2025 [Member]"
       }
      }
     },
     "localname": "NoteFiveYearMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NoteFourYearMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Four Year Member",
        "terseLabel": "6.25% 2025 Notes [Member]"
       }
      }
     },
     "localname": "NoteFourYearMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NoteLevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Leven Member",
        "terseLabel": "6.00% 2027 Notes [Member]"
       }
      }
     },
     "localname": "NoteLevenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NoteNineMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Nine Member",
        "terseLabel": "4.375% Notes 2026 [Member]"
       }
      }
     },
     "localname": "NoteNineMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotePayableEightMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Payable Eight Member",
        "terseLabel": "8.125% Notes Payable 2027",
        "verboseLabel": "4.35% Notes Payable [Member]"
       }
      }
     },
     "localname": "NotePayableEightMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotePayableElevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Payable Eleven Member",
        "terseLabel": "8.00% Notes Payable 2027 [Member]"
       }
      }
     },
     "localname": "NotePayableElevenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotePayableFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Payable Five Member",
        "terseLabel": "7.25% Notes Payable 2025 [Member]"
       }
      }
     },
     "localname": "NotePayableFiveMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotePayableFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Payable Four Member",
        "terseLabel": "7.00% Notes Payable 2025 [Member]"
       }
      }
     },
     "localname": "NotePayableFourMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotePayableNineMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Payable Nine Member",
        "terseLabel": "6.25% Notes Payable 2027 [Member]"
       }
      }
     },
     "localname": "NotePayableNineMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotePayableSevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Payable Seven Member",
        "terseLabel": "4.375% Notes Payable [Member]"
       }
      }
     },
     "localname": "NotePayableSevenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotePayableSixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Payable Six Member",
        "terseLabel": "7.75% Notes Payable 2025 [Member]"
       }
      }
     },
     "localname": "NotePayableSixMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotePayableTenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Payable Ten Member",
        "terseLabel": "6.00% Notes Payable 2027 [Member]"
       }
      }
     },
     "localname": "NotePayableTenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotePayableTwelveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Payable Twelve Member",
        "terseLabel": "8.125% Notes Payable 2027 [Member]"
       }
      }
     },
     "localname": "NotePayableTwelveMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotePayableTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Payable Two Member",
        "terseLabel": "6.75% Notes Payable 2023 [Member]"
       }
      }
     },
     "localname": "NotePayableTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NoteSevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Seven Member",
        "terseLabel": "7.00% 2025 Notes [Member]"
       }
      }
     },
     "localname": "NoteSevenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NoteThirteenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Thirteen Member",
        "terseLabel": "8.125% Notes 2027 [Member]"
       }
      }
     },
     "localname": "NoteThirteenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NoteThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Three Member",
        "terseLabel": "6.25% Notes 2027 [Member]",
        "verboseLabel": "Note Three [Member]"
       }
      }
     },
     "localname": "NoteThreeMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NoteThreeYearMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Three Year Member",
        "terseLabel": "2023 Notes [Member]"
       }
      }
     },
     "localname": "NoteThreeYearMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NoteTwelveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Twelve Member",
        "terseLabel": "4.35% Notes 2027 [Member]"
       }
      }
     },
     "localname": "NoteTwelveMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NoteTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Two Member",
        "terseLabel": "7.75% Notes 2025 [Member]"
       }
      }
     },
     "localname": "NoteTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NoteTwoYearMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note Two Year Member",
        "terseLabel": "6.75% 2023 Notes [Member]"
       }
      }
     },
     "localname": "NoteTwoYearMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_Notes2025Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes2025 Member",
        "terseLabel": "Notes 2025"
       }
      }
     },
     "localname": "Notes2025Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_Notes2026Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes2026 Member",
        "terseLabel": "Notes 2026"
       }
      }
     },
     "localname": "Notes2026Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_Notes2027Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes2027 Member",
        "terseLabel": "Notes 2027"
       }
      }
     },
     "localname": "Notes2027Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_Notes2027OneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes2027 One Member",
        "terseLabel": "Notes 2027 One"
       }
      }
     },
     "localname": "Notes2027OneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotesOfferingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Offering Member",
        "terseLabel": "Notes offering [Member]"
       }
      }
     },
     "localname": "NotesOfferingMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotesOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes One Member",
        "terseLabel": "7.25% 2025 Notes [Member]"
       }
      }
     },
     "localname": "NotesOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotesPayableFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable Five Member",
        "terseLabel": "6.00% Notes due 2027",
        "verboseLabel": "6.25% Notes Payable 2027"
       }
      }
     },
     "localname": "NotesPayableFiveMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotesPayableFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable Four Member",
        "terseLabel": "4.35% Notes Payable 2027"
       }
      }
     },
     "localname": "NotesPayableFourMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotesPayableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable Member",
        "terseLabel": "7.00% Notes Payable 2025"
       }
      }
     },
     "localname": "NotesPayableMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotesPayableOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable One Member",
        "terseLabel": "7.25% Notes Payable 2025"
       }
      }
     },
     "localname": "NotesPayableOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotesPayablePremiumPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "It represent notes payable premium, percentage.",
        "label": "Notes Payable Premium Percentage",
        "terseLabel": "Notes payable premium, percentage"
       }
      }
     },
     "localname": "NotesPayablePremiumPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_NotesPayableSevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable Seven Member",
        "terseLabel": "8.00% Notes Payable 2027"
       }
      }
     },
     "localname": "NotesPayableSevenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotesPayableSixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable Six Member",
        "terseLabel": "6.00% Notes Payable 2027"
       }
      }
     },
     "localname": "NotesPayableSixMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotesPayableThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable Three Member",
        "terseLabel": "4.375% Notes Payable 2026",
        "verboseLabel": "6.25% Notes Payable 2025 [Member]"
       }
      }
     },
     "localname": "NotesPayableThreeMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotesPayableTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable Two Member",
        "terseLabel": "7.75% Notes Payable 2025"
       }
      }
     },
     "localname": "NotesPayableTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_NotethrteenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notethrteen Member",
        "terseLabel": "7.75% 2025 [Member]"
       }
      }
     },
     "localname": "NotethrteenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_November102020Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "November102020 Member",
        "terseLabel": "November 10, 2020 [Member]"
       }
      }
     },
     "localname": "November102020Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_November152022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "November152022 Member",
        "terseLabel": "November 15, 2022 [Member]"
       }
      }
     },
     "localname": "November152022Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_November272018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "November272018 Member",
        "terseLabel": "November 27, 2018 [Member]"
       }
      }
     },
     "localname": "November272018Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_November282014Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "November282014 Member",
        "terseLabel": "November 28, 2014 [Member]"
       }
      }
     },
     "localname": "November282014Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_November302015Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "November302015 Member",
        "terseLabel": "November 30, 2015 [Member]"
       }
      }
     },
     "localname": "November302015Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_November92016Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "November92016 Member",
        "terseLabel": "November 9, 2016 [Member]"
       }
      }
     },
     "localname": "November92016Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_October72020Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "October72020 Member",
        "terseLabel": "October 7, 2020 [Member]"
       }
      }
     },
     "localname": "October72020Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_OffBalanceSheetArrangements": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Off Balance Sheet Arrangements",
        "terseLabel": "Off-Balance sheet arrangements"
       }
      }
     },
     "localname": "OffBalanceSheetArrangements",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_OfferForSale": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount related to offer for sale.",
        "label": "Offer For Sale",
        "terseLabel": "Offer for sale"
       }
      }
     },
     "localname": "OfferForSale",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_OfferingExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Offering expenses.",
        "label": "Offering Expenses",
        "terseLabel": "Offering expenses"
       }
      }
     },
     "localname": "OfferingExpenses",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_OhioMedicalLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ohio Medical LLCMember",
        "terseLabel": "Ohio Medical, LLC [Member]"
       }
      }
     },
     "localname": "OhioMedicalLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_OmaticSoftwareLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Omatic Software LLCMember",
        "terseLabel": "Omatic Software, LLC [Member]"
       }
      }
     },
     "localname": "OmaticSoftwareLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_OneToThreeYearsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "One To Three Years Member",
        "terseLabel": "1 - 3 Years [Member]"
       }
      }
     },
     "localname": "OneToThreeYearsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_OrganizationDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization (Details) [Line Items]"
       }
      }
     },
     "localname": "OrganizationDetailsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_OrganizationDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization (Details) [Table]"
       }
      }
     },
     "localname": "OrganizationDetailsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_OtherIncomePolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for other income.",
        "label": "Other Income Policy Policy Text Block",
        "terseLabel": "Other Income"
       }
      }
     },
     "localname": "OtherIncomePolicyPolicyTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_OtherTemporaryDifferences": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount is other temporary differences.",
        "label": "Other Temporary Differences",
        "terseLabel": "Other temporary differences"
       }
      }
     },
     "localname": "OtherTemporaryDifferences",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcomponentsofaccumulatedlossesonataxbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_OutstandingReceivable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount is outstanding receivable.",
        "label": "Outstanding Receivable",
        "terseLabel": "outstanding receivable"
       }
      }
     },
     "localname": "OutstandingReceivable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_OwnedPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit).",
        "label": "Owned Percentage",
        "terseLabel": "Owned percentage"
       }
      }
     },
     "localname": "OwnedPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PDDSBuyerLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PDDSBuyer LLCMember",
        "terseLabel": "PDDS Buyer, LLC [Member]"
       }
      }
     },
     "localname": "PDDSBuyerLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PDDSBuyerLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "PDDSBuyer LLCOne Member",
        "terseLabel": "PDDS Buyer, LLC One [Member]"
       }
      }
     },
     "localname": "PDDSBuyerLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PantherParentCoLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Panther Parent Co LLCMember",
        "terseLabel": "Panther ParentCo LLC [Member]"
       }
      }
     },
     "localname": "PantherParentCoLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PassagewaysIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Passageways Inc Member",
        "terseLabel": "Passageways, Inc. [Member]"
       }
      }
     },
     "localname": "PassagewaysIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PaymentInKindInterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payment In Kind Interest Income Abstract",
        "terseLabel": "Payment-in-kind interest income:"
       }
      }
     },
     "localname": "PaymentInKindInterestIncomeAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_PaymentInKindInterestIncomeOnAffiliateInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 5.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amounts related to affiliate investments.",
        "label": "Payment In Kind Interest Income On Affiliate Investments",
        "terseLabel": "Affiliate investments"
       }
      }
     },
     "localname": "PaymentInKindInterestIncomeOnAffiliateInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_PaymentInKindInterestIncomeOnControlInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 6.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amounts related to control investments.",
        "label": "Payment In Kind Interest Income On Control Investments",
        "terseLabel": "Control investments"
       }
      }
     },
     "localname": "PaymentInKindInterestIncomeOnControlInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_PaymentInKindInterestIncomeOnNonControlAndNonAffiliateInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 4.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amount of income on non-control/non-affiliate investments.",
        "label": "Payment In Kind Interest Income On Non Control And Non Affiliate Investments",
        "terseLabel": "Non-control/Non-affiliate investments"
       }
      }
     },
     "localname": "PaymentInKindInterestIncomeOnNonControlAndNonAffiliateInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_PaymentinKindInterestPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for payment-in-kind interest.",
        "label": "Paymentin Kind Interest Policy Text Block",
        "terseLabel": "Payment-in-Kind Interest"
       }
      }
     },
     "localname": "PaymentinKindInterestPolicyTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_PaymentinkindAndOtherAdjustmentsToCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of payment-in-kind and other adjustments to cost.",
        "label": "Paymentinkind And Other Adjustments To Cost",
        "terseLabel": "Payment-in-kind and other adjustments to cost"
       }
      }
     },
     "localname": "PaymentinkindAndOtherAdjustmentsToCost",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_PaymentinkindInterestIncomeAndOtherAdjustmentsToCost": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of payment-in-kind interest income and other adjustments to cost.",
        "label": "Paymentinkind Interest Income And Other Adjustments To Cost",
        "terseLabel": "Payment-in-kind interest income and other adjustments to cost"
       }
      }
     },
     "localname": "PaymentinkindInterestIncomeAndOtherAdjustmentsToCost",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_PepperPalaceDDTLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pepper Palace DDTLMember",
        "terseLabel": "Pepper Palace, Inc. - Delayed Draw Term Loan [Member]"
       }
      }
     },
     "localname": "PepperPalaceDDTLMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PepperPalaceIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pepper Palace Inc Member",
        "terseLabel": "Pepper Palace, Inc. [Member]",
        "verboseLabel": "Pepper Palace, Inc [Member]"
       }
      }
     },
     "localname": "PepperPalaceIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PepperPalaceIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pepper Palace Inc One Member",
        "terseLabel": "Pepper Palace, Inc. One [Member]"
       }
      }
     },
     "localname": "PepperPalaceIncOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PepperPalaceIncThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pepper Palace Inc Three Member",
        "terseLabel": "Pepper Palace, Inc. Three [Member]"
       }
      }
     },
     "localname": "PepperPalaceIncThreeMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PepperPalaceIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pepper Palace Inc Two Member",
        "terseLabel": "Pepper Palace, Inc. Two [Member]"
       }
      }
     },
     "localname": "PepperPalaceIncTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PepperPalaceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pepper Palace Member",
        "terseLabel": "Pepper Palace, Inc. [Member]"
       }
      }
     },
     "localname": "PepperPalaceMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PepperPalaceRevolverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pepper Palace Revolver Member",
        "terseLabel": "Pepper Palace, Inc. - Revolver [Member]"
       }
      }
     },
     "localname": "PepperPalaceRevolverMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PercentageOfCapitalGains": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of capital gains.",
        "label": "Percentage Of Capital Gains",
        "terseLabel": "Percentage of capital gains"
       }
      }
     },
     "localname": "PercentageOfCapitalGains",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PercentageOfDebtWeightedAverageSpread": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of debt weighted average spread.",
        "label": "Percentage Of Debt Weighted Average Spread",
        "terseLabel": "Percentage of debt weighted average spread"
       }
      }
     },
     "localname": "PercentageOfDebtWeightedAverageSpread",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PercentageOfExcessCashFlow": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of excess cash flow.",
        "label": "Percentage Of Excess Cash Flow",
        "terseLabel": "Percentage of excess cash flow"
       }
      }
     },
     "localname": "PercentageOfExcessCashFlow",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PercentageOfFederalExciseTaxOnIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of federal excise tax on income.",
        "label": "Percentage Of Federal Excise Tax On Income",
        "terseLabel": "Percentage of federal excise tax on income"
       }
      }
     },
     "localname": "PercentageOfFederalExciseTaxOnIncome",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PercentageOfInvestmentOfTaxableIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of investment of taxable income.",
        "label": "Percentage Of Investment Of Taxable Income",
        "terseLabel": "Percentage of investment of taxable income"
       }
      }
     },
     "localname": "PercentageOfInvestmentOfTaxableIncome",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PercentageOfInvestmentsWeightedAverageSpread": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of investments weighted average spread.",
        "label": "Percentage Of Investments Weighted Average Spread",
        "terseLabel": "Weighted average spread percentage"
       }
      }
     },
     "localname": "PercentageOfInvestmentsWeightedAverageSpread",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PercentageOfManagementFee": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of management fee.",
        "label": "Percentage Of Management Fee",
        "terseLabel": "Percentage of management fee"
       }
      }
     },
     "localname": "PercentageOfManagementFee",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PercentageOfOrdinaryIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of ordinary income.",
        "label": "Percentage Of Ordinary Income",
        "terseLabel": "Percentage of ordinary income"
       }
      }
     },
     "localname": "PercentageOfOrdinaryIncome",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PercentageOfWeightedAverageTradingprice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of weighted average trading price of dividend payments on common stock.",
        "label": "Percentage Of Weighted Average Tradingprice",
        "terseLabel": "Percentage of weighted average trading price"
       }
      }
     },
     "localname": "PercentageOfWeightedAverageTradingprice",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PercentageOwnedAndManaged": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage owned and managed.",
        "label": "Percentage Owned And Managed",
        "terseLabel": "Percentage owned and managed"
       }
      }
     },
     "localname": "PercentageOwnedAndManaged",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PercentageSubordinatedManagementFee": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage subordinated management fee.",
        "label": "Percentage Subordinated Management Fee",
        "terseLabel": "Percentage subordinated management fee"
       }
      }
     },
     "localname": "PercentageSubordinatedManagementFee",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PortfolioCompanysDiscretionSatisfactionOfCertainFinancialAndNonfinancialCovenantsRequiredMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portfolio Companys Discretion Satisfaction Of Certain Financial And Nonfinancial Covenants Required Member",
        "terseLabel": "At portfolio company\u2019s discretion - satisfaction of certain financial and nonfinancial covenants required [Member]"
       }
      }
     },
     "localname": "PortfolioCompanysDiscretionSatisfactionOfCertainFinancialAndNonfinancialCovenantsRequiredMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PortfolioTurnoverRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of portfolio turnover rate.",
        "label": "Portfolio Turnover Rate",
        "terseLabel": "Portfolio turnover rate"
       }
      }
     },
     "localname": "PortfolioTurnoverRate",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PostOctoberLossDeferred": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount is post October loss deferred.",
        "label": "Post October Loss Deferred",
        "terseLabel": "Post October loss deferred"
       }
      }
     },
     "localname": "PostOctoberLossDeferred",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcomponentsofaccumulatedlossesonataxbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_PremiumOnDebtIssuance": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt discount (premium) and debt issuance costs.",
        "label": "Premium On Debt Issuance",
        "terseLabel": "Premium on debt issuance, 4.375% notes 2026"
       }
      }
     },
     "localname": "PremiumOnDebtIssuance",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_PremiumOnDebtIssuancePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Premium on debt issuance percentage.",
        "label": "Premium On Debt Issuance Percentage",
        "terseLabel": "Premium on debt issuance percentage"
       }
      }
     },
     "localname": "PremiumOnDebtIssuancePercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow_Parentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PrincipalOfALoan": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Principal Of ALoan",
        "terseLabel": "Principal of a Loan"
       }
      }
     },
     "localname": "PrincipalOfALoan",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ProceedsFromIssuanceOfCommonStockShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from issuance of common stock shares.",
        "label": "Proceeds From Issuance Of Common Stock Shares",
        "terseLabel": "Proceeds from issuance of common stock, shares (in Shares)"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStockShares",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "sar_ProceedsFromIssuancesOfCommonStock": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capitals contribution to the entity.",
        "label": "Proceeds From Issuances Of Common Stock",
        "terseLabel": "Proceeds from issuance of common stock"
       }
      }
     },
     "localname": "ProceedsFromIssuancesOfCommonStock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ProceedsFromSalesAndRepaymentsOfInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of proceeds from sales and repayments of investments.",
        "label": "Proceeds From Sales And Repayments Of Investments",
        "terseLabel": "Proceeds from sales and repayments of investments"
       }
      }
     },
     "localname": "ProceedsFromSalesAndRepaymentsOfInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ProceedsReceivedFromSales": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of proceeds received from sale of units.",
        "label": "Proceeds Received From Sales",
        "terseLabel": "Total proceeds received"
       }
      }
     },
     "localname": "ProceedsReceivedFromSales",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_ProcrementPartnersLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Procrement Partners LLCMember",
        "terseLabel": "Procrement Partners, LLC [Member]"
       }
      }
     },
     "localname": "ProcrementPartnersLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ProcurementPartnersHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Procurement Partners Holdings LLCMember",
        "terseLabel": "Procurement Partners Holdings LLC [Member]"
       }
      }
     },
     "localname": "ProcurementPartnersHoldingsLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ProcurementPartnersLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Procurement Partners LLCMember",
        "terseLabel": "Procurement Partners, LLC [Member]"
       }
      }
     },
     "localname": "ProcurementPartnersLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ProcurementPartnersLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Procurement Partners LLCOne Member",
        "terseLabel": "Procurement Partners, LLC One [Member]",
        "verboseLabel": "Procurement Partners, LLC [Member]"
       }
      }
     },
     "localname": "ProcurementPartnersLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ProcurementPartnersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Procurement Partners Member",
        "terseLabel": "Procurement Partners, LLC [Member]"
       }
      }
     },
     "localname": "ProcurementPartnersMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_PublicOfferingPricesPercentages": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public offering price percentage.",
        "label": "Public Offering Prices Percentages",
        "terseLabel": "Public offering price percentage"
       }
      }
     },
     "localname": "PublicOfferingPricesPercentages",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PurchasedOfFairValuePerValues": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchased Of Fair Value Per Values",
        "terseLabel": "Purchased of fair value per value"
       }
      }
     },
     "localname": "PurchasedOfFairValuePerValues",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_PurchasedOfFairValuePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchased of fair value percentage.",
        "label": "Purchased Of Fair Value Percentage",
        "terseLabel": "Purchased of fair value percentage",
        "verboseLabel": "Share percentage"
       }
      }
     },
     "localname": "PurchasedOfFairValuePercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_PurchasesOfInvestment": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment is an asset or item acquired with the goal of generating income or appreciation. Appreciation refers to an increase in the value of an asset over time. When an individual purchases a good as an investment, the intent is not to consume the good but rather to use it in the future to create wealth.",
        "label": "Purchases Of Investment",
        "negatedLabel": "Purchases of investments"
       }
      }
     },
     "localname": "PurchasesOfInvestment",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_QuarterlyFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Quarterly Four Member",
        "terseLabel": "Qtr 4 [Member]"
       }
      }
     },
     "localname": "QuarterlyFourMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_QuarterlyHurdleRateMeasured": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Quarterly Hurdle Rate Measured",
        "terseLabel": "Quarterly hurdle rate measured"
       }
      }
     },
     "localname": "QuarterlyHurdleRateMeasured",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_QuarterlyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Quarterly One Member",
        "terseLabel": "Qtr 1 [Member]"
       }
      }
     },
     "localname": "QuarterlyOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_QuarterlyThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Quarterly Three Member",
        "terseLabel": "Qtr 3 [Member]"
       }
      }
     },
     "localname": "QuarterlyThreeMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_QuarterlyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Quarterly Two Member",
        "terseLabel": "Qtr 2 [Member]"
       }
      }
     },
     "localname": "QuarterlyTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_RISKSRELATEDTOOURADVISERANDITSAFFILIATESMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RISKSRELATEDTOOURADVISERANDITSAFFILIATESMember",
        "terseLabel": "RISKS RELATED TO OUR ADVISER AND ITS AFFILIATES [Member]"
       }
      }
     },
     "localname": "RISKSRELATEDTOOURADVISERANDITSAFFILIATESMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_RISKSRELATEDTOOURBUSINESSANDSTRUCTUREMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RISKSRELATEDTOOURBUSINESSANDSTRUCTUREMember",
        "terseLabel": "RISKS RELATED TO OUR BUSINESS AND STRUCTURE [Member]"
       }
      }
     },
     "localname": "RISKSRELATEDTOOURBUSINESSANDSTRUCTUREMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_RISKSRELATEDTOOURCOMMONSTOCKMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RISKSRELATEDTOOURCOMMONSTOCKMember",
        "terseLabel": "RISKS RELATED TO OUR COMMON STOCK [Member]"
       }
      }
     },
     "localname": "RISKSRELATEDTOOURCOMMONSTOCKMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_RISKSRELATEDTOOURNOTESMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RISKSRELATEDTOOURNOTESMember",
        "terseLabel": "RISKS RELATED TO OUR NOTES [Member]"
       }
      }
     },
     "localname": "RISKSRELATEDTOOURNOTESMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_RISKSRELATEDTOTHECURRENTENVIRONMENTMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RISKSRELATEDTOTHECURRENTENVIRONMENTMember",
        "terseLabel": "RISKS RELATED TO THE CURRENT ENVIRONMENT [Member]"
       }
      }
     },
     "localname": "RISKSRELATEDTOTHECURRENTENVIRONMENTMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_RatioOfLossOnExtinguishmentOfDebtToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of ratio of loss on extinguishment of debt to average net assets.",
        "label": "Ratio Of Loss On Extinguishment Of Debt To Average Net Assets",
        "terseLabel": "Ratio of loss on extinguishment of debt to average net assets"
       }
      }
     },
     "localname": "RatioOfLossOnExtinguishmentOfDebtToAverageNetAssets",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_RatioSupplementalDataAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ratio Supplemental Data Abstract",
        "terseLabel": "Ratio/Supplemental data:"
       }
      }
     },
     "localname": "RatioSupplementalDataAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_ReadyEducationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ready Education Member",
        "terseLabel": "Ready Education [Member]"
       }
      }
     },
     "localname": "ReadyEducationMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_RealizedAndUnrealizedGainLossOnInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Realized And Unrealized Gain Loss On Investments Abstract",
        "terseLabel": "REALIZED AND UNREALIZED GAIN (LOSS) ON INVESTMENTS"
       }
      }
     },
     "localname": "RealizedAndUnrealizedGainLossOnInvestmentsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_RealizedGainLossFromAffiliateInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_RealizedInvestmentGainsLosses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amounts related to affiliate investments.",
        "label": "Realized Gain Loss From Affiliate Investments",
        "terseLabel": "Non-control/Non-affiliate investments"
       }
      }
     },
     "localname": "RealizedGainLossFromAffiliateInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_RealizedGainLossFromControlInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_RealizedInvestmentGainsLosses",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amounts related to control investments.",
        "label": "Realized Gain Loss From Control Investments",
        "terseLabel": "Control investments"
       }
      }
     },
     "localname": "RealizedGainLossFromControlInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_RealizedLossOnExtinguishmentOfDebtPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for realized loss on extinguishment of debt.",
        "label": "Realized Loss On Extinguishment Of Debt Policy Text Block",
        "terseLabel": "Realized Loss on Extinguishment of Debt"
       }
      }
     },
     "localname": "RealizedLossOnExtinguishmentOfDebtPolicyTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_ReceivedDistributions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of received distributions.",
        "label": "Received Distributions",
        "terseLabel": "Received distributions"
       }
      }
     },
     "localname": "ReceivedDistributions",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_RedemptionPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redemption per share.",
        "label": "Redemption Per Share",
        "terseLabel": "Per share (in Dollars per share)"
       }
      }
     },
     "localname": "RedemptionPerShare",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_ReimbursementOfExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Reimbursement Of Expenses",
        "terseLabel": "Reimbursement of expenses"
       }
      }
     },
     "localname": "ReimbursementOfExpenses",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_RepurchaseFees": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of repurchase fees.",
        "label": "Repurchase Fees",
        "terseLabel": "Repurchase fees"
       }
      }
     },
     "localname": "RepurchaseFees",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_RoscoeMedicalIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Roscoe Medical Inc Member",
        "terseLabel": "Roscoe Medical, Inc. [Member]"
       }
      }
     },
     "localname": "RoscoeMedicalIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_RoscoeMedicalIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Roscoe Medical Inc One Member",
        "terseLabel": "Roscoe Medical, Inc. One [Member]"
       }
      }
     },
     "localname": "RoscoeMedicalIncOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SBADebenturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SBADebentures Member",
        "terseLabel": "SBA Debentures [Member]"
       }
      }
     },
     "localname": "SBADebenturesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SBAGuaranteedDebenturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SBAGuaranteed Debentures Member",
        "terseLabel": "SBA-Guaranteed Debentures [Member]"
       }
      }
     },
     "localname": "SBAGuaranteedDebenturesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SBICIIILPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SBICIIILPMember",
        "terseLabel": "SBIC III LP [Member]"
       }
      }
     },
     "localname": "SBICIIILPMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SBICIILPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SBICIILPMember",
        "terseLabel": "SBIC II LP [Member]"
       }
      }
     },
     "localname": "SBICIILPMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SBICLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SBICLPMember",
        "terseLabel": "SBIC LP [Member]"
       }
      }
     },
     "localname": "SBICLPMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SBICMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SBICMember",
        "terseLabel": "SBIC [Member]"
       }
      }
     },
     "localname": "SBICMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SIATTInc1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SIATTInc1 Member",
        "terseLabel": "SIA-TT, Inc. 1 [Member]"
       }
      }
     },
     "localname": "SIATTInc1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SIATTIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SIATTInc Member",
        "terseLabel": "SIA-TT, Inc. [Member]"
       }
      }
     },
     "localname": "SIATTIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SIAVRIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SIAVRInc Member",
        "terseLabel": "SIA-VR, Inc. [Member]"
       }
      }
     },
     "localname": "SIAVRIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SLFJVMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SLFJVMember",
        "terseLabel": "SLF JV [Member]"
       }
      }
     },
     "localname": "SLFJVMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/Investments",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SaratogaCLOMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saratoga CLOMember",
        "terseLabel": "Saratoga CLO [Member]"
       }
      }
     },
     "localname": "SaratogaCLOMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails",
      "http://www.saratogainvestmentcorp.com/role/Investments",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SaratogaInvestmentCorpCLO20131LtdClassF1R3NoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saratoga Investment Corp CLO20131 Ltd Class F1 R3 Note Member",
        "terseLabel": "Saratoga Investment Corp. CLO 2013-1, Ltd. Class F-1-R-3 Note [Member]"
       }
      }
     },
     "localname": "SaratogaInvestmentCorpCLO20131LtdClassF1R3NoteMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SaratogaInvestmentCorpCLO20131LtdClassF2R3NoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saratoga Investment Corp CLO20131 Ltd Class F2 R3 Note Member",
        "terseLabel": "Saratoga Investment Corp. CLO 2013-1, Ltd. Class F-2-R-3 Note [Member]"
       }
      }
     },
     "localname": "SaratogaInvestmentCorpCLO20131LtdClassF2R3NoteMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SaratogaInvestmentCorpCLO20131LtdClassFR3NoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saratoga Investment Corp CLO20131 Ltd Class FR3 Note Member",
        "terseLabel": "Saratoga Investment Corp. CLO 2013-1, Ltd. Class F-R-3 Note [Member]"
       }
      }
     },
     "localname": "SaratogaInvestmentCorpCLO20131LtdClassFR3NoteMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SaratogaInvestmentCorpCLO20131LtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saratoga Investment Corp CLO20131 Ltd Member",
        "terseLabel": "Saratoga Investment Corp. CLO 2013-1, Ltd. [Member]"
       }
      }
     },
     "localname": "SaratogaInvestmentCorpCLO20131LtdMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SaratogaInvestmentCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saratoga Investment Corp Member",
        "terseLabel": "Saratoga Investment Corp. [Member]"
       }
      }
     },
     "localname": "SaratogaInvestmentCorpMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/Investments"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SaratogaInvestmentCorpSeniorLoanFund20221LtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saratoga Investment Corp Senior Loan Fund20221 Ltd Member",
        "terseLabel": "Saratoga Investment Corp Senior Loan Fund 2022-1, Ltd. [Member]"
       }
      }
     },
     "localname": "SaratogaInvestmentCorpSeniorLoanFund20221LtdMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SaratogaSeniorLoanFundIJVLLC1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saratoga Senior Loan Fund IJVLLC1 Member",
        "terseLabel": "Saratoga Senior Loan Fund I JV, LLC [Member]"
       }
      }
     },
     "localname": "SaratogaSeniorLoanFundIJVLLC1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SaratogaSeniorLoanFundIJVLLCClassENoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saratoga Senior Loan Fund IJVLLCClass ENote Member",
        "terseLabel": "Saratoga Senior Loan Fund I JV, LLC Class E Note [Member]"
       }
      }
     },
     "localname": "SaratogaSeniorLoanFundIJVLLCClassENoteMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SaratogaSeniorLoanFundIJVLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saratoga Senior Loan Fund IJVLLCMember",
        "terseLabel": "Saratoga Senior Loan Fund I JV LLC [Member]"
       }
      }
     },
     "localname": "SaratogaSeniorLoanFundIJVLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SaratogaSeniorLoanFundIJVLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Saratoga Senior Loan Fund IJVLLCOne Member",
        "terseLabel": "Saratoga Senior Loan Fund I JV, LLC One [Member]"
       }
      }
     },
     "localname": "SaratogaSeniorLoanFundIJVLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SceptreHospitalityResourcesLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sceptre Hospitality Resources LLCMember",
        "terseLabel": "Sceptre Hospitality Resources, LLC [Member]"
       }
      }
     },
     "localname": "SceptreHospitalityResourcesLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SceptreHospitalityResourcesLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sceptre Hospitality Resources LLCOne Member",
        "terseLabel": "Sceptre Hospitality Resources, LLC One [Member]",
        "verboseLabel": "Sceptre Hospitality Resources, LLC [Member]"
       }
      }
     },
     "localname": "SceptreHospitalityResourcesLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SceptreHospitalityResourcesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sceptre Hospitality Resources Member",
        "terseLabel": "Sceptre Hospitality Resources, LLC [Member]"
       }
      }
     },
     "localname": "SceptreHospitalityResourcesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ScheduleOfCashAndCashEquivalentsAndCashAndCashEquivalentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Cash And Cash Equivalents And Cash And Cash Equivalents Abstract"
       }
      }
     },
     "localname": "ScheduleOfCashAndCashEquivalentsAndCashAndCashEquivalentsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfComponentsOfAccumulatedLossesOnATaxBasisAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of components of accumulated losses on a tax basis [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfAccumulatedLossesOnATaxBasisAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfComponentsOfAccumulatedLossesOnATaxBasisTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Components Of Accumulated Losses On ATax Basis Table Text Block",
        "terseLabel": "Schedule of components of accumulated losses on a tax basis"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfAccumulatedLossesOnATaxBasisTableTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_ScheduleOfCreditFacilityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Credit Facility Abstract"
       }
      }
     },
     "localname": "ScheduleOfCreditFacilityAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfDeferredTaxAssetsAndLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of deferred tax assets and liabilities [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfDividendsDeclaredAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Dividends Declared Abstract"
       }
      }
     },
     "localname": "ScheduleOfDividendsDeclaredAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfFairValueMeasurementOfInvestmentsByMajorClassTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of major classes of fair value measurement of investments.",
        "label": "Schedule Of Fair Value Measurement Of Investments By Major Class Table Text Block",
        "terseLabel": "Schedule of fair value measurements of investments, by major class"
       }
      }
     },
     "localname": "ScheduleOfFairValueMeasurementOfInvestmentsByMajorClassTableTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_ScheduleOfFairValueMeasurementsOfInvestmentsByMajorClassAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Fair Value Measurements Of Investments By Major Class Abstract"
       }
      }
     },
     "localname": "ScheduleOfFairValueMeasurementsOfInvestmentsByMajorClassAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfFederalAndStateIncomeTaxProvisionsBenefitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Federal And State Income Tax Provisions Benefit Abstract"
       }
      }
     },
     "localname": "ScheduleOfFederalAndStateIncomeTaxProvisionsBenefitAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfFinancialHighlightsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Financial Highlights Abstract"
       }
      }
     },
     "localname": "ScheduleOfFinancialHighlightsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfInvestmentsAtAmortizedCostAndFairValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Investments At Amortized Cost And Fair Value Abstract"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsAtAmortizedCostAndFairValueAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfPaymentDateAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Payment Date Abstract"
       }
      }
     },
     "localname": "ScheduleOfPaymentDateAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfPaymentDateTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Payment Date Table Text Block",
        "terseLabel": "Schedule of payment date"
       }
      }
     },
     "localname": "ScheduleOfPaymentDateTableTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_ScheduleOfPaymentObligationsForRepaymentOfDebtAndOtherContractualObligationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Payment Obligations For Repayment Of Debt And Other Contractual Obligations Abstract"
       }
      }
     },
     "localname": "ScheduleOfPaymentObligationsForRepaymentOfDebtAndOtherContractualObligationsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfPaymentObligationsForRepaymentOfDebtAndOtherContractualObligationsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Payment Obligations For Repayment Of Debt And Other Contractual Obligations Table Text Block",
        "terseLabel": "Schedule of payment obligations for repayment of debt and other contractual obligations"
       }
      }
     },
     "localname": "ScheduleOfPaymentObligationsForRepaymentOfDebtAndOtherContractualObligationsTableTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_ScheduleOfReconciliationOfBeginningAndEndingBalancesForInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Reconciliation Of Beginning And Ending Balances For Investments Abstract"
       }
      }
     },
     "localname": "ScheduleOfReconciliationOfBeginningAndEndingBalancesForInvestmentsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfReconciliationOfCashAndCashEquivalentsAndCashAndCashEquivalentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Reconciliation Of Cash And Cash Equivalents And Cash And Cash Equivalents Abstract"
       }
      }
     },
     "localname": "ScheduleOfReconciliationOfCashAndCashEquivalentsAndCashAndCashEquivalentsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfReconciliationOfTheChangesInEachSignificantCaptionOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Reconciliation Of The Changes In Each Significant Caption Of Stockholders Equity Abstract"
       }
      }
     },
     "localname": "ScheduleOfReconciliationOfTheChangesInEachSignificantCaptionOfStockholdersEquityAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfSelectedQuarterlyDataAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Selected Quarterly Data Abstract"
       }
      }
     },
     "localname": "ScheduleOfSelectedQuarterlyDataAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfTaxCharacterOfDistributionsPaidAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of tax character of distributions paid [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfTaxCharacterOfDistributionsPaidAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfTaxCharacterOfDistributionsPaidTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Tax Character Of Distributions Paid Table Text Block",
        "terseLabel": "Schedule of tax character of distributions paid"
       }
      }
     },
     "localname": "ScheduleOfTaxCharacterOfDistributionsPaidTableTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_ScheduleOfTransactionsRelatedToAffiliatesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Transactions Related To Affiliates Abstract"
       }
      }
     },
     "localname": "ScheduleOfTransactionsRelatedToAffiliatesAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfUSFederalExciseAndCapitalGainsTaxAndWorthlessSecuritiesLossesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of U.S. federal excise and capital gains tax and worthless securities losses [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfUSFederalExciseAndCapitalGainsTaxAndWorthlessSecuritiesLossesAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfUSFederalExciseAndCapitalGainsTaxAndWorthlessSecuritiesLossesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of U.S. federal excise and capital gains tax and worthless securities losses.",
        "label": "Schedule Of USFederal Excise And Capital Gains Tax And Worthless Securities Losses Table Text Block",
        "terseLabel": "Schedule of U.S. federal excise and capital gains tax and worthless securities losses"
       }
      }
     },
     "localname": "ScheduleOfUSFederalExciseAndCapitalGainsTaxAndWorthlessSecuritiesLossesTableTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_ScheduleOfUnfundedCommitmentsOutstandingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Unfunded Commitments Outstanding Abstract"
       }
      }
     },
     "localname": "ScheduleOfUnfundedCommitmentsOutstandingAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfValuationTechniquesAndSignificantUnobservableInputsUsedInRecurringLevel3FairValueMeasurementsOfAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Valuation Techniques And Significant Unobservable Inputs Used In Recurring Level3 Fair Value Measurements Of Assets Abstract"
       }
      }
     },
     "localname": "ScheduleOfValuationTechniquesAndSignificantUnobservableInputsUsedInRecurringLevel3FairValueMeasurementsOfAssetsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_ScheduleOfWeightedAverageBasicAndDilutedNetIncreaseDecreaseInNetAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Weighted Average Basic And Diluted Net Increase Decrease In Net Assets Abstract"
       }
      }
     },
     "localname": "ScheduleOfWeightedAverageBasicAndDilutedNetIncreaseDecreaseInNetAssetsAbstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "xbrltype": "stringItemType"
    },
    "sar_SchooxIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schoox Inc Member",
        "terseLabel": "Schoox, Inc [Member]",
        "verboseLabel": "Schoox, Inc. [Member]"
       }
      }
     },
     "localname": "SchooxIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SecondLienTermLoans": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of second lien term loans.",
        "label": "Second Lien Term Loans",
        "terseLabel": "Second lien term loans"
       }
      }
     },
     "localname": "SecondLienTermLoans",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_SecondLienTermLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Second Lien Term Loans Member",
        "terseLabel": "Second lien term loans [Member]"
       }
      }
     },
     "localname": "SecondLienTermLoansMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SecondMortgageOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Second Mortgage One Member",
        "terseLabel": "Second lien term loans 1 [Member]"
       }
      }
     },
     "localname": "SecondMortgageOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SelectedQuarterlyDataUnauditedDetailsScheduleofselectedquarterlydataLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Selected Quarterly Data (Unaudited) (Details) - Schedule of selected quarterly data [Line Items]"
       }
      }
     },
     "localname": "SelectedQuarterlyDataUnauditedDetailsScheduleofselectedquarterlydataLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_SelectedQuarterlyDataUnauditedDetailsScheduleofselectedquarterlydataTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Selected Quarterly Data (Unaudited) (Details) - Schedule of selected quarterly data [Table]"
       }
      }
     },
     "localname": "SelectedQuarterlyDataUnauditedDetailsScheduleofselectedquarterlydataTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_September262017Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "September262017 Member",
        "terseLabel": "September 26, 2017 [Member]"
       }
      }
     },
     "localname": "September262017Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_September262019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "September262019 Member",
        "terseLabel": "September 26, 2019 [Member]"
       }
      }
     },
     "localname": "September262019Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_September272018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "September272018 Member",
        "terseLabel": "September 27, 2018 [Member]"
       }
      }
     },
     "localname": "September272018Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_September282021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "September282021 Member",
        "terseLabel": "September 28, 2021 [Member]"
       }
      }
     },
     "localname": "September282021Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_September292022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "September292022 Member",
        "terseLabel": "September 29, 2022 [Member]"
       }
      }
     },
     "localname": "September292022Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_September52016Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "September52016 Member",
        "terseLabel": "September 5, 2016\t[Member]"
       }
      }
     },
     "localname": "September52016Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SevenPointFiveZeroNotesDueTwoZeroTwoZeroMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Seven Point Five Zero Notes Due Two Zero Two Zero Member",
        "terseLabel": "7.50% Notes due 2020 [Member]"
       }
      }
     },
     "localname": "SevenPointFiveZeroNotesDueTwoZeroTwoZeroMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SevenPointSevenFiveNotesDueTwoZeroTwoFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Seven Point Seven Five Notes Due Two Zero Two Five Member",
        "terseLabel": "7.75% Notes due 2025 [Member]"
       }
      }
     },
     "localname": "SevenPointSevenFiveNotesDueTwoZeroTwoFiveMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SevenPointTwoFiveNotesDueTwoZeroTwoFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Seven Point Two Five Notes Due Two Zero Two Five Member",
        "terseLabel": "7.25% Notes due 2025 [Member]"
       }
      }
     },
     "localname": "SevenPointTwoFiveNotesDueTwoZeroTwoFiveMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SevenPointZeroZeroNotesDueTwoZeroTwoFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Seven Point Zero Zero Notes Due Two Zero Two Five Member",
        "terseLabel": "7.00% Notes due 2025 [Member]"
       }
      }
     },
     "localname": "SevenPointZeroZeroNotesDueTwoZeroTwoFiveMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ShorttermCapitalLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount is short-term capital loss.",
        "label": "Shortterm Capital Loss",
        "terseLabel": "Short-term capital loss"
       }
      }
     },
     "localname": "ShorttermCapitalLoss",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_SixPointSevenFiveNotesDueTwoZeroTwoThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Six Point Seven Five Notes Due Two Zero Two Three Member",
        "terseLabel": "6.75% Notes due 2023 [Member]"
       }
      }
     },
     "localname": "SixPointSevenFiveNotesDueTwoZeroTwoThreeMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SixPointTwoFiveNotesDueTwoZeroTwoFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Six Point Two Five Notes Due Two Zero Two Five Member",
        "terseLabel": "6.25% Notes due 2025 [Member]"
       }
      }
     },
     "localname": "SixPointTwoFiveNotesDueTwoZeroTwoFiveMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SixPointTwoFiveNotesDueTwoZeroTwoSevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Six Point Two Five Notes Due Two Zero Two Seven Member",
        "terseLabel": "6.25% Notes due 2027 [Member]"
       }
      }
     },
     "localname": "SixPointTwoFiveNotesDueTwoZeroTwoSevenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SixPointZeroZeroNotesDueTwoZeroTwoSevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Six Point Zero Zero Notes Due Two Zero Two Seven Member",
        "terseLabel": "6.00% Notes due 2027 [Member]"
       }
      }
     },
     "localname": "SixPointZeroZeroNotesDueTwoZeroTwoSevenMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SmallerEnterpriseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Smaller Enterprise Member",
        "terseLabel": "Smaller Enterprise [Member]"
       }
      }
     },
     "localname": "SmallerEnterpriseMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_StockBasedSharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per value of stock based share price.",
        "label": "Stock Based Share Price",
        "terseLabel": "Stock based share price (in Dollars per share)"
       }
      }
     },
     "localname": "StockBasedSharePrice",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "sar_StockDividendDistribution": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of stock dividend distribution.",
        "label": "Stock Dividend Distribution",
        "terseLabel": "Stock dividend distribution"
       }
      }
     },
     "localname": "StockDividendDistribution",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_StockIssuedForDividend": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "New stock issued for dividend.",
        "label": "Stock Issued For Dividend",
        "terseLabel": "Stock issued for dividend (in Shares)"
       }
      }
     },
     "localname": "StockIssuedForDividend",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "sar_StockholdersEquityDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity (Details) [Line Items]"
       }
      }
     },
     "localname": "StockholdersEquityDetailsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_StockholdersEquityDetailsScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity (Details) - Schedule of reconciliation of the changes in each significant caption of stockholders\u2019 equity [Line Items]"
       }
      }
     },
     "localname": "StockholdersEquityDetailsScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_StockholdersEquityDetailsScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity (Details) - Schedule of reconciliation of the changes in each significant caption of stockholders\u2019 equity [Table]"
       }
      }
     },
     "localname": "StockholdersEquityDetailsScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_StockholdersEquityDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity (Details) [Table]"
       }
      }
     },
     "localname": "StockholdersEquityDetailsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_StructuredFinanceOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Structured Finance One Member",
        "terseLabel": "Structured finance securities 1 [Member]"
       }
      }
     },
     "localname": "StructuredFinanceOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_StructuredFinanceSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Structured Finance Securities Member",
        "terseLabel": "Structured Finance Securities [Member]"
       }
      }
     },
     "localname": "StructuredFinanceSecuritiesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_StructuredFinanceSecuritiesOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Structured Finance Securities One Member",
        "terseLabel": "Structured Finance Securities [Member]"
       }
      }
     },
     "localname": "StructuredFinanceSecuritiesOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_StructuredFinanceSecuritiesTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Structured Finance Securities Two Member",
        "terseLabel": "Structured Finance Securities [Member]"
       }
      }
     },
     "localname": "StructuredFinanceSecuritiesTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_StructuredFinanceTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Structured Finance Two Member",
        "terseLabel": "Structured finance securities 2 [Member]"
       }
      }
     },
     "localname": "StructuredFinanceTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_StructuringAndAdvisoryFeeIncomePolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the recognition of structuring and advisory fee Income.",
        "label": "Structuring And Advisory Fee Income Policy Text Block",
        "terseLabel": "Structuring and Advisory Fee Income"
       }
      }
     },
     "localname": "StructuringAndAdvisoryFeeIncomePolicyTextBlock",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "sar_SubTotalAffiliateInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sub Total Affiliate Investments Member",
        "terseLabel": "Sub Total Affiliate investments [Member]"
       }
      }
     },
     "localname": "SubTotalAffiliateInvestmentsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SubTotalControlInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sub Total Control Investments Member",
        "terseLabel": "Sub Total Control investments [Member]"
       }
      }
     },
     "localname": "SubTotalControlInvestmentsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SubTotalNoncontrolNonaffiliateInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sub Total Noncontrol Nonaffiliate Investments Member",
        "terseLabel": "Sub Total Non-control/Non-affiliate investments [Member]"
       }
      }
     },
     "localname": "SubTotalNoncontrolNonaffiliateInvestmentsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_SubsequentEventsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events (Details) [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventsDetailsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_SubsequentEventsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events (Details) [Table]"
       }
      }
     },
     "localname": "SubsequentEventsDetailsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_SummaryofSignificantAccountingPoliciesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies (Details) [Line Items]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesDetailsLineItems",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_SummaryofSignificantAccountingPoliciesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Significant Accounting Policies (Details) [Table]"
       }
      }
     },
     "localname": "SummaryofSignificantAccountingPoliciesDetailsTable",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TGPressureWashingHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TGPressure Washing Holdings LLCMember",
        "terseLabel": "TG Pressure Washing Holdings, LLC [Member]"
       }
      }
     },
     "localname": "TGPressureWashingHoldingsLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TJHAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TJHAMember",
        "terseLabel": "TJHA [Member]"
       }
      }
     },
     "localname": "TJHAMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TMACAcquisitionCoLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TMACAcquisition Co LLCMember",
        "terseLabel": "TMAC Acquisition Co., LLC [Member]"
       }
      }
     },
     "localname": "TMACAcquisitionCoLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TRCHemaTerraLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "TRCHema Terra LLCMember",
        "terseLabel": "TRC HemaTerra, LLC [Member]"
       }
      }
     },
     "localname": "TRCHemaTerraLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TargusHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Targus Holdings Inc Member",
        "terseLabel": "Targus Holdings, Inc. [Member]"
       }
      }
     },
     "localname": "TargusHoldingsIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TaxReclassificationOfStockholdersEquity": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of tax reclassification of stockholders\u2019 equity in accordance with generally accepted accounting principles.",
        "label": "Tax Reclassification Of Stockholders Equity",
        "terseLabel": "Tax reclassification of stockholders\u2019 equity in accordance with generally accepted accounting principles"
       }
      }
     },
     "localname": "TaxReclassificationOfStockholdersEquity",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_TaxYearEndedFebruary282010Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February282010 Abstract",
        "terseLabel": "Tax Year Ended February 28, 2010"
       }
      }
     },
     "localname": "TaxYearEndedFebruary282010Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary282011Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February282011 Abstract",
        "terseLabel": "Tax Year Ended February 28, 2011"
       }
      }
     },
     "localname": "TaxYearEndedFebruary282011Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary282013Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February282013 Abstract",
        "terseLabel": "Tax Year Ended February 28, 2013"
       }
      }
     },
     "localname": "TaxYearEndedFebruary282013Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary282014Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February282014 Abstract",
        "terseLabel": "Tax Year Ended February 28. 2014"
       }
      }
     },
     "localname": "TaxYearEndedFebruary282014Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary282015Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February282015 Abstract",
        "terseLabel": "Tax Year Ended February 28, 2015"
       }
      }
     },
     "localname": "TaxYearEndedFebruary282015Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary282018Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February282018 Abstract",
        "terseLabel": "Tax Year Ended February 28, 2018"
       }
      }
     },
     "localname": "TaxYearEndedFebruary282018Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary282019Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February282019 Abstract",
        "terseLabel": "Tax Year Ended February 28, 2019"
       }
      }
     },
     "localname": "TaxYearEndedFebruary282019Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary282021Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February282021 Abstract",
        "terseLabel": "Tax Year Ended February 28, 2021"
       }
      }
     },
     "localname": "TaxYearEndedFebruary282021Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary282022Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February282022 Abstract",
        "terseLabel": "Tax Year Ended February 28, 2022"
       }
      }
     },
     "localname": "TaxYearEndedFebruary282022Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary282023Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February282023 Abstract",
        "terseLabel": "Tax Year Ended February 28, 2023"
       }
      }
     },
     "localname": "TaxYearEndedFebruary282023Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary292012Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February292012 Abstract",
        "terseLabel": "Tax Year Ended February 29, 2012"
       }
      }
     },
     "localname": "TaxYearEndedFebruary292012Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary292016Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February292016 Abstract",
        "terseLabel": "Tax Year Ended February 29, 2016"
       }
      }
     },
     "localname": "TaxYearEndedFebruary292016Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TaxYearEndedFebruary292020Abstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Year Ended February292020 Abstract",
        "terseLabel": "Tax Year Ended February 29, 2020"
       }
      }
     },
     "localname": "TaxYearEndedFebruary292020Abstract",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "sar_TheCLO20131Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "The CLO20131 Member",
        "terseLabel": "The CLO 2013-1 [Member]"
       }
      }
     },
     "localname": "TheCLO20131Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TheClassF1R3NotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "The Class F1 R3 Notes Member",
        "terseLabel": "The Class F-1-R-3 Notes [Member]"
       }
      }
     },
     "localname": "TheClassF1R3NotesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TheClassFNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "The Class FNotes Member",
        "terseLabel": "The Class F notes [Member]"
       }
      }
     },
     "localname": "TheClassFNotesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TheClassFR2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "The Class FR2 Member",
        "terseLabel": "The Class F-R-2 [Member]"
       }
      }
     },
     "localname": "TheClassFR2Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TheClassFR3NotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "The Class FR3 Notes Member",
        "terseLabel": "The Class F-R-3 Notes [Member]"
       }
      }
     },
     "localname": "TheClassFR3NotesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TheClassGR2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "The Class GR2 Member",
        "terseLabel": "The Class G-R-2 [Member]"
       }
      }
     },
     "localname": "TheClassGR2Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TheSubordinatedNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "The Subordinated Notes Member",
        "terseLabel": "The subordinated notes [Member]"
       }
      }
     },
     "localname": "TheSubordinatedNotesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ThreeMUSDLIBORPlusMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Three MUSDLIBORPlus Member",
        "terseLabel": "3M USD LIBOR plus [Member]"
       }
      }
     },
     "localname": "ThreeMUSDLIBORPlusMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ThreeMonthsEndedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Three Months Ended Member",
        "terseLabel": "Three Months Ended [Member]"
       }
      }
     },
     "localname": "ThreeMonthsEndedMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ThreeToFiveYearsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Three To Five Years Member",
        "terseLabel": "3 - 5 Years [Member]"
       }
      }
     },
     "localname": "ThreeToFiveYearsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TopGunMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Top Gun Member",
        "terseLabel": "Top Gun [Member]"
       }
      }
     },
     "localname": "TopGunMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalAlternativeInvestmentManagementSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Alternative Investment Management Software Member",
        "terseLabel": "Alternative Investment Management Software [Member]"
       }
      }
     },
     "localname": "TotalAlternativeInvestmentManagementSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalCashAndCashEquivalentsAndCashAndCashsEquivalensReserveAccounts": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofcashandcashequivalentsandcashandcashequivalentsTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Cash And Cash Equivalents And Cash And Cashs Equivalens Reserve Accounts",
        "totalLabel": "Total cash and cash equivalents and cash and cash equivalents, reserve accounts"
       }
      }
     },
     "localname": "TotalCashAndCashEquivalentsAndCashAndCashsEquivalensReserveAccounts",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofcashandcashequivalentsandcashandcashequivalentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_TotalCashPaymentInLieuOfShares": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash payment in lieu of shares.",
        "label": "Total Cash Payment In Lieu Of Shares",
        "terseLabel": "Cash payment in lieu of shares"
       }
      }
     },
     "localname": "TotalCashPaymentInLieuOfShares",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_TotalConsumerProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Consumer Products Member",
        "terseLabel": "Total Consumer Products[Member]"
       }
      }
     },
     "localname": "TotalConsumerProductsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalConsumerServices1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Consumer Services1 Member",
        "terseLabel": "Total Consumer Services [Member]"
       }
      }
     },
     "localname": "TotalConsumerServices1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalCorporateEducationSoftware1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Corporate Education Software1 Member",
        "terseLabel": "Total Corporate Education Software [Member]",
        "verboseLabel": "Total Corporate Education Software One [Member]"
       }
      }
     },
     "localname": "TotalCorporateEducationSoftware1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalCorporateEducationSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Corporate Education Software Member",
        "terseLabel": "Total Corporate Education Software [Member]"
       }
      }
     },
     "localname": "TotalCorporateEducationSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalCyberSecurityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Cyber Security Member",
        "terseLabel": "Total Cyber Security [Member]"
       }
      }
     },
     "localname": "TotalCyberSecurityMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalDentalPracticeManagementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Dental Practice Management Member",
        "terseLabel": "Total Dental Practice Management [Member]"
       }
      }
     },
     "localname": "TotalDentalPracticeManagementMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalDentalPracticeManagementSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Dental Practice Management Software Member",
        "terseLabel": "Total Dental Practice Management Software [Member]"
       }
      }
     },
     "localname": "TotalDentalPracticeManagementSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalDirectSellingSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Direct Selling Software Member",
        "terseLabel": "Total Direct Selling Software [Member]"
       }
      }
     },
     "localname": "TotalDirectSellingSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalDistributaleEarningsLossMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Distributale Earnings Loss Member",
        "terseLabel": "Total Distributable Earnings (Loss) [Member]"
       }
      }
     },
     "localname": "TotalDistributaleEarningsLossMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalEducationServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Education Services Member",
        "terseLabel": "Total Education Services [Member]"
       }
      }
     },
     "localname": "TotalEducationServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalEducationSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Education Software Member",
        "terseLabel": "Total Education Software [Member]"
       }
      }
     },
     "localname": "TotalEducationSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalEmployeeCollaborationSoftware1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Employee Collaboration Software1 Member",
        "terseLabel": "Total Employee Collaboration Software [Member]"
       }
      }
     },
     "localname": "TotalEmployeeCollaborationSoftware1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalFacilitiesMaintenanceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Facilities Maintenance Member",
        "terseLabel": "Total Facilities Maintenance [Member]"
       }
      }
     },
     "localname": "TotalFacilitiesMaintenanceMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalFieldServiceManagementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Field Service Management Member",
        "terseLabel": "Total Field Service Management [Member]"
       }
      }
     },
     "localname": "TotalFieldServiceManagementMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalFinancialServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Financial Services Member",
        "terseLabel": "Total Financial Services [Member]"
       }
      }
     },
     "localname": "TotalFinancialServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalFinancialServicesSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Financial Services Software Member",
        "terseLabel": "Total Financial Services Software [Member]"
       }
      }
     },
     "localname": "TotalFinancialServicesSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalHVACServicesAndSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total HVACServices And Sales Member",
        "terseLabel": "Total HVAC Services and Sales [Member]"
       }
      }
     },
     "localname": "TotalHVACServicesAndSalesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalHealthcareProductsManufacturingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Healthcare Products Manufacturing Member",
        "terseLabel": "Total Healthcare Products Manufacturing [Member]"
       }
      }
     },
     "localname": "TotalHealthcareProductsManufacturingMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalHealthcareServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Healthcare Services Member",
        "terseLabel": "Total Healthcare Services [Member]"
       }
      }
     },
     "localname": "TotalHealthcareServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalHealthcareSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Healthcare Software Member",
        "terseLabel": "Total Healthcare Software [Member]"
       }
      }
     },
     "localname": "TotalHealthcareSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalHealthcareSupplyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Healthcare Supply Member",
        "terseLabel": "Total Healthcare Supply [Member]"
       }
      }
     },
     "localname": "TotalHealthcareSupplyMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalHospitalityHotelMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Hospitality Hotel Member",
        "terseLabel": "Total Hospitality/Hotel [Member]"
       }
      }
     },
     "localname": "TotalHospitalityHotelMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalITServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total ITServices Member",
        "terseLabel": "Total IT Services [Member]"
       }
      }
     },
     "localname": "TotalITServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalITServicesOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total ITServices One Member",
        "terseLabel": "Total IT Services [Member]",
        "verboseLabel": "Total\u00ad I\u00adT \u00adServices One \u00ad[Member]"
       }
      }
     },
     "localname": "TotalITServicesOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalIndustrialProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Industrial Products Member",
        "terseLabel": "Total Industrial Products [Member]"
       }
      }
     },
     "localname": "TotalIndustrialProductsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalInsuranceSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Insurance Software Member",
        "terseLabel": "Total Insurance Software [Member]"
       }
      }
     },
     "localname": "TotalInsuranceSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalInvestmentFund1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Investment Fund1 Member",
        "terseLabel": "Total Investment Fund [Member]"
       }
      }
     },
     "localname": "TotalInvestmentFund1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalInvestmentFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Investment Fund Member",
        "terseLabel": "Total Investment Fund [Member]"
       }
      }
     },
     "localname": "TotalInvestmentFundMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalInvestmentsAtFairValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value of investment at fair value",
        "label": "Total Investments At Fair Value",
        "terseLabel": "Investments at Fair Value"
       }
      }
     },
     "localname": "TotalInvestmentsAtFairValue",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_TotalInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Investments Member",
        "terseLabel": "Total Investments [Member]"
       }
      }
     },
     "localname": "TotalInvestmentsMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalLeadManagementSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Lead Management Software Member",
        "terseLabel": "Total Lead management Software [Member]"
       }
      }
     },
     "localname": "TotalLeadManagementSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalLegalSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Legal Software Member",
        "terseLabel": "Total Legal Software [Member]"
       }
      }
     },
     "localname": "TotalLegalSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalMarketingOrchestrationSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Marketing Orchestration Software Member",
        "terseLabel": "Total Marketing Orchestration Software [Member]"
       }
      }
     },
     "localname": "TotalMarketingOrchestrationSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalMarketingServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Marketing Services Member",
        "terseLabel": "Total Marketing Services [Member]"
       }
      }
     },
     "localname": "TotalMarketingServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalMentalHealthcareServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Mental Healthcare Services Member",
        "terseLabel": "Total Mental Healthcare Services [Member]",
        "verboseLabel": "ARC Health OpCo LLC [Member]"
       }
      }
     },
     "localname": "TotalMentalHealthcareServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalMentoringSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Mentoring Software Member",
        "terseLabel": "Total Mentoring Software [Member]"
       }
      }
     },
     "localname": "TotalMentoringSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalNonprofitServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Nonprofit Services Member",
        "terseLabel": "Total Non-profit Services [Member]"
       }
      }
     },
     "localname": "TotalNonprofitServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalOfficeSuppliesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Office Supplies Member",
        "terseLabel": "Total Office Supplies [Member]"
       }
      }
     },
     "localname": "TotalOfficeSuppliesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalPayrollServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Payroll Services Member",
        "terseLabel": "Total Payroll Services [Member]"
       }
      }
     },
     "localname": "TotalPayrollServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalRealEstateServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Real Estate Services Member",
        "terseLabel": "Total Real Estate Services [Member]"
       }
      }
     },
     "localname": "TotalRealEstateServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalResearchSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Research Software Member",
        "terseLabel": "Total Research Software\t[Member]"
       }
      }
     },
     "localname": "TotalResearchSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalRestaurantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Restaurant Member",
        "terseLabel": "Total Restaurant [Member]"
       }
      }
     },
     "localname": "TotalRestaurantMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalSpecialtyFoodRetailer1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Specialty Food Retailer1 Member",
        "terseLabel": "Total Specialty Food Retailer [Member]"
       }
      }
     },
     "localname": "TotalSpecialtyFoodRetailer1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalSportsManagement1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Sports Management1 Member",
        "terseLabel": "Total Sports Management [Member]"
       }
      }
     },
     "localname": "TotalSportsManagement1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalStaffingServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Staffing Services Member",
        "terseLabel": "Total Staffing Services [Member]"
       }
      }
     },
     "localname": "TotalStaffingServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalStructuredFinanceSecurities1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Structured Finance Securities1 Member",
        "terseLabel": "Total Structured Finance Securities [Member]"
       }
      }
     },
     "localname": "TotalStructuredFinanceSecurities1Member",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalTalentAcquisitionSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Talent Acquisition Software Member",
        "terseLabel": "Total Talent Acquisition Software [Member]"
       }
      }
     },
     "localname": "TotalTalentAcquisitionSoftwareMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TotalWasteServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Waste Services Member",
        "terseLabel": "Total Waste Services [Member]"
       }
      }
     },
     "localname": "TotalWasteServicesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TwothousandtwentyfiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twothousandtwentyfive Member",
        "terseLabel": "2025 [Member]"
       }
      }
     },
     "localname": "TwothousandtwentyfiveMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TwothousandtwentyfivesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twothousandtwentyfives Member",
        "terseLabel": "8.75% 2025 [Member]"
       }
      }
     },
     "localname": "TwothousandtwentyfivesMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_TwothousandtwentysixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twothousandtwentysix Member",
        "terseLabel": "4.375% 2026 [Member]"
       }
      }
     },
     "localname": "TwothousandtwentysixMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_UnderwritingDiscountsAndCommissions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of underwriting discounts and commissions.",
        "label": "Underwriting Discounts And Commissions",
        "terseLabel": "Underwriting discounts and commissions"
       }
      }
     },
     "localname": "UnderwritingDiscountsAndCommissions",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_UndistributedLongTermGain": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount is undistributed long term gain.",
        "label": "Undistributed Long Term Gain",
        "terseLabel": "Undistributed Long Term Gain"
       }
      }
     },
     "localname": "UndistributedLongTermGain",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcomponentsofaccumulatedlossesonataxbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_UnrealizedAppreciationDepreciationOnAffiliateInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "sar_NetChangeInUnrealizedAppreciationdepreciationOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amounts related to affiliate investments.",
        "label": "Unrealized Appreciation Depreciation On Affiliate Investments",
        "terseLabel": "Affiliate investments"
       }
      }
     },
     "localname": "UnrealizedAppreciationDepreciationOnAffiliateInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_UnrealizedAppreciationDepreciationOnControlInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "sar_NetChangeInUnrealizedAppreciationdepreciationOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amounts related to control investments.",
        "label": "Unrealized Appreciation Depreciation On Control Investments",
        "terseLabel": "Control investments"
       }
      }
     },
     "localname": "UnrealizedAppreciationDepreciationOnControlInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_UnrealizedAppreciationDepreciationOnNonControlAndNonAffiliateInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "sar_NetChangeInUnrealizedAppreciationdepreciationOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amount of income on non-control/non-affiliate investments.",
        "label": "Unrealized Appreciation Depreciation On Non Control And Non Affiliate Investments",
        "terseLabel": "Non-control/Non-affiliate investments"
       }
      }
     },
     "localname": "UnrealizedAppreciationDepreciationOnNonControlAndNonAffiliateInvestments",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "sar_UnsecuredDebtFixedInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed interest rate related to the interest rate derivative.",
        "label": "Unsecured Debt Fixed Interest Rate",
        "terseLabel": "Fixed interest rate"
       }
      }
     },
     "localname": "UnsecuredDebtFixedInterestRate",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_UnsecuredDebtOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured Debt One Member",
        "terseLabel": "Unsecured term loans 1 [Member]"
       }
      }
     },
     "localname": "UnsecuredDebtOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_UnsecuredPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unsecured percentage.",
        "label": "Unsecured Percentage",
        "terseLabel": "Unsecured percentage"
       }
      }
     },
     "localname": "UnsecuredPercentage",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "sar_UnsecuredTermLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured Term Loans Member",
        "terseLabel": "Unsecured term loans [Member]"
       }
      }
     },
     "localname": "UnsecuredTermLoansMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_UnsecuredTermLoansOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured Term Loans One Member",
        "terseLabel": "Unsecured term loans 1 [Member]"
       }
      }
     },
     "localname": "UnsecuredTermLoansOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_UnsecuredTermLoansTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured Term Loans Two Member",
        "terseLabel": "Unsecured term loans 2 [Member]"
       }
      }
     },
     "localname": "UnsecuredTermLoansTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_VectorControlsHoldingCoLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vector Controls Holding Co LLCMember",
        "terseLabel": "Vector Controls Holding Co., LLC [Member]"
       }
      }
     },
     "localname": "VectorControlsHoldingCoLLCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_VectorControlsHoldingCoLLCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vector Controls Holding Co LLCOne Member",
        "terseLabel": "Vector Controls Holding Co., LLC One [Member]"
       }
      }
     },
     "localname": "VectorControlsHoldingCoLLCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_VotingInterestInSLFJVMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Voting Interest In SLFJVMember",
        "terseLabel": "Voting Interest in SLF JV [Member]"
       }
      }
     },
     "localname": "VotingInterestInSLFJVMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_WellspringWorldwideIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Wellspring Worldwide Inc Member",
        "terseLabel": "Wellspring Worldwide Inc. [Member]"
       }
      }
     },
     "localname": "WellspringWorldwideIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ZollegeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Zollege Member",
        "terseLabel": "Zollege PBC [Member]"
       }
      }
     },
     "localname": "ZollegeMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ZollegePBCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Zollege PBCMember",
        "terseLabel": "Zollege PBC [Member]"
       }
      }
     },
     "localname": "ZollegePBCMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ZollegePBCOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Zollege PBCOne Member",
        "terseLabel": "Zollege PBC One [Member]"
       }
      }
     },
     "localname": "ZollegePBCOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_ZollegePBCTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Zollege PBCTwo Member",
        "terseLabel": "Zollege PBC Two [Member]",
        "verboseLabel": "Zollege PBC [Member]"
       }
      }
     },
     "localname": "ZollegePBCTwoMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_inMotionNowIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "in Motion Now Inc Member",
        "terseLabel": "inMotionNow, Inc. [Member]"
       }
      }
     },
     "localname": "inMotionNowIncMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "sar_inMotionNowIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "in Motion Now Inc One Member",
        "terseLabel": "inMotionNow, Inc. One [Member]"
       }
      }
     },
     "localname": "inMotionNowIncOneMember",
     "nsuri": "http://www.saratogainvestmentcorp.com/20230228",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember": {
     "auth_ref": [
      "r694",
      "r717",
      "r718",
      "r732",
      "r769",
      "r770",
      "r771",
      "r778",
      "r779",
      "r783",
      "r784",
      "r785",
      "r787"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption, Adjusted Balance [Member]",
        "terseLabel": "As adjusted [Member]"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable",
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ManagementMember": {
     "auth_ref": [
      "r722",
      "r789"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management [Member]",
        "terseLabel": "Manager [Member]"
       }
      }
     },
     "localname": "ManagementMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r309",
      "r310",
      "r311",
      "r312",
      "r376",
      "r487",
      "r511",
      "r560",
      "r561",
      "r586",
      "r591",
      "r596",
      "r740",
      "r794",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails",
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r309",
      "r310",
      "r311",
      "r312",
      "r376",
      "r487",
      "r511",
      "r560",
      "r561",
      "r586",
      "r591",
      "r596",
      "r740",
      "r794",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails",
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis": {
     "auth_ref": [
      "r546",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate, Type of Property [Axis]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MortgageLoansOnRealEstateNamePropertyTypeDomain": {
     "auth_ref": [
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate [Domain]"
       }
      }
     },
     "localname": "MortgageLoansOnRealEstateNamePropertyTypeDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Axis]"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Domain]"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r291",
      "r488",
      "r587",
      "r595",
      "r735",
      "r736",
      "r742",
      "r803"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r291",
      "r488",
      "r587",
      "r595",
      "r735",
      "r736",
      "r742",
      "r803"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r309",
      "r310",
      "r311",
      "r312",
      "r368",
      "r376",
      "r400",
      "r401",
      "r402",
      "r479",
      "r487",
      "r511",
      "r560",
      "r561",
      "r586",
      "r591",
      "r596",
      "r734",
      "r740",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails",
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r309",
      "r310",
      "r311",
      "r312",
      "r368",
      "r376",
      "r400",
      "r401",
      "r402",
      "r479",
      "r487",
      "r511",
      "r560",
      "r561",
      "r586",
      "r591",
      "r596",
      "r734",
      "r740",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails",
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAxis": {
     "auth_ref": [
      "r208",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r252",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r269",
      "r297",
      "r298",
      "r422",
      "r441",
      "r442",
      "r443",
      "r444",
      "r462",
      "r463",
      "r464",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520",
      "r521"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revision of Prior Period [Axis]"
       }
      }
     },
     "localname": "RestatementAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RestatementDomain": {
     "auth_ref": [
      "r208",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r252",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r269",
      "r297",
      "r298",
      "r422",
      "r441",
      "r442",
      "r443",
      "r444",
      "r462",
      "r463",
      "r464",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520",
      "r521"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revision of Prior Period [Domain]"
       }
      }
     },
     "localname": "RestatementDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r257",
      "r377",
      "r692",
      "r719"
     ],
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofcashandcashequivalentsandcashandcashequivalentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r293"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable",
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r257",
      "r377",
      "r692",
      "r693",
      "r719"
     ],
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofcashandcashequivalentsandcashandcashequivalentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r722",
      "r789"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Axis]"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Domain]"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_WarehouseMember": {
     "auth_ref": [
      "r804",
      "r805"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warehouse [Member]",
        "terseLabel": "Warehouse [Member]"
       }
      }
     },
     "localname": "WarehouseMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r137",
      "r163"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 4.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/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "auth_ref": [
      "r44"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Accretion (Amortization) of Discounts and Premiums, Investments",
        "negatedLabel": "Net accretion of discount on investments"
       }
      }
     },
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedIncomeTaxes": {
     "auth_ref": [
      "r3",
      "r5",
      "r83",
      "r130",
      "r155"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all domestic and foreign income tax obligations due. This amount is the total of current and noncurrent accrued income taxes.",
        "label": "Accrued Income Taxes",
        "terseLabel": "Current income tax payable"
       }
      }
     },
     "localname": "AccruedIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "auth_ref": [
      "r10"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.",
        "label": "Additional Paid in Capital, Common Stock",
        "terseLabel": "Capital in excess of par value"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "ADJUSTMENTS TO RECONCILE NET INCREASE (DECREASE) IN NET ASSETS RESULTING FROM OPERATIONS TO NET CASH PROVIDED BY (USED IN) OPERATING ACTIVITIES:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdministrativeFeesExpense": {
     "auth_ref": [
      "r123"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 5.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for administrative services provided to the limited liability company (LLC) or limited partnership (LP) by the managing member or general partner, affiliate of managing member or general partner, or affiliate of LLC or LP, for example, but not limited to, salaries, rent, or overhead costs.",
        "label": "Administrative Fees Expense",
        "terseLabel": "Administrator expenses",
        "verboseLabel": "Administrative agent fee"
       }
      }
     },
     "localname": "AdministrativeFeesExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r26",
      "r347",
      "r460",
      "r709"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt issuance costs.",
        "label": "Amortization of Debt Issuance Costs",
        "terseLabel": "Amortization of deferred debt financing costs",
        "verboseLabel": "Financing cost"
       }
      }
     },
     "localname": "AmortizationOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r128",
      "r153",
      "r213",
      "r236",
      "r284",
      "r287",
      "r289",
      "r295",
      "r314",
      "r315",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r323",
      "r324",
      "r434",
      "r438",
      "r450",
      "r594",
      "r738",
      "r739",
      "r792"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Assets [Abstract]",
        "terseLabel": "NET ASSETS"
       }
      }
     },
     "localname": "AssetsNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardDateAxis": {
     "auth_ref": [
      "r743",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753",
      "r754",
      "r755",
      "r756",
      "r757",
      "r758",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by date or year award under share-based payment arrangement is granted.",
        "label": "Award Date [Axis]"
       }
      }
     },
     "localname": "AwardDateAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardDateDomain": {
     "auth_ref": [
      "r743",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753",
      "r754",
      "r755",
      "r756",
      "r757",
      "r758",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date or year award under share-based payment arrangement is granted.",
        "label": "Award Date [Domain]"
       }
      }
     },
     "localname": "AwardDateDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "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": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BorrowingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Obligations to pay to another in accordance with an expressed or implied agreement.",
        "label": "Borrowings [Member]",
        "terseLabel": "Borrowings [Member]"
       }
      }
     },
     "localname": "BorrowingsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CapitalUnitClassDomain": {
     "auth_ref": [
      "r192"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the type or class of capital units or capital shares.",
        "label": "Capital Unit, Class [Domain]"
       }
      }
     },
     "localname": "CapitalUnitClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CapitalUnitsByClassAxis": {
     "auth_ref": [
      "r187",
      "r193"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type or class of the entity's capital units.",
        "label": "Capital Units by Class [Axis]"
       }
      }
     },
     "localname": "CapitalUnitsByClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r45",
      "r210",
      "r568"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 2.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/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAxis": {
     "auth_ref": [
      "r210"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of cash and cash equivalent balance.",
        "label": "Cash and Cash Equivalents [Axis]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcashandcashequivalentsandcashandcashequivalentsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashAndCashEquivalentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule of reconciliation of cash and cash equivalents and cash and cash equivalents [Abstract]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofcashandcashequivalentsandcashandcashequivalentsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "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": "U.S. Bank Money Market [Member]",
        "verboseLabel": "Cash and Cash Equivalents [Member]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcashandcashequivalentsandcashandcashequivalentsTable",
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r46"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy": {
     "auth_ref": [
      "r46",
      "r127"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity's cash and cash equivalents accounting policy with respect to restricted balances. Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits.",
        "label": "Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and Cash Equivalents, Reserve Accounts"
       }
      }
     },
     "localname": "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsAndShortTermInvestments": {
     "auth_ref": [
      "r700"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the customer may deposit additional funds at any time and effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid Investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Short-term investments, exclusive of cash equivalents, generally consist of marketable securities intended to be sold within one year (or the normal operating cycle if longer) and may include trading securities, available-for-sale securities, or held-to-maturity securities (if maturing within one year), as applicable.",
        "label": "Cash, Cash Equivalents, and Short-Term Investments",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsAndShortTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r39",
      "r45",
      "r51"
     ],
     "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 AND CASH EQUIVALENTS AND CASH AND CASH EQUIVALENTS, RESERVE ACCOUNTS, END OF PERIOD",
        "periodStartLabel": "CASH AND CASH EQUIVALENTS AND CASH AND CASH EQUIVALENTS, RESERVE ACCOUNTS, BEGINNING OF PERIOD"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r39",
      "r115"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect",
        "totalLabel": "NET INCREASE (DECREASE) IN CASH AND CASH EQUIVALENTS AND CASH AND CASH EQUIVALENTS, RESERVE ACCOUNTS"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r695"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofcashandcashequivalentsandcashandcashequivalentsTable": {
       "order": 1.0,
       "parentTag": "sar_TotalCashAndCashEquivalentsAndCashAndCashsEquivalensReserveAccounts",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of 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 Equivalents, at Carrying Value",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofcashandcashequivalentsandcashandcashequivalentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r215",
      "r216",
      "r217",
      "r236",
      "r259",
      "r260",
      "r262",
      "r265",
      "r274",
      "r275",
      "r295",
      "r314",
      "r317",
      "r318",
      "r319",
      "r323",
      "r324",
      "r353",
      "r354",
      "r356",
      "r360",
      "r366",
      "r450",
      "r562",
      "r691",
      "r710",
      "r720"
     ],
     "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]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CollateralizedLoanObligationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities collateralized by a pool of loans.",
        "label": "Collateralized Loan Obligations [Member]",
        "terseLabel": "Collateralized Loan Obligations [Member]"
       }
      }
     },
     "localname": "CollateralizedLoanObligationsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r23",
      "r140",
      "r161"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments and contingencies (See Note 9)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r66",
      "r307",
      "r308",
      "r549",
      "r737"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommitmentsAndContingenciesPolicyTextBlock": {
     "auth_ref": [
      "r67",
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for commitments and contingencies, which may include policies for recognizing and measuring loss and gain contingencies.",
        "label": "Commitments and Contingencies, Policy [Policy Text Block]",
        "terseLabel": "Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockDiscountOnShares": {
     "auth_ref": [
      "r79"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discount on common shares, or any unamortized balance thereof, shown separately as a deduction from the applicable account(s) as circumstances require.",
        "label": "Common Stock, Discount on Shares",
        "terseLabel": "Discount amount"
       }
      }
     },
     "localname": "CommonStockDiscountOnShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "auth_ref": [
      "r78"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding.",
        "label": "Common Stock, Dividends, Per Share, Declared",
        "terseLabel": "Dividends declared per common share (in Dollars per share)",
        "verboseLabel": "Common stock, per share (in Dollars per share)"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareDeclared",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r715",
      "r716",
      "r784"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock, par value $0.001 per share",
        "verboseLabel": "Common Stock [Member]"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails",
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r9"
     ],
     "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 Dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r9"
     ],
     "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/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r9"
     ],
     "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)",
        "verboseLabel": "Shares of common stock (in Shares)"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r9",
      "r76"
     ],
     "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": "Shares of our common stock outstanding (in Shares)"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r9",
      "r594"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 1.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, par value $0.001, 100,000,000 common shares authorized, 11,890,500 and 12,131,350 common shares issued and outstanding, respectively"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommonUnitIssued": {
     "auth_ref": [
      "r78"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of common units issued of limited liability company (LLC).",
        "label": "Common Unit, Issued",
        "terseLabel": "Common stock, shares issued (in Shares)"
       }
      }
     },
     "localname": "CommonUnitIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ConcentrationRiskCreditRisk": {
     "auth_ref": [
      "r150",
      "r278"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for credit risk.",
        "label": "Concentration Risk, Credit Risk, Policy [Policy Text Block]",
        "terseLabel": "Risk Management"
       }
      }
     },
     "localname": "ConcentrationRiskCreditRisk",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r89",
      "r571"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation, Policy [Policy Text Block]",
        "terseLabel": "Principles of Consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CorporateJointVentureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Corporation owned and operated by a small group of ventures to accomplish a mutually beneficial venture or project.",
        "label": "Corporate Joint Venture [Member]",
        "terseLabel": "SLF JV [Member]"
       }
      }
     },
     "localname": "CorporateJointVentureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "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]"
       }
      }
     },
     "localname": "CreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "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]"
       }
      }
     },
     "localname": "CreditFacilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Federal, State and Local, Tax Expense (Benefit) [Abstract]",
        "terseLabel": "Current"
       }
      }
     },
     "localname": "CurrentFederalStateAndLocalTaxExpenseBenefitAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CurrentFederalTaxExpenseBenefit": {
     "auth_ref": [
      "r713",
      "r776",
      "r781"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable": {
       "order": 1.0,
       "parentTag": "us-gaap_CurrentIncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current national tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Current Federal Tax Expense (Benefit)",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "CurrentFederalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r87",
      "r418",
      "r426",
      "r713"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredIncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) pertaining to taxable income (loss) from continuing operations.",
        "label": "Current Income Tax Expense (Benefit)",
        "totalLabel": "Net current expense"
       }
      }
     },
     "localname": "CurrentIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentStateAndLocalTaxExpenseBenefit": {
     "auth_ref": [
      "r713",
      "r776",
      "r781"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable": {
       "order": 2.0,
       "parentTag": "us-gaap_CurrentIncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current state and local tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current regional, territorial, and provincial tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Current State and Local Tax Expense (Benefit)",
        "terseLabel": "State"
       }
      }
     },
     "localname": "CurrentStateAndLocalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r75",
      "r234",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r341",
      "r348",
      "r349",
      "r350"
     ],
     "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/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/Borrowings"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r2",
      "r3",
      "r4",
      "r129",
      "r133",
      "r152",
      "r241",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r331",
      "r337",
      "r338",
      "r339",
      "r340",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r461",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r711"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable",
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent": {
     "auth_ref": [
      "r72"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of the equity component of convertible debt which may be settled in cash upon conversion.",
        "label": "Debt Instrument, Convertible, Carrying Amount of Equity Component",
        "terseLabel": "Carrying amount"
       }
      }
     },
     "localname": "DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentConvertibleLiquidationPreferencePerShare": {
     "auth_ref": [
      "r331"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share excess of preference in liquidation over convertible debt instrument's if-converted par or stated value of share.",
        "label": "Debt Instrument, Convertible, Liquidation Preference, Per Share",
        "terseLabel": "Involuntary Liquidating Preference per Share (in Dollars per share)"
       }
      }
     },
     "localname": "DebtInstrumentConvertibleLiquidationPreferencePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DebtInstrumentDescription": {
     "auth_ref": [
      "r2",
      "r4",
      "r77",
      "r129",
      "r133",
      "r148",
      "r152"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the lender and information about a contractual promise to repay a short-term or long-term obligation, which includes borrowings under lines of credit, notes payable, commercial paper, bonds payable, debentures, and other contractual obligations for payment. This may include rationale for entering into the arrangement, significant terms of the arrangement, which may include amount, repayment terms, priority, collateral required, debt covenants, borrowing capacity, call features, participation rights, conversion provisions, sinking-fund requirements, voting rights, basis for conversion if convertible and remarketing provisions. The description may be provided for individual debt instruments, rational groupings of debt instruments, or by debt in total.",
        "label": "Debt Instrument, Description",
        "terseLabel": "Debt instrument, description"
       }
      }
     },
     "localname": "DebtInstrumentDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r118",
      "r120",
      "r325",
      "r461",
      "r582",
      "r583"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "netLabel": "Outstanding principal amount",
        "terseLabel": "Total Amount Outstanding Exclusive of Treasury Securities",
        "verboseLabel": "Aggregate principal amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable",
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateBasisForEffectiveRate": {
     "auth_ref": [
      "r20",
      "r118"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of any adjustments made to the stated rate to determine the effective rate.",
        "label": "Debt Instrument, Interest Rate, Basis for Effective Rate",
        "terseLabel": "Employ leverage, description"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateBasisForEffectiveRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "auth_ref": [
      "r20",
      "r118",
      "r352",
      "r461"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.",
        "label": "Debt Instrument, Interest Rate, Effective Percentage",
        "terseLabel": "principal amount Percentage"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r20",
      "r326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "netLabel": "Asset coverage ratio",
        "terseLabel": "Notes payable discount, percentage",
        "verboseLabel": "Debt financing costs, percentage"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateTerms": {
     "auth_ref": [
      "r20"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the interest rate as being fixed or variable, and, if variable, identification of the index or rate on which the interest rate is based and the number of points or percentage added to that index or rate to set the rate, and other pertinent information, such as frequency of rate resets.",
        "label": "Debt Instrument, Interest Rate Terms",
        "terseLabel": "Due date"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateTerms",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r22",
      "r241",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r331",
      "r337",
      "r338",
      "r339",
      "r340",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r461",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r711"
     ],
     "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]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable",
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentRedemptionDescription": {
     "auth_ref": [
      "r149"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of debt redemption features under terms of the debt agreement.",
        "label": "Debt Instrument, Redemption, Description",
        "terseLabel": "Debt distribution agreement, description",
        "verboseLabel": "Debt instrument redemption, description"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/FinancialHighlightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentRedemptionPricePercentage": {
     "auth_ref": [
      "r149"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage price of original principal amount of debt at which debt can be redeemed by the issuer.",
        "label": "Debt Instrument, Redemption Price, Percentage",
        "terseLabel": "Redeem percentage"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionPricePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r117",
      "r120",
      "r741"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "negatedLabel": "Discount on notes payable"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedPremium": {
     "auth_ref": [
      "r117",
      "r120",
      "r741"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt premium.",
        "label": "Debt Instrument, Unamortized Premium",
        "terseLabel": "Premium on 4.375% notes payable 2026"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedPremium",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentUnusedBorrowingCapacityDescription": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of unused borrowing capacity under the debt instrument and conditions under which the commitment can be withdrawn by the lender.",
        "label": "Debt Instrument, Unused Borrowing Capacity, Description",
        "terseLabel": "Borrowing note, description"
       }
      }
     },
     "localname": "DebtInstrumentUnusedBorrowingCapacityDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtPolicyTextBlock": {
     "auth_ref": [
      "r70"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy related to debt. Includes, but is not limited to, debt issuance costs, the effects of refinancings, method of amortizing debt issuance costs and original issue discount, and classifications of debt.",
        "label": "Debt, Policy [Policy Text Block]",
        "terseLabel": "Deferred Debt Financing Costs"
       }
      }
     },
     "localname": "DebtPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts": {
     "auth_ref": [
      "r791"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of write-off of debt issuance costs and debt discounts related to prepetition debt obligations.",
        "label": "Debtor Reorganization Items, Write-off of Debt Issuance Costs and Debt Discounts",
        "terseLabel": "Amortization of deferred financing cost"
       }
      }
     },
     "localname": "DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredCostsCreditCardOriginationCostsAmortization": {
     "auth_ref": [
      "r61",
      "r62"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization of capitalized credit card origination costs not related to private label credit cards.",
        "label": "Deferred Costs, Credit Card Origination Costs, Amortization",
        "terseLabel": "Deferred financing costs"
       }
      }
     },
     "localname": "DeferredCostsCreditCardOriginationCostsAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFederalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r713",
      "r777",
      "r781"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable": {
       "order": 1.0,
       "parentTag": "sar_NetDeferredExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, deferred national tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Deferred Federal Income Tax Expense (Benefit)",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "DeferredFederalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Federal, State and Local, Tax Expense (Benefit) [Abstract]",
        "terseLabel": "Deferred"
       }
      }
     },
     "localname": "DeferredFederalStateAndLocalTaxExpenseBenefitAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "auth_ref": [
      "r119",
      "r741"
     ],
     "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",
        "negatedLabel": "Deferred debt financing costs"
       }
      }
     },
     "localname": "DeferredFinanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r43",
      "r87",
      "r419",
      "r425",
      "r426",
      "r713"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "totalLabel": "Net tax provision"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "auth_ref": [
      "r6",
      "r7",
      "r131",
      "r151",
      "r414"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred Tax Liabilities, Gross",
        "negatedLabel": "Total deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredOfferingCosts": {
     "auth_ref": [
      "r733"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Specific incremental costs directly attributable to a proposed or actual offering of securities which are deferred at the end of the reporting period.",
        "label": "Deferred Offering Costs",
        "negatedLabel": "Offering costs",
        "terseLabel": "Offering costs"
       }
      }
     },
     "localname": "DeferredOfferingCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r713",
      "r777",
      "r781"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable": {
       "order": 2.0,
       "parentTag": "sar_NetDeferredExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred state and local tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, deferred regional, territorial, and provincial tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Deferred State and Local Income Tax Expense (Benefit)",
        "terseLabel": "State"
       }
      }
     },
     "localname": "DeferredStateAndLocalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffederalandstateincometaxprovisionsbenefitTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "auth_ref": [
      "r415"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Gross",
        "terseLabel": "Total deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsNet": {
     "auth_ref": [
      "r774"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Net of Valuation Allowance",
        "negatedLabel": "Valuation allowance on net deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOther": {
     "auth_ref": [
      "r85",
      "r775"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other.",
        "label": "Deferred Tax Assets, Other",
        "terseLabel": "Deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsOther",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilities": {
     "auth_ref": [
      "r82",
      "r774"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting.",
        "label": "Deferred Tax Liabilities, Net",
        "negatedLabel": "Net deferred tax liability"
       }
      }
     },
     "localname": "DeferredTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesOther": {
     "auth_ref": [
      "r85",
      "r775"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences classified as other.",
        "label": "Deferred Tax Liabilities, Other",
        "terseLabel": "Deferred tax liability"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesOther",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r97",
      "r98",
      "r99",
      "r100",
      "r570"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r93",
      "r94",
      "r95",
      "r96",
      "r102",
      "r240"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]",
        "terseLabel": "Derivative Financial Instruments"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "auth_ref": [
      "r48"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the declared dividend will be paid, in YYYY-MM-DD format.",
        "label": "Dividends Payable, Date to be Paid",
        "terseLabel": "Payment Date"
       }
      }
     },
     "localname": "DividendPayableDateToBePaidDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DividendsCash": {
     "auth_ref": [
      "r78",
      "r146"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid cash dividends declared for classes of stock, for example, but not limited to, common and preferred.",
        "label": "Dividends, Cash",
        "terseLabel": "Dividend consisted in cash (in Dollars)"
       }
      }
     },
     "localname": "DividendsCash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsDeclaredTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information related to dividends declared, including paid and unpaid dividends.",
        "label": "Dividends Declared [Table Text Block]",
        "terseLabel": "Schedule of payment date"
       }
      }
     },
     "localname": "DividendsDeclaredTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DividendsPayableAmountPerShare": {
     "auth_ref": [
      "r48"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The per share amount of a dividend declared, but not paid, as of the financial reporting date.",
        "label": "Dividends Payable, Amount Per Share",
        "terseLabel": "Amount per Share"
       }
      }
     },
     "localname": "DividendsPayableAmountPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DividendsPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r3",
      "r5",
      "r132",
      "r154"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding.",
        "label": "Dividends Payable",
        "terseLabel": "Total Amount"
       }
      }
     },
     "localname": "DividendsPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsPayableDateOfRecordDayMonthAndYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the holder must own the stock to be entitled to the dividend, in YYYY-MM-DD format.",
        "label": "Dividends Payable, Date of Record",
        "terseLabel": "Record Date"
       }
      }
     },
     "localname": "DividendsPayableDateOfRecordDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofdividendsdeclaredTable"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DueFromAffiliateCurrent": {
     "auth_ref": [
      "r122",
      "r469",
      "r472"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of receivables due from an entity that is affiliated with the reporting entity by means of direct or indirect ownership, due within 1 year (or 1 business cycle).",
        "label": "Due from Affiliate, Current",
        "terseLabel": "Due from affiliate (See Note 7)"
       }
      }
     },
     "localname": "DueFromAffiliateCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromRelatedPartiesNoncurrent": {
     "auth_ref": [
      "r211",
      "r316",
      "r317",
      "r318",
      "r322",
      "r323",
      "r324",
      "r468",
      "r714"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date, which are usually due after one year (or one business cycle).",
        "label": "Due from Related Parties, Noncurrent",
        "terseLabel": "Payment received from related party"
       }
      }
     },
     "localname": "DueFromRelatedPartiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToAffiliateCurrent": {
     "auth_ref": [
      "r1",
      "r122",
      "r191",
      "r714"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 8.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payable due to an entity that is affiliated with the reporting entity by means of direct or indirect ownership. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Due to Affiliate, Current",
        "terseLabel": "Due to manager"
       }
      }
     },
     "localname": "DueToAffiliateCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r226",
      "r247",
      "r248",
      "r250",
      "r251",
      "r252",
      "r258",
      "r259",
      "r262",
      "r264",
      "r265",
      "r269",
      "r443",
      "r444",
      "r503",
      "r508",
      "r572"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "WEIGHTED AVERAGE - BASIC EARNINGS (LOSS) PER COMMON SHARE (in Dollars per share)",
        "verboseLabel": "Weighted average earnings per common share"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r226",
      "r247",
      "r248",
      "r250",
      "r251",
      "r252",
      "r259",
      "r262",
      "r264",
      "r265",
      "r269",
      "r443",
      "r444",
      "r503",
      "r508",
      "r572"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "WEIGHTED AVERAGE - DILUTED EARNINGS (LOSS) PER COMMON SHARE (in Dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement_Parentheticals"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r266",
      "r267",
      "r268",
      "r270"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings Per Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/EarningsPerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectOnFutureCashFlowsAmount": {
     "auth_ref": [
      "r65"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The quantified amount of the future effect on cash flows.",
        "label": "Effect on Future Cash Flows, Amount",
        "terseLabel": "Future cash flow amount"
       }
      }
     },
     "localname": "EffectOnFutureCashFlowsAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r238",
      "r410",
      "r427"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of domestic federal statutory tax rate applicable to pretax income (loss).",
        "label": "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
        "terseLabel": "U.S. federal statutory rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments": {
     "auth_ref": [
      "r773",
      "r782"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments.",
        "label": "Effective Income Tax Rate Reconciliation, Other Adjustments, Percent",
        "terseLabel": "U.S. federal tax percentage"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationOtherAdjustments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r76",
      "r207",
      "r221",
      "r222",
      "r223",
      "r242",
      "r243",
      "r244",
      "r246",
      "r253",
      "r256",
      "r273",
      "r296",
      "r367",
      "r404",
      "r405",
      "r406",
      "r421",
      "r422",
      "r442",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r464",
      "r512",
      "r513",
      "r514"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentAggregateCost": {
     "auth_ref": [
      "r15"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the aggregate cost of investments accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Aggregate Cost",
        "terseLabel": "Amortized cost of control investments (in Dollars)"
       }
      }
     },
     "localname": "EquityMethodInvestmentAggregateCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r64"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Ownership Percentage",
        "netLabel": "Percentage of ownership",
        "terseLabel": "Percentage of voting interest",
        "verboseLabel": "Ownership percentage"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EquityMethodInvestments": {
     "auth_ref": [
      "r63",
      "r285",
      "r696"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_InvestmentsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.",
        "label": "Equity Method Investments",
        "netLabel": "Upsized in assets",
        "terseLabel": "Control investments (amortized cost of $120,800,829 and $95,058,356, respectively)",
        "verboseLabel": "Cash contributions"
       }
      }
     },
     "localname": "EquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesByIndustryAxis": {
     "auth_ref": [
      "r578"
     ],
     "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]"
       }
      }
     },
     "localname": "EquitySecuritiesByIndustryAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquitySecuritiesFvNi": {
     "auth_ref": [
      "r214",
      "r449",
      "r569"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as current.",
        "label": "Equity Securities, FV-NI, Current",
        "terseLabel": "Equity interests"
       }
      }
     },
     "localname": "EquitySecuritiesFvNi",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesIndustryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Industry sector consisting of government, private and corporate entities engaged in business activities, including but not limited to, commercial, industrial, agricultural, financial services, technology, healthcare and real estate.",
        "label": "Industry Sector [Domain]"
       }
      }
     },
     "localname": "EquitySecuritiesIndustryMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExciseAndSalesTaxes": {
     "auth_ref": [
      "r225"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of excise and sales taxes included in sales and revenues, which are then deducted as a cost of sales. Includes excise taxes, which are applied to specific types of transactions or items (such as gasoline or alcohol); and sales, use and value added taxes, which are applied to a broad class of revenue-producing transactions involving a wide range of goods and services.",
        "label": "Excise and Sales Taxes",
        "terseLabel": "Accrued U.S. federal excise taxes"
       }
      }
     },
     "localname": "ExciseAndSalesTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ExtinguishmentOfDebtAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross amount of debt extinguished.",
        "label": "Extinguishment of Debt, Amount",
        "terseLabel": "Loss on extinguishment of debt"
       }
      }
     },
     "localname": "ExtinguishmentOfDebtAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r105"
     ],
     "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]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r105"
     ],
     "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 valuation techniques and significant unobservable inputs used in recurring Level 3 fair value measurements of assets"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r339",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r447",
      "r476",
      "r477",
      "r478",
      "r582",
      "r583",
      "r588",
      "r589",
      "r590"
     ],
     "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]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r108",
      "r109"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Liability Class [Axis]"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r339",
      "r369",
      "r374",
      "r447",
      "r476",
      "r588",
      "r589",
      "r590"
     ],
     "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": "Level 1 [Member]",
        "verboseLabel": "Fair Value [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r339",
      "r369",
      "r374",
      "r447",
      "r477",
      "r582",
      "r583",
      "r588",
      "r589",
      "r590"
     ],
     "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": "Level 2 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r339",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r447",
      "r478",
      "r582",
      "r583",
      "r588",
      "r589",
      "r590"
     ],
     "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": "Level 3 [Member]",
        "verboseLabel": "Level 3 Liability [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerSharePercentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Investments, Entities that Calculate Net Asset Value Per Share, Percent [Abstract]",
        "terseLabel": "Investments at fair value"
       }
      }
     },
     "localname": "FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerSharePercentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r106"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value by Liability Class [Domain]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember": {
     "auth_ref": [
      "r369",
      "r445",
      "r448"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Measured at Net Asset Value Per Share [Member]",
        "terseLabel": "Valued Using Net Asset Value [Member]"
       }
      }
     },
     "localname": "FairValueMeasuredAtNetAssetValuePerShareMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease": {
     "auth_ref": [
      "r106"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) 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, Period Increase (Decrease)",
        "terseLabel": "Net change in unrealized appreciation (depreciation) for the year relating to those Level 3 assets that were still held by the Company at the end of the year"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases": {
     "auth_ref": [
      "r107"
     ],
     "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": "Purchases"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales": {
     "auth_ref": [
      "r107"
     ],
     "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",
        "terseLabel": "Sales and repayments"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "auth_ref": [
      "r106"
     ],
     "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/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r339",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r476",
      "r477",
      "r478",
      "r582",
      "r583",
      "r588",
      "r589",
      "r590"
     ],
     "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]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems": {
     "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, off-Balance-Sheet Risks, Disclosure Information [Line Items]"
       }
      }
     },
     "localname": "FairValueOffBalanceSheetRisksDisclosureInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueOptionIneligibleItemsAggregateCarryingAmount": {
     "auth_ref": [
      "r113"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of items included in each line item in the statement of financial position that are not eligible for the fair value option.",
        "label": "Fair Value, Option, Ineligible Items, Carrying Amount",
        "terseLabel": "Fair value"
       }
      }
     },
     "localname": "FairValueOptionIneligibleItemsAggregateCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueOptionLoansHeldAsAssetsAggregateAmountInNonaccrualStatus": {
     "auth_ref": [
      "r114"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the aggregate fair value of loans held as assets that are in nonaccrual status for which the fair value option has been elected, if the entity's policy is to recognize interest income separately from other changes in fair value.",
        "label": "Fair Value, Option, Loans Held as Assets, Aggregate Amount in Nonaccrual Status",
        "terseLabel": "Non-accrual fair value (in Dollars)"
       }
      }
     },
     "localname": "FairValueOptionLoansHeldAsAssetsAggregateAmountInNonaccrualStatus",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperations": {
     "auth_ref": [
      "r237",
      "r409"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current and deferred federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current and deferred national tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Federal Income Tax Expense (Benefit), Continuing Operations",
        "terseLabel": "Federal net operating loss carryforwards"
       }
      }
     },
     "localname": "FederalIncomeTaxExpenseBenefitContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialInstrumentsOwnedPrincipalInvestmentsAtFairValue": {
     "auth_ref": [
      "r126"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value as of the balance sheet date of firm holdings in private equity, mezzanine, venture capital, merchant banking, real estate and special situations investments. Includes both pledged (to counterparties as collateral for financing transactions) and unpledged holdings.",
        "label": "Financial Instruments, Owned, Principal Investments, at Fair Value",
        "terseLabel": "Fair Value"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedPrincipalInvestmentsAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcashandcashequivalentsandcashandcashequivalentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "auth_ref": [
      "r300",
      "r301",
      "r564",
      "r565",
      "r566",
      "r567",
      "r575",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "auth_ref": [
      "r564",
      "r565",
      "r566",
      "r567",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Domain]"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "auth_ref": [
      "r58",
      "r59",
      "r292",
      "r302",
      "r303",
      "r304",
      "r564",
      "r565",
      "r566",
      "r567",
      "r576",
      "r577",
      "r579",
      "r580",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of financing receivable determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Axis]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "auth_ref": [
      "r564",
      "r565",
      "r566",
      "r567",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Domain]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FirstMortgageMember": {
     "auth_ref": [
      "r597"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan secured by real property that has a first (highest) lien on such property in the event of default by the borrower.",
        "label": "First Mortgage [Member]",
        "terseLabel": "First lien term loans [Member]",
        "verboseLabel": "First lien Term Loans [Member]"
       }
      }
     },
     "localname": "FirstMortgageMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainsLossesOnExtinguishmentOfDebt": {
     "auth_ref": [
      "r43",
      "r73",
      "r74"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity.",
        "label": "Gain (Loss) on Extinguishment of Debt",
        "negatedLabel": "Realized losses on extinguishment of debt",
        "netLabel": "Loss on the extinguishment of debt",
        "terseLabel": "Realized losses on extinguishment of debt",
        "verboseLabel": "Realized losses on extinguishment of debt*"
       }
      }
     },
     "localname": "GainsLossesOnExtinguishmentOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r27"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 8.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "General and Administrative Expense",
        "terseLabel": "General and administrative"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralInsuranceExpense": {
     "auth_ref": [
      "r27"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 6.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The expense in the period incurred with respect to protection provided by insurance entities against risks other than risks associated with production (which are allocated to cost of sales).",
        "label": "General Insurance Expense",
        "terseLabel": "Insurance"
       }
      }
     },
     "localname": "GeneralInsuranceExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IPOMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First sale of stock by a private company to the public.",
        "label": "IPO [Member]",
        "terseLabel": "IPO [Member]"
       }
      }
     },
     "localname": "IPOMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncentiveFeeDescription": {
     "auth_ref": [
      "r123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the nature of the payments to managing member or general partner for incentive rights held including the fee rate, basis of calculation, relevant accounting period, whether the fee is paid to an entity other than the managing member or general partner, or if the fee is waived.",
        "label": "Incentive Fee, Description",
        "terseLabel": "Incentive fee description"
       }
      }
     },
     "localname": "IncentiveFeeDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncentiveFeeExpense": {
     "auth_ref": [
      "r123"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for incentive rights held by the managing member or general partner, of limited liability company (LLC) or limited partnership (LP).",
        "label": "Incentive Fee Expense",
        "terseLabel": "Incentive fees"
       }
      }
     },
     "localname": "IncentiveFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r305",
      "r306"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r306"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r238",
      "r411",
      "r412",
      "r417",
      "r423",
      "r428",
      "r430",
      "r431",
      "r432"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r239",
      "r255",
      "r256",
      "r283",
      "r409",
      "r424",
      "r429",
      "r509"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 9.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "terseLabel": "Income tax expense (benefit)"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r220",
      "r407",
      "r408",
      "r412",
      "r413",
      "r416",
      "r420"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r47"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid, Net",
        "terseLabel": "Cash paid for taxes",
        "verboseLabel": "Net income taxes"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesReceivable": {
     "auth_ref": [
      "r135",
      "r165",
      "r699"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount due within one year of the balance sheet date (or one operating cycle, if longer) from tax authorities as of the balance sheet date representing refunds of overpayments or recoveries based on agreed-upon resolutions of disputes.",
        "label": "Income Taxes Receivable, Current",
        "terseLabel": "Current tax receivable"
       }
      }
     },
     "localname": "IncomeTaxesReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseDueFromAffiliates": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in receivables to be collected from an entity that is controlling, under the control of, or within the same control group as the reporting entity by means of direct or indirect ownership.",
        "label": "Increase (Decrease) Due from Affiliates",
        "negatedLabel": "Due from affiliate"
       }
      }
     },
     "localname": "IncreaseDecreaseDueFromAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 7.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": "Accounts payable and accrued expenses"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount due from borrowers for interest payments.",
        "label": "Increase (Decrease) in Accrued Interest Receivable, Net",
        "negatedLabel": "Interest receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedInterestReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeferredIncomeTaxes": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the account that represents the temporary difference that results from Income or Loss that is recognized for accounting purposes but not for tax purposes and vice versa.",
        "label": "Increase (Decrease) in Deferred Income Taxes",
        "negatedLabel": "Current income tax receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInterestPayableNet": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 8.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": "Interest and debt fees payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInInterestPayableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInManagementAndIncentiveFeesPayable": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "IncreaseDecreaseInManagementAndIncentiveFeesPayable",
        "terseLabel": "Incentive fees capital"
       }
      }
     },
     "localname": "IncreaseDecreaseInManagementAndIncentiveFeesPayable",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Assets [Abstract]",
        "terseLabel": "(Increase) decrease in operating assets:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingAssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Liabilities [Abstract]",
        "terseLabel": "Increase (decrease) in operating liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssets": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 17.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",
        "negatedLabel": "Other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDebtExpense": {
     "auth_ref": [
      "r116"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest and debt related expenses associated with nonoperating financing activities of the entity.",
        "label": "Interest and Debt Expense",
        "terseLabel": "Interest and debt financing expenses"
       }
      }
     },
     "localname": "InterestAndDebtExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndFeeIncomeOtherLoans": {
     "auth_ref": [
      "r141"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest and fee income from loans classified as other.",
        "label": "Interest and Fee Income, Other Loans",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InterestAndFeeIncomeOtherLoans",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestCostsIncurred": {
     "auth_ref": [
      "r459"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total interest costs incurred during the period and either capitalized or charged against earnings.",
        "label": "Interest Costs Incurred",
        "terseLabel": "Incurred cost"
       }
      }
     },
     "localname": "InterestCostsIncurred",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r119",
      "r145",
      "r224",
      "r282",
      "r458"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "terseLabel": "Interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeInterestEarningAsset": {
     "auth_ref": [
      "r806",
      "r807"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentIncomeNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income from interest-earning asset.",
        "label": "Interest Income, Interest-Earning Asset",
        "terseLabel": "Non-control/Non-affiliate investments"
       }
      }
     },
     "localname": "InterestIncomeInterestEarningAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption in which reported facts about interest income have been included.",
        "label": "Interest Income [Member]",
        "terseLabel": "Interest Income [Member]"
       }
      }
     },
     "localname": "InterestIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestIncomeOther": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income earned from interest bearing assets classified as other.",
        "label": "Interest Income, Other",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InterestIncomeOther",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r228",
      "r231",
      "r232"
     ],
     "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": "Interest paid during the period"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r138",
      "r162"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 6.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 and debt fees payable"
       }
      }
     },
     "localname": "InterestPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r699"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable.",
        "label": "Interest Receivable",
        "terseLabel": "Interest receivable (net of reserve of $2,217,300 and $0, respectively)"
       }
      }
     },
     "localname": "InterestReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentBankingAdvisoryBrokerageAndUnderwritingFeesAndCommissions": {
     "auth_ref": [
      "r142"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 5.0,
       "parentTag": "us-gaap_InvestmentIncomeNonoperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fees and commissions from banking, advisory, brokerage, and securities underwriting activities. Activities include, but are not limited to, underwriting securities, private placements of securities, investment advisory and management services, merger and acquisition services, sale and servicing of mutual funds, and other related consulting fees.",
        "label": "Investment Banking, Advisory, Brokerage, and Underwriting Fees and Commissions",
        "terseLabel": "Structuring and advisory fee income",
        "verboseLabel": "Underwriting commissions"
       }
      }
     },
     "localname": "InvestmentBankingAdvisoryBrokerageAndUnderwritingFeesAndCommissions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentBasisSpreadVariableRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "InvestmentBasisSpreadVariableRate",
        "terseLabel": "Investment variable rate"
       }
      }
     },
     "localname": "InvestmentBasisSpreadVariableRate",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyCapitalShareTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Capital Share Transactions [Abstract]",
        "terseLabel": "CAPITAL SHARE TRANSACTIONS:"
       }
      }
     },
     "localname": "InvestmentCompanyCapitalShareTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyDeferredIncomeTaxUnrealizedAppreciation": {
     "auth_ref": [
      "r205"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 6.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
       "weight": -1.0
      },
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 4.0,
       "parentTag": "sar_NetRealizedAndUnrealizedGainlossOnInvestments",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense for unrealized appreciation of investment.",
        "label": "Investment Company, Deferred Income Tax, Unrealized Appreciation",
        "negatedLabel": "Net change in provision for deferred taxes on unrealized (appreciation) depreciation on investments",
        "terseLabel": "Net change in provision for deferred taxes on unrealized appreciation (depreciation) on investments"
       }
      }
     },
     "localname": "InvestmentCompanyDeferredIncomeTaxUnrealizedAppreciation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributableEarnings": {
     "auth_ref": [
      "r171",
      "r172"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed tax basis earnings (deficit).",
        "label": "Investment Company, Distributable Earnings",
        "terseLabel": "Total distributable earnings (loss)"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarnings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofUSfederalexciseandcapitalgainstaxandworthlesssecuritieslossesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss": {
     "auth_ref": [
      "r171",
      "r172"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftaxcharacterofdistributionspaidTable": {
       "order": 2.0,
       "parentTag": "sar_InvestmentCompanyDistributableEarning",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed earnings (deficit) from long-term capital gain (loss) of investment company.",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Long-Term Capital Gain (Loss)",
        "terseLabel": "Capital gains"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftaxcharacterofdistributionspaidTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss": {
     "auth_ref": [
      "r171",
      "r172"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftaxcharacterofdistributionspaidTable": {
       "order": 1.0,
       "parentTag": "sar_InvestmentCompanyDistributableEarning",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed earnings (deficit) from ordinary income (loss) of investment company.",
        "label": "Investment Company, Distributable Earnings (Loss), Accumulated Ordinary Income (Loss)",
        "terseLabel": "Ordinary income"
       }
      }
     },
     "localname": "InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftaxcharacterofdistributionspaidTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributionToShareholdersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Distribution to Shareholders [Abstract]",
        "terseLabel": "DECREASE FROM SHAREHOLDER DISTRIBUTIONS:"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionToShareholdersAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyDistributionToShareholdersPerShare": {
     "auth_ref": [
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of distribution to shareholders. Includes, but is not limited to, dividend and capital gain. Excludes distribution for tax return of capital.",
        "label": "Investment Company, Distribution to Shareholders, Per Share",
        "negatedLabel": "Distributions declared from net investment income",
        "negatedTerseLabel": "Total distributions to stockholders"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionToShareholdersPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Financial Highlights [Abstract]"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsLineItems": {
     "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": "Investment Company, Financial Highlights [Line Items]"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTable": {
     "auth_ref": [
      "r175"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about 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]"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTableTextBlock": {
     "auth_ref": [
      "r175"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financial highlights. Includes, but is not limited to, per share information, income and expense ratios, total return, capital commitment and fee waiver.",
        "label": "Investment Company, Financial Highlights [Table Text Block]",
        "terseLabel": "Schedule of financial highlights"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/FinancialHighlightsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTextBlock": {
     "auth_ref": [
      "r188",
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of financial highlights reported by investment company.",
        "label": "Investment Company, Financial Highlights [Text Block]",
        "terseLabel": "Financial Highlights"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/FinancialHighlights"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare": {
     "auth_ref": [
      "r183"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of realized and unrealized gain (loss) on investment.",
        "label": "Investment Company, Gain (Loss) on Investment, Per Share",
        "terseLabel": "Net realized and unrealized gain and losses on investments",
        "verboseLabel": "Net realized and unrealized gain (loss) per common share (in Dollars per share)"
       }
      }
     },
     "localname": "InvestmentCompanyGainLossOnInvestmentPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyIncentiveFeeToAverageNetAssets": {
     "auth_ref": [
      "r177"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of incentive fee expense to average net assets.",
        "label": "Investment Company, Incentive Fee to Average Net Assets",
        "terseLabel": "Incentive fee capital gains percentage"
       }
      }
     },
     "localname": "InvestmentCompanyIncentiveFeeToAverageNetAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare": {
     "auth_ref": [
      "r184"
     ],
     "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",
        "terseLabel": "Net increase in net assets resulting from operations"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare": {
     "auth_ref": [
      "r182"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount, after investment expense, of dividend and interest investment income (loss).",
        "label": "Investment Company, Investment Income (Loss), Per Share",
        "terseLabel": "Net investment income",
        "verboseLabel": "Net investment income per common share (in Dollars per share)"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossPerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossRatio": {
     "auth_ref": [
      "r176"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of investment income (loss) to average net assets.",
        "label": "Investment Company, Investment Income (Loss) Ratio",
        "terseLabel": "Ratios of Operating Expenses and Income Taxes to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossRatio",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyMarketValuePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "InvestmentCompanyMarketValuePerShare",
        "terseLabel": "Per share market value at end of period"
       }
      }
     },
     "localname": "InvestmentCompanyMarketValuePerShare",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease": {
     "auth_ref": [
      "r186"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit amount of increase (decrease) in net asset value.",
        "label": "Investment Company, Net Asset Value Per Share, Period Increase (Decrease)",
        "terseLabel": "Net asset value per common share (in Dollars per share)"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetValuePerSharePeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease": {
     "auth_ref": [
      "r173",
      "r195"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in net assets from operations of investment company.",
        "label": "Investment Company, Net Assets from Operations, Increase (Decrease)",
        "terseLabel": "NET INCREASE (DECREASE) IN NET ASSETS RESULTING FROM OPERATIONS",
        "totalLabel": "Net increase (decrease) in net assets resulting from operations",
        "verboseLabel": "Net increase in net assets resulting from operations"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Net Assets from Operations, Increase (Decrease) [Abstract]",
        "terseLabel": "INCREASE (DECREASE) FROM OPERATIONS:"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsFromOperationsIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease": {
     "auth_ref": [
      "r174"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in net assets of investment company.",
        "label": "Investment Company, Net Assets, Period Increase (Decrease)",
        "totalLabel": "Total increase (decrease) in net assets"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyTotalReturn": {
     "auth_ref": [
      "r178",
      "r179",
      "r180"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage increase (decrease) in fund net asset value, assuming reinvestment of dividends and capital gain distributions.",
        "label": "Investment Company, Total Return",
        "terseLabel": "Total return based on net asset value"
       }
      }
     },
     "localname": "InvestmentCompanyTotalReturn",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentIncomeInterest": {
     "auth_ref": [
      "r29",
      "r281"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities.",
        "label": "Investment Income, Interest",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InvestmentIncomeInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentIncomeNet": {
     "auth_ref": [
      "r28",
      "r31"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentIncomeNonoperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accretion (amortization) of discount (premium), and investment expense, of interest income and dividend income on nonoperating securities.",
        "label": "Investment Income, Net",
        "terseLabel": "Total investment income",
        "totalLabel": "Total interest from investments"
       }
      }
     },
     "localname": "InvestmentIncomeNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentIncomeNonoperating": {
     "auth_ref": [
      "r30"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of income from investments (for example, dividends) not considered a component of the entity's core operations.",
        "label": "Investment Income, Nonoperating",
        "totalLabel": "Total investment income"
       }
      }
     },
     "localname": "InvestmentIncomeNonoperating",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentInterestRate": {
     "auth_ref": [
      "r724",
      "r726"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate of interest on investment.",
        "label": "Investment Interest Rate",
        "netLabel": "Investment percentage",
        "terseLabel": "Investment interest rate",
        "verboseLabel": "Interest rate"
       }
      }
     },
     "localname": "InvestmentInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails",
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentInterestRatePaidInKind": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "InvestmentInterestRatePaidInKind",
        "terseLabel": "PIK rate"
       }
      }
     },
     "localname": "InvestmentInterestRatePaidInKind",
     "nsuri": "http://fasb.org/us-gaap-sup/2022q3",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentMaturityDate": {
     "auth_ref": [
      "r723",
      "r725"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maturity date of investment, in YYYY-MM-DD format.",
        "label": "Investment Maturity Date",
        "terseLabel": "Investment maturity date",
        "verboseLabel": "Maturity date"
       }
      }
     },
     "localname": "InvestmentMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_InvestmentOwnedAtCost": {
     "auth_ref": [
      "r189"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost of the investment.",
        "label": "Investment Owned, at Cost",
        "netLabel": "Total investment",
        "terseLabel": "Amortized cost of investments (in Dollars)",
        "verboseLabel": "Cost"
       }
      }
     },
     "localname": "InvestmentOwnedAtCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedAtFairValue": {
     "auth_ref": [
      "r189",
      "r533",
      "r541"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of the investment at close of period. For schedules of investments that are categorized, the value would be aggregated by category. For investment in and advances to affiliates, if operations of any controlled companies are different in character from those of the company, group such affiliates within divisions and by type of activities.",
        "label": "Investment Owned, at Fair Value",
        "netLabel": "Aggregate fair value",
        "terseLabel": "Non-control/Non-affiliate investments (amortized cost of $819,966,208 and $654,965,044, respectively)",
        "verboseLabel": "Fair Value"
       }
      }
     },
     "localname": "InvestmentOwnedAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedBalancePrincipalAmount": {
     "auth_ref": [
      "r190",
      "r529"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For investments which are quantified by principal amount, the principle balance held at close of period.",
        "label": "Investment Owned, Balance, Principal Amount",
        "terseLabel": "Principal/ Number of Shares",
        "verboseLabel": "Aggregate principal amount"
       }
      }
     },
     "localname": "InvestmentOwnedBalancePrincipalAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedBalanceShares": {
     "auth_ref": [
      "r190",
      "r529"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Balance held at close of period in number of shares.",
        "label": "Investment Owned, Balance, Shares",
        "periodEndLabel": "Balance (in Shares)",
        "periodStartLabel": "Balance (in Shares)"
       }
      }
     },
     "localname": "InvestmentOwnedBalanceShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_InvestmentOwnedPercentOfNetAssets": {
     "auth_ref": [
      "r189",
      "r537"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percent of net assets at close of period. For schedules of investments that are categorized, each category has a percent of net assets for the aggregated value of the Investments in the category.",
        "label": "Investment Owned, Percent of Net Assets",
        "terseLabel": "% of Net Assets"
       }
      }
     },
     "localname": "InvestmentOwnedPercentOfNetAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentOwnedRestrictedAcquisitionDate": {
     "auth_ref": [
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date of acquisition for owned restricted investments, in YYYY-MM-DD format.",
        "label": "Investment Owned, Restricted, Acquisition Date",
        "terseLabel": "Original Acquisition Date"
       }
      }
     },
     "localname": "InvestmentOwnedRestrictedAcquisitionDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_InvestmentOwnedRestrictedCost": {
     "auth_ref": [
      "r198",
      "r538",
      "r547",
      "r548"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cost of the restricted investment.",
        "label": "Investment Owned, Restricted, Cost",
        "terseLabel": "Cost"
       }
      }
     },
     "localname": "InvestmentOwnedRestrictedCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcashandcashequivalentsandcashandcashequivalentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedUnrealizedAppreciationDepreciationNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Owned, Unrecognized Unrealized Appreciation (Depreciation), Net [Abstract]",
        "terseLabel": "Net realized gain (loss) from investments:"
       }
      }
     },
     "localname": "InvestmentOwnedUnrealizedAppreciationDepreciationNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentOwnedUnrecognizedUnrealizedAppreciationDepreciationNet": {
     "auth_ref": [
      "r199"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the net excess or deficiency of the fair value of an investment (security, contract) over or under its cost (face amount, notional amount), respectively, which excess value or deficiency has not been recognized in earnings of the entity.",
        "label": "Investment Owned, Unrecognized Unrealized Appreciation (Depreciation), Net",
        "terseLabel": "Net change in unrealized appreciation (depreciation) on investments"
       }
      }
     },
     "localname": "InvestmentOwnedUnrecognizedUnrealizedAppreciationDepreciationNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r294",
      "r802"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment, Policy [Policy Text Block]",
        "terseLabel": "Investment Classification"
       }
      }
     },
     "localname": "InvestmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTextBlock": {
     "auth_ref": [
      "r727",
      "r728",
      "r730",
      "r731"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for investment.",
        "label": "Investment [Text Block]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/Investments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r526",
      "r527",
      "r528",
      "r530",
      "r531",
      "r532",
      "r534",
      "r535",
      "r536",
      "r539",
      "r540",
      "r542",
      "r543",
      "r544",
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/Investments",
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r526",
      "r527",
      "r528",
      "r530",
      "r531",
      "r532",
      "r534",
      "r535",
      "r536",
      "r539",
      "r540",
      "r542",
      "r543",
      "r544",
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investments [Domain]"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Abstract]"
       }
      }
     },
     "localname": "InvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsFairValueDisclosure": {
     "auth_ref": [
      "r446"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method.",
        "label": "Investments, Fair Value Disclosure",
        "terseLabel": "Total",
        "totalLabel": "Total investments at fair value (amortized cost of $966,489,357 and $796,248,327, respectively)"
       }
      }
     },
     "localname": "InvestmentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValue": {
     "auth_ref": [
      "r201",
      "r202",
      "r203"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of the investment at close of period. For investment in and advances to affiliates, if operations of any controlled companies are different in character from those of the company, group such affiliates within divisions and by type of activities.",
        "label": "Investments in and Advances to Affiliates, at Fair Value",
        "terseLabel": "Affiliate investments (amortized cost of $25,722,320 and $46,224,927, respectively)"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesBalancePrincipalAmount": {
     "auth_ref": [
      "r204"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of principal loans outstanding to affiliates for management investment companies.",
        "label": "Investments in and Advances to Affiliates, Balance, Principal Amount",
        "terseLabel": "Amortized cost of affiliate investments (in Dollars)"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesBalancePrincipalAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesBalanceShares": {
     "auth_ref": [
      "r204"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of affiliates held for management investment companies.",
        "label": "Investments in and Advances to Affiliates, Balance, Shares",
        "terseLabel": "Affiliates purchased (in Shares)"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesBalanceShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r19",
      "r236",
      "r295",
      "r314",
      "r315",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r323",
      "r324",
      "r435",
      "r438",
      "r439",
      "r450",
      "r573",
      "r738",
      "r792",
      "r793"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "LIABILITIES"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r14",
      "r134",
      "r160",
      "r594",
      "r712",
      "r729",
      "r786"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities and net assets"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r4",
      "r133",
      "r152"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
        "label": "Long-Term Line of Credit",
        "netLabel": "Securitized credit facility",
        "terseLabel": "Revolving credit facility",
        "verboseLabel": "Credit facility"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityAverageOutstandingAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average amount borrowed under the credit facility during the period.",
        "label": "Line of Credit Facility, Average Outstanding Amount",
        "terseLabel": "Outstanding amount"
       }
      }
     },
     "localname": "LineOfCreditFacilityAverageOutstandingAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityBorrowingCapacityDescription": {
     "auth_ref": [
      "r697",
      "r698"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the credit facility's borrowing capacity including discussion of how the borrowing capacity is determined (for example, borrowing capacity based on the amount of current assets).",
        "label": "Line of Credit Facility, Borrowing Capacity, Description",
        "terseLabel": "Line of credit facility, borrowing capacity, description"
       }
      }
     },
     "localname": "LineOfCreditFacilityBorrowingCapacityDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityCommitmentFeePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used.",
        "label": "Line of Credit Facility, Commitment Fee Percentage",
        "terseLabel": "Encina Credit Facility percentage"
       }
      }
     },
     "localname": "LineOfCreditFacilityCommitmentFeePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity": {
     "auth_ref": [
      "r17"
     ],
     "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": "Line of credit facility current borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityCurrentBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityDescription": {
     "auth_ref": [
      "r17"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the terms of a credit facility arrangement. Terms typically include interest rate, collateral required, guarantees required, repayment requirements, and restrictions on use of assets and activities of the entity.",
        "label": "Line of Credit Facility, Description",
        "terseLabel": "Interest rate, description",
        "verboseLabel": "Revolving credit facility, description"
       }
      }
     },
     "localname": "LineOfCreditFacilityDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/FinancialHighlightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityInterestRateDescription": {
     "auth_ref": [
      "r17"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of interest rate for borrowing under credit facility. Includes, but is not limited to, terms and method for determining interest rate.",
        "label": "Line of Credit Facility, Interest Rate Description",
        "terseLabel": "Fixed interest, description"
       }
      }
     },
     "localname": "LineOfCreditFacilityInterestRateDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityLineItems": {
     "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": "Line of Credit Facility [Line Items]"
       }
      }
     },
     "localname": "LineOfCreditFacilityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r17"
     ],
     "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": "Line of credit facility maximum borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityPeriodicPayment": {
     "auth_ref": [
      "r17"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the required periodic payments of both interest and principal.",
        "label": "Line of Credit Facility, Periodic Payment",
        "terseLabel": "Encina Credit Facility"
       }
      }
     },
     "localname": "LineOfCreditFacilityPeriodicPayment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity": {
     "auth_ref": [
      "r17"
     ],
     "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": "Average borrowings outstanding",
        "verboseLabel": "Available borrowings"
       }
      }
     },
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityRevolvingCreditConversionToTermLoanDescription": {
     "auth_ref": [
      "r17"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes when borrowings outstanding under a line of credit will convert to a term loan, and describes the repayment terms, collateral, and priority (seniority) of the term loan.",
        "label": "Line of Credit Facility, Revolving Credit Conversion to Term Loan, Description",
        "terseLabel": "Credit facility, description"
       }
      }
     },
     "localname": "LineOfCreditFacilityRevolvingCreditConversionToTermLoanDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityTable": {
     "auth_ref": [
      "r17",
      "r711"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to 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": "Line of Credit Facility [Table]"
       }
      }
     },
     "localname": "LineOfCreditFacilityTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcreditfacilityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LondonInterbankOfferedRateLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
        "label": "London Interbank Offered Rate (LIBOR) [Member]",
        "terseLabel": "London Interbank Offered Rate (LIBOR) [Member]"
       }
      }
     },
     "localname": "LondonInterbankOfferedRateLIBORMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r4",
      "r133",
      "r157",
      "r338",
      "r351",
      "r582",
      "r583"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation.",
        "label": "Long-Term Debt",
        "terseLabel": "Total Long-Term Debt Obligations"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtAverageAmountOutstanding": {
     "auth_ref": [
      "r562",
      "r563"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average amount outstanding of long-term debt.",
        "label": "Long-Term Debt, Average Amount Outstanding",
        "terseLabel": "Debentures outstanding amount"
       }
      }
     },
     "localname": "LongTermDebtAverageAmountOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtWeightedAverageInterestRateOverTime": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated over time.",
        "label": "Long-Term Debt, Weighted Average Interest Rate, over Time",
        "terseLabel": "Average interest rate"
       }
      }
     },
     "localname": "LongTermDebtWeightedAverageInterestRateOverTime",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LongTermLineOfCredit": {
     "auth_ref": [
      "r22",
      "r68",
      "r69"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the noncurrent portion 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, Noncurrent",
        "terseLabel": "Securitized credit facility"
       }
      }
     },
     "localname": "LongTermLineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-Term Debt, Type [Axis]"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r22",
      "r71"
     ],
     "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]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentobligationsforrepaymentofdebtandothercontractualobligationsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ManagementFeeDescription": {
     "auth_ref": [
      "r123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the nature of payments to managing member or general partner for management of the day-to-day business functions of the limited liability company (LLC) or limited partnership (LP), including the fee rate, basis of calculation, relevant accounting period, whether the fee is paid to an entity other than the managing member or general partner, or whether the fee is waived.",
        "label": "Management Fee, Description",
        "terseLabel": "Management fee, description"
       }
      }
     },
     "localname": "ManagementFeeDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ManagementFeeExpense": {
     "auth_ref": [
      "r123"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses related to the managing member or general partner for management of the day-to-day business functions of the limited liability company (LLC) or limited partnership (LP).",
        "label": "Management Fee Expense",
        "terseLabel": "Base management fees",
        "verboseLabel": "Management fees"
       }
      }
     },
     "localname": "ManagementFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MembershipsInExchangesOwned": {
     "auth_ref": [
      "r801"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of capitalized cost for obtaining membership with right to do business on trading exchange.",
        "label": "Memberships in Exchanges Owned",
        "terseLabel": "Membership interest"
       }
      }
     },
     "localname": "MembershipsInExchangesOwned",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetAssetValuePerShare": {
     "auth_ref": [
      "r103",
      "r104",
      "r110",
      "r181",
      "r186"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net asset value per share or per unit of investments in certain entities that calculate net asset value per share. Includes, but is not limited to, by unit, membership interest, or other ownership interest. Investment includes, but is not limited to, investment in certain hedge funds, venture capital funds, private equity funds, real estate partnerships or funds. Excludes fair value disclosure.",
        "label": "Net Asset Value Per Share",
        "periodEndLabel": "Net asset value at end of period",
        "periodStartLabel": "Net asset value at beginning of period",
        "terseLabel": "NET ASSET VALUE PER SHARE (in Dollars per share)"
       }
      }
     },
     "localname": "NetAssetValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r230"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "NET CASH PROVIDED BY (USED IN) FINANCING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r39",
      "r41",
      "r44"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "NET CASH PROVIDED BY (USED IN) OPERATING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetInvestmentIncome": {
     "auth_ref": [
      "r507"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after investment expense, of income earned from investments in securities and real estate. Includes, but is not limited to, real estate investment, policy loans, dividends, and interest. Excludes realized gain (loss) on investments.",
        "label": "Net Investment Income",
        "terseLabel": "Net investment income",
        "totalLabel": "NET INVESTMENT INCOME"
       }
      }
     },
     "localname": "NetInvestmentIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetInvestmentIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Investment Income [Abstract]",
        "terseLabel": "INVESTMENT INCOME"
       }
      }
     },
     "localname": "NetInvestmentIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "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": "New Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncashInvestingAndFinancingItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncash Investing and Financing Items [Abstract]",
        "terseLabel": "Supplemental non-cash information:"
       }
      }
     },
     "localname": "NoncashInvestingAndFinancingItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestExpenseDirectorsFees": {
     "auth_ref": [
      "r143"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 7.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noninterest expense related to directors' fees which are fees paid by an Entity to its directors. Directors' fees may be paid in addition to salary and other benefits.",
        "label": "Noninterest Expense Directors Fees",
        "terseLabel": "Directors fees and expenses"
       }
      }
     },
     "localname": "NoninterestExpenseDirectorsFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseInvestmentAdvisoryFees": {
     "auth_ref": [
      "r143"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This represents the company's cost incurred during an accounting period for managing the money in a fund, which will be billed back to the client and is a component of noninterest expenses.",
        "label": "Noninterest Expense Investment Advisory Fees",
        "terseLabel": "Investment fee"
       }
      }
     },
     "localname": "NoninterestExpenseInvestmentAdvisoryFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayable": {
     "auth_ref": [
      "r4",
      "r133",
      "r157"
     ],
     "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"
       }
      }
     },
     "localname": "NotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OffBalanceSheetCreditLossLiability": {
     "auth_ref": [
      "r299",
      "r313"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expected credit loss for credit exposure on off-balance-sheet commitment, including but not limited to, loan commitment, standby letter of credit, financial guarantee not accounted for as insurance. Excludes off-balance sheet credit exposure accounted for as insurance and instrument accounted for under derivatives and hedging.",
        "label": "Off-Balance-Sheet, Credit Loss, Liability",
        "terseLabel": "Off-balance sheet arrangements"
       }
      }
     },
     "localname": "OffBalanceSheetCreditLossLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OfferingCostsPartnershipInterests": {
     "auth_ref": [
      "r170"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs incurred in connection with the offering and selling of additional partner interest.",
        "label": "Offering Costs, Partnership Interests",
        "terseLabel": "Offering costs"
       }
      }
     },
     "localname": "OfferingCostsPartnershipInterests",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.",
        "label": "Operating Expenses",
        "totalLabel": "Total operating expenses"
       }
      }
     },
     "localname": "OperatingExpenses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "OPERATING EXPENSES"
       }
      }
     },
     "localname": "OperatingExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r0",
      "r92"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Organization"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/Organization"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherAdditionalCapital": {
     "auth_ref": [
      "r25",
      "r32"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of additional paid-in capital (APIC) classified as other.",
        "label": "Other Additional Capital",
        "terseLabel": "Additional investment"
       }
      }
     },
     "localname": "OtherAdditionalCapital",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAffiliatesMember": {
     "auth_ref": [
      "r200"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category that identifies other affiliates.",
        "label": "Other Affiliates [Member]",
        "terseLabel": "Other Affiliates [Member]",
        "verboseLabel": "Affiliate [Member]"
       }
      }
     },
     "localname": "OtherAffiliatesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r212"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets, Noncurrent",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherBorrowings": {
     "auth_ref": [
      "r136"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount as of the balance sheet date for the aggregate of other miscellaneous borrowings owed by the reporting entity.",
        "label": "Other Borrowings",
        "terseLabel": "Borrowings encina credit facility amount",
        "verboseLabel": "Borrowing amount"
       }
      }
     },
     "localname": "OtherBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCommitmentsAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of other commitment.",
        "label": "Other Commitments [Axis]"
       }
      }
     },
     "localname": "OtherCommitmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCommitmentsDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other future obligation.",
        "label": "Other Commitments [Domain]"
       }
      }
     },
     "localname": "OtherCommitmentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherIncome": {
     "auth_ref": [
      "r167"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 6.0,
       "parentTag": "us-gaap_InvestmentIncomeNonoperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue and income classified as other.",
        "label": "Other Income",
        "terseLabel": "Other income"
       }
      }
     },
     "localname": "OtherIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherIncomeTaxExpenseBenefitContinuingOperations": {
     "auth_ref": [
      "r772"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of other current and other deferred income tax expense (benefit) attributable to continuing operations.",
        "label": "Other Income Tax Expense (Benefit), Continuing Operations",
        "terseLabel": "Income tax (provision) benefit from realized gain on investments"
       }
      }
     },
     "localname": "OtherIncomeTaxExpenseBenefitContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "auth_ref": [
      "r144"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 4.0,
       "parentTag": "us-gaap_InvestmentIncomeNonoperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other.",
        "label": "Other Interest and Dividend Income",
        "terseLabel": "Dividend Income"
       }
      }
     },
     "localname": "OtherInterestAndDividendIncome",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherInvestmentCompaniesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in other investment companies (as defined).",
        "label": "Other Investment Companies [Member]",
        "terseLabel": "Investment Companies [Member]"
       }
      }
     },
     "localname": "OtherInvestmentCompaniesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherNotesPayable": {
     "auth_ref": [
      "r4",
      "r133",
      "r157"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term notes payable classified as other.",
        "label": "Other Notes Payable",
        "terseLabel": "Notes exchanged"
       }
      }
     },
     "localname": "OtherNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherOperatingIncomeExpenseNet": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of other operating income and expenses, the components of which are not separately disclosed on the income statement, from items that are associated with the entity's normal revenue producing operations.",
        "label": "Other Operating Income (Expense), Net",
        "terseLabel": "Net change in total operating expense"
       }
      }
     },
     "localname": "OtherOperatingIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherOwnershipInterestsOfferingCosts": {
     "auth_ref": [
      "r80"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of offering costs allocated to the other unit holders.",
        "label": "Other Ownership Interests, Offering Costs",
        "terseLabel": "Investment interests",
        "verboseLabel": "Offering expenses"
       }
      }
     },
     "localname": "OtherOwnershipInterestsOfferingCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherSellingGeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r27"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of selling, general and administrative expense classified as other.",
        "label": "Other Selling, General and Administrative Expense",
        "terseLabel": "Administrator expenses"
       }
      }
     },
     "localname": "OtherSellingGeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherUnderwritingExpense": {
     "auth_ref": [
      "r168",
      "r169"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs incurred during the period, such as those relating to general administration and policy maintenance that do not vary with and are not primarily related to the acquisition or renewal of insurance contracts.",
        "label": "Other Underwriting Expense",
        "terseLabel": "Underwriting discount"
       }
      }
     },
     "localname": "OtherUnderwritingExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentForIncentiveFee": {
     "auth_ref": [
      "r708",
      "r788"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount paid for incentive rights held by the managing member or general partner, of limited liability company (LLC) or limited partnership (LP).",
        "label": "Payment for Incentive Fee",
        "terseLabel": "Incentive fees accrual"
       }
      }
     },
     "localname": "PaymentForIncentiveFee",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentForManagementFee": {
     "auth_ref": [
      "r708",
      "r788"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount paid to managing member or general partner for management of the day-to-day business functions of the limited liability company (LLC) or limited partnership (LP).",
        "label": "Payment for Management Fee",
        "terseLabel": "Management fee accrual"
       }
      }
     },
     "localname": "PaymentForManagementFee",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash paid (received) associated with the acquisition or disposal of all investments, including securities and other assets.",
        "label": "Payments for (Proceeds from) Investments",
        "terseLabel": "Total Interest from Investments",
        "verboseLabel": "Total proceeds"
       }
      }
     },
     "localname": "PaymentsForProceedsFromInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfEquity": {
     "auth_ref": [
      "r36"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to reacquire common and preferred stock.",
        "label": "Payments for Repurchase of Equity",
        "negatedLabel": "Repurchases of common stock"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForUnderwritingExpense": {
     "auth_ref": [
      "r40"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash paid for expenses incurred during underwriting activities (the process to review insurance applications, evaluate risks, accept or reject applications, and determine the premiums to be charged) for insurance companies.",
        "label": "Payments for Underwriting Expense",
        "terseLabel": "Deducting underwriting commissions amount"
       }
      }
     },
     "localname": "PaymentsForUnderwritingExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividends": {
     "auth_ref": [
      "r36"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash outflow in the form of capital distributions and dividends to common shareholders, preferred shareholders and noncontrolling interests.",
        "label": "Payments of Dividends",
        "negatedLabel": "Payments of cash dividends"
       }
      }
     },
     "localname": "PaymentsOfDividends",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfFinancingCosts": {
     "auth_ref": [
      "r38"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for loan and debt issuance costs.",
        "label": "Payments of Financing Costs",
        "negatedLabel": "Payments of deferred debt financing costs",
        "terseLabel": "Financing costs"
       }
      }
     },
     "localname": "PaymentsOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "auth_ref": [
      "r38"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security.",
        "label": "Payments of Stock Issuance Costs",
        "negatedLabel": "Payments of offering costs"
       }
      }
     },
     "localname": "PaymentsOfStockIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r743",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753",
      "r754",
      "r755",
      "r756",
      "r757",
      "r758",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofselectedquarterlydataTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PremiumsEarnedNet": {
     "auth_ref": [
      "r502",
      "r506",
      "r510",
      "r522"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after premiums ceded to other entities and premiums assumed by the entity, of premiums earned.",
        "label": "Premiums Earned, Net",
        "terseLabel": "Company earned"
       }
      }
     },
     "localname": "PremiumsEarnedNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceInitialPublicOffering": {
     "auth_ref": [
      "r33"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 5.0,
       "parentTag": "sar_NetIncreaseDecreaseInNetAssetsFromCapitalShareTransactions",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from entity's first offering of stock to the public.",
        "label": "Proceeds from Issuance Initial Public Offering",
        "negatedLabel": "Offering costs"
       }
      }
     },
     "localname": "ProceedsFromIssuanceInitialPublicOffering",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r33"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Proceeds from issuance of common stock",
        "verboseLabel": "Stock issued at value"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfDebt": {
     "auth_ref": [
      "r704"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt.",
        "label": "Proceeds from Issuance of Debt",
        "terseLabel": "Borrowings on debt"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet": {
     "auth_ref": [
      "r34"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with security instrument that either represents a creditor or an ownership relationship with the holder of the investment security with a maturity of beyond one year or normal operating cycle, if longer. Includes proceeds from (a) debt, (b) capital lease obligations, (c) mandatory redeemable capital securities, and (d) any combination of (a), (b), or (c).",
        "label": "Proceeds from Issuance of Long-Term Debt and Capital Securities, Net",
        "terseLabel": "Net long-term capital losses"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfMediumTermNotes": {
     "auth_ref": [
      "r35"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a debt funding received on a regular basis with maturities ranging from 5-10 years.",
        "label": "Proceeds from Issuance of Medium-term Notes",
        "terseLabel": "Issuance of notes"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfMediumTermNotes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLimitedPartnershipInvestments": {
     "auth_ref": [
      "r703"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash inflow received as distributions, returns of capital, or sale proceeds from partnership interests held for investment purposes.",
        "label": "Proceeds from Limited Partnership Investments",
        "terseLabel": "Received distributions"
       }
      }
     },
     "localname": "ProceedsFromLimitedPartnershipInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromNotesPayable": {
     "auth_ref": [
      "r35"
     ],
     "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": "Net proceeds amount"
       }
      }
     },
     "localname": "ProceedsFromNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsForOtherFinancingActivities": {
     "auth_ref": [
      "r705",
      "r707"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities classified as other.",
        "label": "Proceeds from (Payments for) Other Financing Activities",
        "terseLabel": "Repurchases fees"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForOtherFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromUnsecuredNotesPayable": {
     "auth_ref": [
      "r35"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from borrowings supported by a written promise to pay an obligation that is uncollateralized (where debt is not backed by the pledge of collateral).",
        "label": "Proceeds from Unsecured Notes Payable",
        "terseLabel": "Unsecured note"
       }
      }
     },
     "localname": "ProceedsFromUnsecuredNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r194",
      "r196"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer.",
        "label": "Professional Fees",
        "terseLabel": "Professional fees"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r209",
      "r218",
      "r219",
      "r229",
      "r236",
      "r245",
      "r255",
      "r256",
      "r284",
      "r286",
      "r288",
      "r290",
      "r295",
      "r314",
      "r315",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r323",
      "r324",
      "r433",
      "r436",
      "r437",
      "r444",
      "r450",
      "r504",
      "r574",
      "r592",
      "r593",
      "r701",
      "r738"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "NET INCREASE (DECREASE) IN NET ASSETS RESULTING FROM OPERATIONS"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyManagementFeeRevenue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of revenue derived from managing real estate properties.",
        "label": "Property Management Fee Revenue",
        "terseLabel": "Management fee"
       }
      }
     },
     "localname": "PropertyManagementFeeRevenue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_QuarterlyFinancialInformationDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Quarterly Financial Information Disclosure [Abstract]"
       }
      }
     },
     "localname": "QuarterlyFinancialInformationDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_QuarterlyFinancialInformationTextBlock": {
     "auth_ref": [
      "r54",
      "r272"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for quarterly financial data. Includes, but is not limited to, tabular presentation of financial information for fiscal quarters, effect of year-end adjustments, and an explanation of matters or transactions that affect comparability of the information.",
        "label": "Quarterly Financial Information [Text Block]",
        "terseLabel": "Selected Quarterly Data (Unaudited)"
       }
      }
     },
     "localname": "QuarterlyFinancialInformationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SelectedQuarterlyDataUnaudited"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RealizedInvestmentGainsLosses": {
     "auth_ref": [
      "r166"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "sar_NetRealizedAndUnrealizedGainlossOnInvestments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment.",
        "label": "Realized Investment Gains (Losses)",
        "negatedLabel": "Net realized (gain) loss from investments",
        "netLabel": "Realized loss",
        "terseLabel": "Net realized gain from investments",
        "totalLabel": "Net realized gain (loss) from investments",
        "verboseLabel": "Net realized gain (loss) from investments"
       }
      }
     },
     "localname": "RealizedInvestmentGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r375",
      "r467",
      "r468"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAmountsOfTransaction": {
     "auth_ref": [
      "r124",
      "r467"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transactions with related party during the financial reporting period.",
        "label": "Related Party Transaction, Amounts of Transaction",
        "terseLabel": "Related transaction costs"
       }
      }
     },
     "localname": "RelatedPartyTransactionAmountsOfTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r206",
      "r467",
      "r468",
      "r790"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party transaction.",
        "label": "Related Party Transaction [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [
      "r206"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty": {
     "auth_ref": [
      "r121"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expenses recognized resulting from transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party.",
        "label": "Related Party Transaction, Expenses from Transactions with Related Party",
        "terseLabel": "Related party transaction costs"
       }
      }
     },
     "localname": "RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r375",
      "r467",
      "r490",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r790"
     ],
     "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 [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r465",
      "r466",
      "r468",
      "r470",
      "r471"
     ],
     "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": "Agreements and Related Party Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfDebt": {
     "auth_ref": [
      "r706"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations.",
        "label": "Repayments of Debt",
        "negatedLabel": "Paydowns on debt",
        "terseLabel": "Repayment of loan"
       }
      }
     },
     "localname": "RepaymentsOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfNotesPayable": {
     "auth_ref": [
      "r37"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for a borrowing supported by a written promise to pay an obligation.",
        "label": "Repayments of Notes Payable",
        "negatedLabel": "Repayments of notes"
       }
      }
     },
     "localname": "RepaymentsOfNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalents": {
     "auth_ref": [
      "r45",
      "r51",
      "r127",
      "r158",
      "r210"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofcashandcashequivalentsandcashandcashequivalentsTable": {
       "order": 2.0,
       "parentTag": "sar_TotalCashAndCashEquivalentsAndCashAndCashsEquivalensReserveAccounts",
       "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": "Cash and cash equivalents, reserve accounts"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofcashandcashequivalentsandcashandcashequivalentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember": {
     "auth_ref": [
      "r210"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of cash and cash equivalent. Cash is 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 [Domain]"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcashandcashequivalentsandcashandcashequivalentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedStockSharesIssuedNetOfSharesForTaxWithholdings": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number, after shares used to satisfy grantee's tax withholding obligation for award under share-based payment arrangement, of restricted shares issued. Excludes cash used to satisfy grantee's tax withholding obligation.",
        "label": "Restricted Stock, Shares Issued Net of Shares for Tax Withholdings",
        "terseLabel": "Exchanged shares (in Shares)"
       }
      }
     },
     "localname": "RestrictedStockSharesIssuedNetOfSharesForTaxWithholdings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r11",
      "r78",
      "r159",
      "r516",
      "r521",
      "r594"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Total distributable earnings"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRecognitionDividends": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue recognition for dividend revenue.",
        "label": "Revenue Recognition, Dividends [Policy Text Block]",
        "terseLabel": "Dividend Income"
       }
      }
     },
     "localname": "RevenueRecognitionDividends",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueRecognitionInterest": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognition of interest revenue. Disclosure may include the method of recognizing interest income on loan and trade receivables, the method of amortizing premiums or accreting discounts, and a statement about the policy for the treatment of related fees and costs, including the method of amortizing net deferred fees and costs.",
        "label": "Revenue Recognition, Interest [Policy Text Block]",
        "terseLabel": "Investment Transactions and Income Recognition"
       }
      }
     },
     "localname": "RevenueRecognitionInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevolvingCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount.",
        "label": "Revolving Credit Facility [Member]",
        "netLabel": "Credit Facility [Member]",
        "terseLabel": "Revolving credit facility",
        "verboseLabel": "Revolving Credit Facility [Member]"
       }
      }
     },
     "localname": "RevolvingCreditFacilityMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "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": "Aggregate net proceeds"
       }
      }
     },
     "localname": "SaleOfStockConsiderationReceivedOnTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SaleOfStockDescriptionOfTransaction": {
     "auth_ref": [
      "r88",
      "r90",
      "r91"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of stock transaction which may include details of the offering (IPO, private placement), a description of the stock sold, percentage of subsidiary's or equity investee's stock sold, a description of the investors and whether the stock was issued in a business combination.",
        "label": "Sale of Stock, Description of Transaction",
        "terseLabel": "Sale of stock, description"
       }
      }
     },
     "localname": "SaleOfStockDescriptionOfTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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]"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "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": "Number of shares sold (in Shares)"
       }
      }
     },
     "localname": "SaleOfStockNumberOfSharesIssuedInTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.",
        "label": "Sale of Stock, Price Per Share",
        "terseLabel": "Average price (in Dollars per share)"
       }
      }
     },
     "localname": "SaleOfStockPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SalesAndExciseTaxPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r138",
      "r162"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 9.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred through that date and payable for statutory sales and use taxes, including value added tax.",
        "label": "Sales and Excise Tax Payable",
        "terseLabel": "Excise tax payable"
       }
      }
     },
     "localname": "SalesAndExciseTaxPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ScenarioPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The scenario under which facts represent plans as distinct from actual.",
        "label": "Scenario, Plan [Member]",
        "terseLabel": "Scenario, Plan [Member]"
       }
      }
     },
     "localname": "ScenarioPlanMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation of available-for-sale securities from cost basis to fair value.",
        "label": "Schedule of Available-for-Sale Securities Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of reconciliation of beginning and ending balances for investments"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfCashAndCashEquivalentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of cash and cash equivalent balances. This table excludes restricted cash balances.",
        "label": "Schedule of Cash and Cash Equivalents [Table]"
       }
      }
     },
     "localname": "ScheduleOfCashAndCashEquivalentsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofcashandcashequivalentsandcashandcashequivalentsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of cash and cash equivalents.",
        "label": "Schedule of Cash and Cash Equivalents [Table Text Block]",
        "terseLabel": "Schedule of reconciliation of cash and cash equivalents and cash and cash equivalents"
       }
      }
     },
     "localname": "ScheduleOfCashAndCashEquivalentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "auth_ref": [
      "r86"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years.",
        "label": "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]",
        "terseLabel": "Schedule of federal and state income tax provisions benefit"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r84"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "terseLabel": "Schedule of deferred tax assets and liabilities"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable": {
     "auth_ref": [
      "r111",
      "r112"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing the information required and determined to be disclosed regarding the fair value of financial assets and financial liabilities, which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition.",
        "label": "Schedule of Fair Value, off-Balance-Sheet Risks [Table]"
       }
      }
     },
     "localname": "ScheduleOfFairValueOffBalanceSheetRisksTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofunfundedcommitmentsoutstandingTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTextBlock": {
     "auth_ref": [
      "r111",
      "r112"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined) which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition.",
        "label": "Schedule of Fair Value, off-Balance-Sheet Risks [Table Text Block]",
        "terseLabel": "Schedule of unfunded commitments outstanding"
       }
      }
     },
     "localname": "ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/CommitmentsandContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock": {
     "auth_ref": [
      "r17"
     ],
     "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 credit facility"
       }
      }
     },
     "localname": "ScheduleOfLineOfCreditFacilitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock": {
     "auth_ref": [
      "r271"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of quarterly financial data. Includes, but is not limited to, financial information for fiscal quarters, cumulative effect of a change in accounting principle and earnings per share data.",
        "label": "Quarterly Financial Information [Table Text Block]",
        "terseLabel": "Schedule of selected quarterly data"
       }
      }
     },
     "localname": "ScheduleOfQuarterlyFinancialInformationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SelectedQuarterlyDataUnauditedTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfServicingAssetsAtAmortizedValueTextBlock": {
     "auth_ref": [
      "r800"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of activity in the balance of servicing assets subsequently measured at amortized cost. Includes, but is not limited to, beginning and ending balances, additions, disposals, and amortization.",
        "label": "Servicing Asset at Amortized Cost [Table Text Block]",
        "terseLabel": "Schedule of investments at amortized cost and fair value"
       }
      }
     },
     "localname": "ScheduleOfServicingAssetsAtAmortizedValueTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockholdersEquityTableTextBlock": {
     "auth_ref": [
      "r76"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of changes in the separate accounts comprising stockholders' equity (in addition to retained earnings) and of the changes in the number of shares of equity securities during at least the most recent annual fiscal period and any subsequent interim period presented is required to make the financial statements sufficiently informative if both financial position and results of operations are presented.",
        "label": "Schedule of Stockholders Equity [Table Text Block]",
        "terseLabel": "Schedule of reconciliation of the changes in each significant caption of stockholders\u2019 equity"
       }
      }
     },
     "localname": "ScheduleOfStockholdersEquityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfWeightedAverageNumberOfSharesTableTextBlock": {
     "auth_ref": [
      "r53"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the weighted average number of shares used in calculating basic net earnings per share (or unit) and diluted earnings per share (or unit).",
        "label": "Schedule of Weighted Average Number of Shares [Table Text Block]",
        "terseLabel": "Schedule of weighted average basic and diluted net increase (decrease) in net assets"
       }
      }
     },
     "localname": "ScheduleOfWeightedAverageNumberOfSharesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/EarningsPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecondMortgageMember": {
     "auth_ref": [
      "r597"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan secured by real property that is lower or subordinate to other loans on such property in the event of default by the borrower.",
        "label": "Second Mortgage [Member]",
        "terseLabel": "Second lien term loans [Member]",
        "verboseLabel": "Second Lien Term Loans [Member]"
       }
      }
     },
     "localname": "SecondMortgageMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SecuredDebtOther": {
     "auth_ref": [
      "r147"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of collateralized debt obligations classified as other.",
        "label": "Secured Debt, Other",
        "terseLabel": "Collateralized loan obligation trust"
       }
      }
     },
     "localname": "SecuredDebtOther",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SeniorNotes": {
     "auth_ref": [
      "r139",
      "r164"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of Notes with the highest claim on the assets of the issuer in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle if longer). Senior note holders are paid off in full before any payments are made to junior note holders.",
        "label": "Senior Notes",
        "terseLabel": "Senior secured revolving"
       }
      }
     },
     "localname": "SeniorNotes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetsAtAmortizedValueLineItems": {
     "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": "Servicing Asset at Amortized Cost [Line Items]"
       }
      }
     },
     "localname": "ServicingAssetsAtAmortizedValueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ServicingAssetsAtAmortizedValueTable": {
     "auth_ref": [
      "r480",
      "r481",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about activity in the balance of servicing assets subsequently measured at amortized cost. Includes, but is not limited to, beginning and ending balances, additions, disposals, and amortization.",
        "label": "Servicing Asset at Amortized Cost [Table]"
       }
      }
     },
     "localname": "ServicingAssetsAtAmortizedValueTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r394"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "terseLabel": "Payment date"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofpaymentdateTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharesIssued": {
     "auth_ref": [
      "r76"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued as of the balance sheet date, including shares that had been issued and were previously outstanding but which are now held in the treasury.",
        "label": "Shares, Issued",
        "terseLabel": "Owned shares (in Shares)"
       }
      }
     },
     "localname": "SharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharesIssuedPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or per unit amount of equity securities issued.",
        "label": "Shares Issued, Price Per Share",
        "terseLabel": "Price par value (in Dollars per share)",
        "verboseLabel": "Stock issued price per share (in Dollars per share)"
       }
      }
     },
     "localname": "SharesIssuedPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares, Outstanding",
        "terseLabel": "Shares outstanding at end of period (in Shares)"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffinancialhighlightsTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r18"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of short-term debt arrangement.",
        "label": "Short-Term Debt, Type [Axis]"
       }
      }
     },
     "localname": "ShortTermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r16"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
        "label": "Short-Term Debt, Type [Domain]"
       }
      }
     },
     "localname": "ShortTermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r52",
      "r233"
     ],
     "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/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StateAndLocalIncomeTaxExpenseBenefitContinuingOperations": {
     "auth_ref": [
      "r713",
      "r772",
      "r780"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current and deferred state and local tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current and deferred regional, territorial, and provincial tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "State and Local Income Tax Expense (Benefit), Continuing Operations",
        "terseLabel": "State net operating loss carryforwards"
       }
      }
     },
     "localname": "StateAndLocalIncomeTaxExpenseBenefitContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r215",
      "r216",
      "r217",
      "r236",
      "r259",
      "r260",
      "r262",
      "r265",
      "r274",
      "r275",
      "r295",
      "r314",
      "r317",
      "r318",
      "r319",
      "r323",
      "r324",
      "r353",
      "r354",
      "r356",
      "r360",
      "r366",
      "r450",
      "r562",
      "r691",
      "r710",
      "r720"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DocumentAndEntityInformation",
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r24",
      "r76",
      "r207",
      "r221",
      "r222",
      "r223",
      "r242",
      "r243",
      "r244",
      "r246",
      "r253",
      "r256",
      "r273",
      "r296",
      "r367",
      "r404",
      "r405",
      "r406",
      "r421",
      "r422",
      "r442",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r464",
      "r512",
      "r513",
      "r514"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcashandcashequivalentsandcashandcashequivalentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r242",
      "r243",
      "r244",
      "r273",
      "r488"
     ],
     "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]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedScheduleofInvestmentsTable_Parentheticals",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcashandcashequivalentsandcashandcashequivalentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleoftransactionsrelatedtoaffiliatesTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssued1": {
     "auth_ref": [
      "r48",
      "r49",
      "r50"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value of stock issued in noncash financing activities.",
        "label": "Stock Issued",
        "terseLabel": "Issued of debt"
       }
      }
     },
     "localname": "StockIssued1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan": {
     "auth_ref": [
      "r76"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued during the period from a dividend reinvestment plan (DRIP). A dividend reinvestment plan allows the shareholders to reinvest dividends paid to them by the entity on new issues of stock by the entity.",
        "label": "Stock Issued During Period, Shares, Dividend Reinvestment Plan",
        "terseLabel": "Stock dividend distribution, shares (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesDividendReinvestmentPlan",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r8",
      "r9",
      "r76",
      "r78"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Shares issued (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueDividendReinvestmentPlan": {
     "auth_ref": [
      "r76"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued during the period from a dividend reinvestment plan (DRIP). A dividend reinvestment plan allows the holder of the stock to reinvest dividends paid to them by the entity on new issues of stock by the entity.",
        "label": "Stock Issued During Period, Value, Dividend Reinvestment Plan",
        "terseLabel": "Stock dividend distribution"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueDividendReinvestmentPlan",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r8",
      "r9",
      "r76",
      "r78"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "sar_NetIncreaseDecreaseInNetAssetsFromCapitalShareTransactions",
       "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": "Proceeds from issuance of common stock"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "auth_ref": [
      "r8",
      "r9",
      "r76",
      "r78"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "Stock Repurchased During Period, Shares",
        "terseLabel": "Repurchases of common stock, shares (in Shares)"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodValue": {
     "auth_ref": [
      "r8",
      "r9",
      "r76",
      "r78"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "sar_NetIncreaseDecreaseInNetAssetsFromCapitalShareTransactions",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "Stock Repurchased During Period, Value",
        "negatedLabel": "Repurchases of common stock",
        "negatedTerseLabel": "Repurchases of common stock"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofthechangesineachsignificantcaptionofstockholdersequityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r9",
      "r12",
      "r13",
      "r60",
      "r594",
      "r712",
      "r729",
      "r786"
     ],
     "calculation": {
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Net assets at end of period",
        "periodStartLabel": "Net assets at beginning of period",
        "totalLabel": "Total net assets"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedBalanceSheet",
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Note [Abstract]"
       }
      }
     },
     "localname": "StockholdersEquityNoteAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r81",
      "r235",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r367",
      "r440"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Stockholders' Equity Note Disclosure [Text Block]",
        "terseLabel": "Stockholders\u2019 Equity"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquity"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StructuredFinanceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This category includes information about generally complex financial arrangement used to help transfer risk, also referred to as structured debt.",
        "label": "Structured Finance [Member]",
        "terseLabel": "Structured finance securities [Member]",
        "verboseLabel": "Structured Finance Securities [Member]"
       }
      }
     },
     "localname": "StructuredFinanceMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubordinatedBorrowingInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stated interest rate of the subordinated debt.",
        "label": "Subordinated Borrowing, Interest Rate",
        "terseLabel": "Borrowing rate",
        "verboseLabel": "Borrowing interest rate"
       }
      }
     },
     "localname": "SubordinatedBorrowingInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SubordinatedDebt": {
     "auth_ref": [
      "r2",
      "r4",
      "r133",
      "r157"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of subordinated debt (with initial maturities beyond one year or beyond the operating cycle if longer). Subordinated debt places a lender in a lien position behind debt having a higher priority of repayment in liquidation of the entity's assets.",
        "label": "Subordinated Debt",
        "terseLabel": "Newly issued subordinated notes"
       }
      }
     },
     "localname": "SubordinatedDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubsequentEventDescription": {
     "auth_ref": [
      "r125"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the event or transaction that occurred between the balance sheet date and the date the financial statements are issued or available to be issued.",
        "label": "Subsequent Event, Description",
        "terseLabel": "Subsequent events, description"
       }
      }
     },
     "localname": "SubsequentEventDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r457",
      "r474"
     ],
     "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 [Member]"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails",
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r457",
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails",
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r457",
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/DividendDetails",
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r473",
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.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]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/StockholdersEquityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental information:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedCashFlow0"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TangibleCapital": {
     "auth_ref": [
      "r505"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tangible capital as defined by regulatory framework.",
        "label": "Banking Regulation, Tangible Capital, Actual",
        "terseLabel": "Tangible net"
       }
      }
     },
     "localname": "TangibleCapital",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes": {
     "auth_ref": [
      "r524"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate cost of investments for Federal income tax purposes.",
        "label": "Tax Basis of Investments, Cost for Income Tax Purposes",
        "terseLabel": "Cost of securities for federal income tax purposes"
       }
      }
     },
     "localname": "TaxBasisOfInvestmentsCostForIncomeTaxPurposes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet": {
     "auth_ref": [
      "r523"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net unrealized appreciation or depreciation.",
        "label": "Tax Basis of Investments, Unrealized Appreciation (Depreciation), Net",
        "terseLabel": "Net unrealized appreciation"
       }
      }
     },
     "localname": "TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxesExcludingIncomeAndExciseTaxes": {
     "auth_ref": [
      "r702"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All taxes not related to income of the entity or excise or sales taxes levied on the revenue of the entity that are not reported elsewhere. These taxes could include production, real estate, personal property, and pump tax.",
        "label": "Taxes, Miscellaneous",
        "terseLabel": "Estimated excess table income (in Dollars)"
       }
      }
     },
     "localname": "TaxesExcludingIncomeAndExciseTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/SummaryofSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnderlyingAssetClassAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by underlying asset class.",
        "label": "Underlying Asset Class [Axis]"
       }
      }
     },
     "localname": "UnderlyingAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnderlyingAssetClassDomain": {
     "auth_ref": [
      "r101"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Major types of referenced/underlying asset classes (for example, corporate debt, sovereign debt, and structured finance).",
        "label": "Underlying Asset Class [Domain]"
       }
      }
     },
     "localname": "UnderlyingAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UndistributedEarningsLossFromContinuingOperationsAvailableToCommonShareholdersBasic": {
     "auth_ref": [
      "r261",
      "r263"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undistributed earnings (loss) from continuing operations allocated to common stock as if earnings had been distributed. Excludes distributed earnings.",
        "label": "Undistributed Earnings (Loss) from Continuing Operations Available to Common Shareholders, Basic",
        "terseLabel": "Undistributed ordinary income"
       }
      }
     },
     "localname": "UndistributedEarningsLossFromContinuingOperationsAvailableToCommonShareholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleofcomponentsofaccumulatedlossesonataxbasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnsecuredDebt": {
     "auth_ref": [
      "r4",
      "r133",
      "r157"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of uncollateralized debt obligations (with maturities initially due after one year or beyond the operating cycle if longer).",
        "label": "Unsecured Debt",
        "terseLabel": "Unsecured loan"
       }
      }
     },
     "localname": "UnsecuredDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnsecuredDebtCurrent": {
     "auth_ref": [
      "r2",
      "r129",
      "r156"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of the portion of long-term, uncollateralized debt obligations due within one year or the normal operating cycle, if longer.",
        "label": "Unsecured Debt, Current",
        "terseLabel": "Investment unsecured note"
       }
      }
     },
     "localname": "UnsecuredDebtCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnsecuredDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt obligation not collateralized by pledge of, mortgage of or other lien on the entity's assets.",
        "label": "Unsecured Debt [Member]",
        "terseLabel": "Unsecured term loans [Member]",
        "verboseLabel": "Unsecured Loan [Member]"
       }
      }
     },
     "localname": "UnsecuredDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AgreementsandRelatedPartyTransactionsDetails",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofinvestmentsatamortizedcostandfairvalueTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofreconciliationofbeginningandendingbalancesforinvestmentsTable",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofvaluationtechniquesandsignificantunobservableinputsusedinrecurringLevel3fairvaluemeasurementsofassetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnsecuredLongTermDebt": {
     "auth_ref": [
      "r22"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of uncollateralized debt obligation (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.",
        "label": "Unsecured Long-Term Debt, Noncurrent",
        "terseLabel": "Unsecured term loans"
       }
      }
     },
     "localname": "UnsecuredLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ScheduleoffairvaluemeasurementsofinvestmentsbymajorclassTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnusualOrInfrequentItemNetOfInsuranceProceeds": {
     "auth_ref": [
      "r227",
      "r489"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of insurance proceeds, of loss recognized in the income statement for an event or transaction that is unusual in nature or infrequent in occurrence, or both.",
        "label": "Unusual or Infrequent Item, or Both, Net of Insurance Proceeds",
        "terseLabel": "Net proceeds",
        "verboseLabel": "Unusual or Infrequent Item, or Both, Net of Insurance Proceeds"
       }
      }
     },
     "localname": "UnusualOrInfrequentItemNetOfInsuranceProceeds",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/BorrowingsDetails",
      "http://www.saratogainvestmentcorp.com/role/SubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r55",
      "r56",
      "r57",
      "r276",
      "r277",
      "r279",
      "r280"
     ],
     "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 in the Preparation of Financial Statements"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "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]"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/OrganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment": {
     "auth_ref": [
      "r721"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted, Adjustment",
        "terseLabel": "WEIGHTED AVERAGE COMMON SHARES OUTSTANDING - DILUTED"
       }
      }
     },
     "localname": "WeightedAverageNumberDilutedSharesOutstandingAdjustment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement_Parentheticals"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r258",
      "r265"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "WEIGHTED AVERAGE COMMON SHARES OUTSTANDING - BASIC (in Shares)",
        "verboseLabel": "Weighted average common shares outstanding"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.saratogainvestmentcorp.com/role/ConsolidatedIncomeStatement",
      "http://www.saratogainvestmentcorp.com/role/ScheduleofweightedaveragebasicanddilutednetincreasedecreaseinnetassetsTable"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 4
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "https://asc.fasb.org/topic&trid=2122149",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(a)(5))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5708775-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41675-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126972413&loc=SL7495116-110257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "59",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126972413&loc=SL6740821-110257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r11": {
   "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/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13467-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=35711157&loc=d3e42546-110969",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r135": {
   "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/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13,16)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r137": {
   "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/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.16)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13(b))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.4)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(a)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "e",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.12)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126941378&loc=d3e61044-112788",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15)(b)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(5))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r155": {
   "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/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r159": {
   "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/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r163": {
   "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/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.16(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.5(c))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.3(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.4)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.7)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "720",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=35755714&loc=d3e28434-158551",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.D.Q1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=126898976&loc=d3e600348-122990",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=66023616&loc=d3e9120-115832",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=66023616&loc=d3e9145-115832",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=118262037&loc=d3e9915-115836",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=118262037&loc=d3e9915-115836",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10177-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10328-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10342-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10396-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10403-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10411-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(e)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(h)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org/subtopic&trid=2324234",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r191": {
   "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/extlink&oid=120401414&loc=d3e603758-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r192": {
   "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/extlink&oid=120401414&loc=d3e603758-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.16)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124433917&loc=SL114874205-224268",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124433917&loc=SL114874234-224268",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.2(a),(b),(c),(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(6)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12.6(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL6090603-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(1)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r204": {
   "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/extlink&oid=122147990&loc=d3e611322-123010",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "740",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=6489671&loc=d3e20375-115888",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(11))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r212": {
   "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/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=114868883&loc=SL114871943-224233",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(n))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=SL124452830-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.30(a)(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(8))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1278-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "66",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2814-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r27": {
   "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/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "https://asc.fasb.org/topic&trid=2144383",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900988&loc=d3e1280-108306",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900988&loc=SL124452896-108306",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(a),(b))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(b))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5066-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255206&loc=SL82919202-210446",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.8)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=121611286&loc=d3e11927-110247",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.T)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868742-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a),(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496180-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "https://asc.fasb.org/topic&trid=2144680",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=SL126733271-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126972413&loc=SL7495116-110257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4273-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org/topic&trid=2122745",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=d3e56071-112765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org/topic&trid=2122774",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "715",
   "Topic": "930",
   "URI": "https://asc.fasb.org/extlink&oid=109241964&loc=d3e23713-110274",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(24))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13)(c))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(c)(1)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.12-17(Column E))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120401096&loc=d3e574992-122915",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org/topic&trid=2122369",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "605",
   "Subparagraph": "(c)(3)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=6486672&loc=d3e27261-158547",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2)(iii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=126898976&loc=d3e600178-122990",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(2)(iv))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=126898976&loc=d3e600178-122990",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=124439613&loc=SL124453110-224270",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Footnote 11(a)(3)))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "270",
   "URI": "https://asc.fasb.org/topic&trid=2126967",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=127002003&loc=SL6242269-115581",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "450",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=6491354&loc=d3e6049-115624",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r562": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r563": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r564": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r565": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1404",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r566": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(4)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r567": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921830-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921833-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r598": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r599": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r600": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r601": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r602": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r603": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r604": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r605": {
   "Name": "Form F-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r606": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r607": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r608": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r609": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "1",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126974470&loc=d3e8773-111531",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r610": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r611": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r612": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r613": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "5",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r614": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "6",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r615": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "Instruction 2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r616": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "1",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r617": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r618": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r619": {
   "Name": "Form N-2",
   "Paragraph": "d",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=84159169&loc=d3e10178-111534",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r620": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r621": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r622": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r623": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r624": {
   "Name": "Form N-2",
   "Paragraph": "e",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r625": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r626": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r627": {
   "Name": "Form N-2",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r628": {
   "Name": "Form N-2",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r629": {
   "Name": "Form N-2",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r630": {
   "Name": "Form N-2",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r631": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r632": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 1",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r633": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r634": {
   "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"
  },
  "r635": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "f",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r636": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "g",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r637": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "i",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r638": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 11",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r639": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 4",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r640": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 5",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r641": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 6",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r642": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 7",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r643": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 7",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "b",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r644": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 8",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r645": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 9",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r646": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r647": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r648": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 3",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r649": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 8",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 5.P.4)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r650": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r651": {
   "Name": "Form N-2",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r652": {
   "Name": "Form N-2",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subparagraph": "Instruction 2",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r653": {
   "Name": "Form N-2",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subparagraph": "Instruction 3",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r654": {
   "Name": "Form N-2",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r655": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 1",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r656": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 4",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r657": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 5",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r658": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 8",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r659": {
   "Name": "Form N-2",
   "Paragraph": "b, d",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org/topic&trid=2144648",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r660": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r661": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r662": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "1",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r663": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "2",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r664": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "3",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r665": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r666": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "4",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r667": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 2",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r668": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 3",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r669": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 4",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=126907703&loc=d3e12565-110249",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r670": {
   "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"
  },
  "r671": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r672": {
   "Name": "Form N-2",
   "Paragraph": "e",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r673": {
   "Name": "Form N-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r674": {
   "Name": "Form N-4",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r675": {
   "Name": "Form N-6",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r676": {
   "Name": "Form S-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r677": {
   "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"
  },
  "r678": {
   "Name": "Investment Company Act",
   "Number": "270",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r679": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "313",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=99376301&loc=d3e1314-112600",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r680": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r681": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r682": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "413",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r683": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r684": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "c",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r685": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "d",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r686": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "e",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r687": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "486",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r688": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "486",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r689": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=99376301&loc=d3e1336-112600",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r690": {
   "Name": "Securities Act",
   "Publisher": "SEC",
   "Section": "8",
   "Subsection": "c",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(10))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r702": {
   "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/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r711": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r713": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r714": {
   "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/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r715": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r716": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r717": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21728-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r718": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r719": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r720": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2626-109256",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r721": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r722": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4647-111522",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r723": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r724": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r725": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r726": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r727": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org/topic&trid=2196928",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r728": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "321",
   "URI": "https://asc.fasb.org/topic&trid=75115024",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r729": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126972273&loc=d3e12317-112629",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r730": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "323",
   "URI": "https://asc.fasb.org/topic&trid=2196965",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r731": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "325",
   "URI": "https://asc.fasb.org/topic&trid=2197064",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r732": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r733": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.A)",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=122040515&loc=d3e105025-122735",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r735": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r736": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r737": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "https://asc.fasb.org/topic&trid=2127136",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r738": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r739": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126972273&loc=d3e12355-112629",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r740": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r741": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r742": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r743": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r744": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r745": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r746": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r747": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r748": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r749": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org/topic&trid=2208564",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r750": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r751": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r752": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r753": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r754": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r755": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r756": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r757": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r758": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r759": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r760": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r761": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r762": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r763": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r764": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r765": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r766": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r767": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r768": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r769": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r770": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r771": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r772": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r773": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r774": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r775": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r776": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r777": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r778": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r779": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r780": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r781": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r782": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r783": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r784": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r785": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r786": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r787": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r788": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r789": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-07)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187103-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r790": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r791": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124437977&loc=d3e55730-112764",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r792": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r793": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r794": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r795": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r796": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r797": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r798": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r799": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 4.F)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187171-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r800": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r801": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "340",
   "Subparagraph": "(b)",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=99387790&loc=d3e43427-110978",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r802": {
   "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/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r803": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r804": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r805": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r806": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r807": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r808": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r809": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "https://asc.fasb.org/topic&trid=2208762",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r810": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r811": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r812": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r813": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r814": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r815": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569655-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4582445-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "https://asc.fasb.org/topic&trid=2197479",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579240-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41638-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  }
 },
 "version": "2.2"
}
