{
 "instance": {
  "bcsf-20230630.htm": {
   "axisCustom": 0,
   "axisStandard": 34,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2023": 7726,
    "http://xbrl.sec.gov/cef/2023": 1,
    "http://xbrl.sec.gov/dei/2023": 30,
    "http://xbrl.sec.gov/ecd/2023": 4
   },
   "contextCount": 2433,
   "dts": {
    "calculationLink": {
     "local": [
      "bcsf-20230630_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "bcsf-20230630_def.xml"
     ]
    },
    "inline": {
     "local": [
      "bcsf-20230630.htm"
     ]
    },
    "labelLink": {
     "local": [
      "bcsf-20230630_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "bcsf-20230630_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "bcsf-20230630.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/2006/xbrldi-2006.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-roles-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-types-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-roles-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-types-2023.xsd",
      "https://xbrl.sec.gov/cef/2023/cef-2023.xsd",
      "https://xbrl.sec.gov/cef/2023/cef-2023_pre.xsd",
      "https://xbrl.sec.gov/country/2023/country-2023.xsd",
      "https://xbrl.sec.gov/currency/2023/currency-2023.xsd",
      "https://xbrl.sec.gov/dei/2023/dei-2023.xsd",
      "https://xbrl.sec.gov/dei/2023/dei-2023_lab.xsd",
      "https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd",
      "https://xbrl.sec.gov/ecd/2023/ecd-sub-2023.xsd"
     ]
    }
   },
   "elementCount": 1224,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2023": 19,
    "http://www.baincapital.com/20230630": 3,
    "http://xbrl.sec.gov/dei/2023": 4,
    "total": 26
   },
   "keyCustom": 114,
   "keyStandard": 269,
   "memberCustom": 247,
   "memberStandard": 59,
   "nsprefix": "bcsf",
   "nsuri": "http://www.baincapital.com/20230630",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "100000 - Document - Document and Entity Information",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentQuarterlyReport",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a2b8e4c7-d260-4361-8736-c5dddb52dd14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995410 - Disclosure - Pay vs Performance Disclosure",
     "menuCat": "Notes",
     "order": "10",
     "role": "http://xbrl.sec.gov/ecd/role/PvpDisclosure",
     "shortName": "Pay vs Performance Disclosure",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ecd:Rule10b51ArrAdoptedFlag",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995445 - Disclosure - Insider Trading Arrangements",
     "menuCat": "Notes",
     "order": "11",
     "role": "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
     "shortName": "Insider Trading Arrangements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ecd:Rule10b51ArrAdoptedFlag",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995455 - Disclosure - Organization",
     "menuCat": "Notes",
     "order": "12",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganization",
     "shortName": "Organization",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995465 - Disclosure - Summary of Significant Accounting Policies",
     "menuCat": "Notes",
     "order": "13",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies",
     "shortName": "Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityFileNumber",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995470 - Disclosure - N-2",
     "menuCat": "Notes",
     "order": "14",
     "role": "http://xbrl.sec.gov/cef/role/N2",
     "shortName": "N-2",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "lang": "en-US",
      "name": "cef:RiskFactorsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995475 - Disclosure - Investments",
     "menuCat": "Notes",
     "order": "15",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments",
     "shortName": "Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995485 - Disclosure - Fair Value Measurements",
     "menuCat": "Notes",
     "order": "16",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurements",
     "shortName": "Fair Value Measurements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995495 - Disclosure - Related Party Transactions",
     "menuCat": "Notes",
     "order": "17",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactions",
     "shortName": "Related Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995505 - Disclosure - Debt",
     "menuCat": "Notes",
     "order": "18",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt",
     "shortName": "Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995515 - Disclosure - Derivatives",
     "menuCat": "Notes",
     "order": "19",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivatives",
     "shortName": "Derivatives",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - Consolidated Statements of Assets and Liabilities",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities",
     "shortName": "Consolidated Statements of Assets and Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueOfCollateral",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "bcsf:InvestmentCompanyDistributionsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995525 - Disclosure - Distributions",
     "menuCat": "Notes",
     "order": "20",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDistributions",
     "shortName": "Distributions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "bcsf:InvestmentCompanyDistributionsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995535 - Disclosure - Common Stock Capital",
     "menuCat": "Notes",
     "order": "21",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapital",
     "shortName": "Common Stock Capital",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995545 - Disclosure - Commitments and Contingencies",
     "menuCat": "Notes",
     "order": "22",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995555 - Disclosure - Financial Highlights",
     "menuCat": "Notes",
     "order": "23",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlights",
     "shortName": "Financial Highlights",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995565 - Disclosure - Subsequent Events",
     "menuCat": "Notes",
     "order": "24",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995575 - Disclosure - Summary of Significant Accounting Policies (Policies)",
     "menuCat": "Policies",
     "order": "25",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies",
     "shortName": "Summary of Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995585 - Disclosure - Investments (Tables)",
     "menuCat": "Tables",
     "order": "26",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables",
     "shortName": "Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995595 - Disclosure - Fair Value Measurements (Tables)",
     "menuCat": "Tables",
     "order": "27",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsTables",
     "shortName": "Fair Value Measurements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995605 - Disclosure - Related Party Transactions (Tables)",
     "menuCat": "Tables",
     "order": "28",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsTables",
     "shortName": "Related Party Transactions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995615 - Disclosure - Debt (Tables)",
     "menuCat": "Tables",
     "order": "29",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables",
     "shortName": "Debt (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100020 - Statement - Consolidated Statements of Assets and Liabilities (Parenthetical)",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical",
     "shortName": "Consolidated Statements of Assets and Liabilities (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockSharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995625 - Disclosure - Derivatives (Tables)",
     "menuCat": "Tables",
     "order": "30",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesTables",
     "shortName": "Derivatives (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "bcsf:InvestmentCompanyDistributionsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DividendsDeclaredTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995635 - Disclosure - Distributions (Tables)",
     "menuCat": "Tables",
     "order": "31",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDistributionsTables",
     "shortName": "Distributions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "bcsf:InvestmentCompanyDistributionsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DividendsDeclaredTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995645 - Disclosure - Commitments and Contingencies (Tables)",
     "menuCat": "Tables",
     "order": "32",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesTables",
     "shortName": "Commitments and Contingencies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995655 - Disclosure - Financial Highlights (Tables)",
     "menuCat": "Tables",
     "order": "33",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsTables",
     "shortName": "Financial Highlights (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_e526b443-bef5-445f-a4b8-8bfe078d723b",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "bcsf:EarningsBeforeInterestTaxDepreciationAndAmortizationOfMiddleMarketCompanies",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995665 - Disclosure - Organization (Details)",
     "menuCat": "Details",
     "order": "34",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails",
     "shortName": "Organization (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_e526b443-bef5-445f-a4b8-8bfe078d723b",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "bcsf:EarningsBeforeInterestTaxDepreciationAndAmortizationOfMiddleMarketCompanies",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "ix:continuation",
       "span",
       "p",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "bcsf:FinancingReceivableNonAccrualNumberOfLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Loan",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995675 - Disclosure - Summary of Significant Accounting Policies (Details)",
     "menuCat": "Details",
     "order": "35",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
     "shortName": "Summary of Significant Accounting Policies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "ix:continuation",
       "span",
       "p",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "bcsf:FinancingReceivableNonAccrualNumberOfLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Loan",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995685 - Disclosure - Investments - Investment By Type (Details)",
     "menuCat": "Details",
     "order": "36",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
     "shortName": "Investments - Investment By Type (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_5d015450-611f-47a6-aa75-471a8f584b20",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995695 - Disclosure - Investments - Investments By Geographic Region (Details)",
     "menuCat": "Details",
     "order": "37",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails",
     "shortName": "Investments - Investments By Geographic Region (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "bcsf:ScheduleOfInvestmentByGeographicRegionTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_78c766b9-d9cd-4ee7-9529-301963ece2d8",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995705 - Disclosure - Investments - Investments By Industry (Details)",
     "menuCat": "Details",
     "order": "38",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
     "shortName": "Investments - Investments By Industry (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "bcsf:ScheduleOfInvestmentByIndustryTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_8ae132c3-9dc7-4664-b069-cf3e75a35321",
      "decimals": "3",
      "lang": null,
      "name": "bcsf:InvestmentPercentOfPortfolioAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": "1",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentSoldCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995715 - Disclosure - Investments - International Senior Loan Program, LLC (Details)",
     "menuCat": "Details",
     "order": "39",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
     "shortName": "Investments - International Senior Loan Program, LLC (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_f6e40456-47bf-4ed1-aa2b-6296870ac7fe",
      "decimals": "3",
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentOwnershipPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a2b8e4c7-d260-4361-8736-c5dddb52dd14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:GrossInvestmentIncomeOperating",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100030 - Statement - Consolidated Statements of Operations",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations",
     "shortName": "Consolidated Statements of Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a2b8e4c7-d260-4361-8736-c5dddb52dd14",
      "decimals": "-3",
      "lang": null,
      "name": "bcsf:DirectorsFeeExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995725 - Disclosure - Investments - SLP's portfolio (Details)",
     "menuCat": "Details",
     "order": "40",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss",
     "shortName": "Investments - SLP's portfolio (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_e1eb34bc-b930-4367-b4a0-4a4fadaad399",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995735 - Disclosure - Investments - ISLP Schedule of Investments (Details)",
     "menuCat": "Details",
     "order": "41",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
     "shortName": "Investments - ISLP Schedule of Investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "bcsf:InvestmentCompanyNonconsolidatedSubsidiaryInvestmentsTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_93d13955-bb15-4fde-9051-e012e2bd5731",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedBalancePrincipalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_AUD",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a2b8e4c7-d260-4361-8736-c5dddb52dd14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrealizedGainLossOnDerivatives",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995745 - Disclosure - Investments - ISLP Forward Foreign Currency Exchange Contracts (Details)",
     "menuCat": "Details",
     "order": "42",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsDetails",
     "shortName": "Investments - ISLP Forward Foreign Currency Exchange Contracts (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995755 - Disclosure - Investments - ISLP Forward Foreign Currency Exchange Contracts (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "43",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
     "shortName": "Investments - ISLP Forward Foreign Currency Exchange Contracts (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_fde5e0a5-a682-489d-bcc4-df5590080075",
      "decimals": "2",
      "lang": null,
      "name": "bcsf:LoanInterestRateFloorOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995765 - Disclosure - Investments - ISLP Balance Sheet (Details)",
     "menuCat": "Details",
     "order": "44",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
     "shortName": "Investments - ISLP Balance Sheet (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentCompanyNonconsolidatedSubsidiarySummarizedFinancialInformationTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_4b6fdee7-c26d-4de7-a54a-be64d9eab397",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a2b8e4c7-d260-4361-8736-c5dddb52dd14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:GrossInvestmentIncomeOperating",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995775 - Disclosure - Investments - ISLP Statements of Operations (Details)",
     "menuCat": "Details",
     "order": "45",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
     "shortName": "Investments - ISLP Statements of Operations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentCompanyNonconsolidatedSubsidiarySummarizedFinancialInformationTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_59b2c378-e6fd-40b8-9aba-2ede0dc4e776",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestIncomeOperating",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995785 - Disclosure - Investments - SLP (Details)",
     "menuCat": "Details",
     "order": "46",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
     "shortName": "Investments - SLP (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_da25f98c-ab60-450e-a5ad-1f31fedaf0df",
      "decimals": "7",
      "lang": null,
      "name": "us-gaap:DebtInstrumentBasisSpreadOnVariableRate1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995795 - Disclosure - Investments - 2018-1 Notes (Details)",
     "menuCat": "Details",
     "order": "47",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails",
     "shortName": "Investments - 2018-1 Notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_2992ea6d-9d31-475c-a694-57b0b057b535",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995805 - Disclosure - Investments - SLP's portfolio (Details)",
     "menuCat": "Details",
     "order": "48",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
     "shortName": "Investments - SLP's portfolio (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_4a943759-b5fb-4912-b05b-57b21e7b31af",
      "decimals": "3",
      "lang": null,
      "name": "bcsf:InvestmentSecuritiesAverageYield",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995815 - Disclosure - Investments - SLP Schedule of Investments (Details)",
     "menuCat": "Details",
     "order": "49",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
     "shortName": "Investments - SLP Schedule of Investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_66ba485f-2048-4551-abe7-22d48e7af6f1",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentOwnedBalancePrincipalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a2b8e4c7-d260-4361-8736-c5dddb52dd14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentIncomeOperatingAfterExpenseAndTax",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - Consolidated Statements of Changes in Net Assets",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets",
     "shortName": "Consolidated Statements of Changes in Net Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a2b8e4c7-d260-4361-8736-c5dddb52dd14",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995825 - Disclosure - Investments - SLP Schedule of Investments (Parenthetical) (Details)",
     "menuCat": "Details",
     "order": "50",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails",
     "shortName": "Investments - SLP Schedule of Investments (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "bcsf:InvestmentCompanyNonconsolidatedSubsidiaryInvestmentsTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_2992ea6d-9d31-475c-a694-57b0b057b535",
      "decimals": "2",
      "lang": null,
      "name": "bcsf:LoanInterestRateFloorOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995835 - Disclosure - Investments - SLP Balance Sheet (Details)",
     "menuCat": "Details",
     "order": "51",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
     "shortName": "Investments - SLP Balance Sheet (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentCompanyNonconsolidatedSubsidiarySummarizedFinancialInformationTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_2992ea6d-9d31-475c-a694-57b0b057b535",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:Cash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a2b8e4c7-d260-4361-8736-c5dddb52dd14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:GrossInvestmentIncomeOperating",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995845 - Disclosure - Investments - SLP Statement of Operations (Details)",
     "menuCat": "Details",
     "order": "52",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails",
     "shortName": "Investments - SLP Statement of Operations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentCompanyNonconsolidatedSubsidiarySummarizedFinancialInformationTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_d3b9283e-82e8-4c71-a4e7-88e7426560a4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestIncomeOperating",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995855 - Disclosure - Fair Value Measurements - Schedule of investments by fair value hierarchy (Details)",
     "menuCat": "Details",
     "order": "53",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
     "shortName": "Fair Value Measurements - Schedule of investments by fair value hierarchy (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_03c58706-e89f-413f-93ea-1deb56367369",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995865 - Disclosure - Fair Value Measurements - Reconciliation of investments (Details)",
     "menuCat": "Details",
     "order": "54",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
     "shortName": "Fair Value Measurements - Reconciliation of investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995875 - Disclosure - Fair Value Measurements - Significant unobservable inputs and fair value of debt if carried at fair value (Details)",
     "menuCat": "Details",
     "order": "55",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
     "shortName": "Fair Value Measurements - Significant unobservable inputs and fair value of debt if carried at fair value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_6893e168-f1a6-44f3-b8ec-543450a5cf63",
      "decimals": "-3",
      "lang": null,
      "name": "bcsf:FairValueOfLiabilitiesNotReportedAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a2b8e4c7-d260-4361-8736-c5dddb52dd14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ManagementFeeExpense",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995885 - Disclosure - Related Party Transactions - Base Management Fee (Details)",
     "menuCat": "Details",
     "order": "56",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails",
     "shortName": "Related Party Transactions - Base Management Fee (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_b3991ee1-252f-48d0-a787-0487cdbc558a",
      "decimals": "3",
      "lang": null,
      "name": "bcsf:RelatedPartyTransactionBaseManagementFeeAnnualPercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "bcsf:IncentiveFeeNumberOfComponents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Item",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995895 - Disclosure - Related Party Transactions - Incentive Fee (Details)",
     "menuCat": "Details",
     "order": "57",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails",
     "shortName": "Related Party Transactions - Incentive Fee (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "bcsf:IncentiveFeeNumberOfComponents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Item",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_00a5161b-2332-40b3-9a24-0df971a37d02",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AdministrativeFeesExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995905 - Disclosure - Related Party Transactions - Administration Agreement (Details)",
     "menuCat": "Details",
     "order": "58",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails",
     "shortName": "Related Party Transactions - Administration Agreement (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_00a5161b-2332-40b3-9a24-0df971a37d02",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AdministrativeFeesExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_bdf20fab-7f0c-48ed-9941-e43037b76410",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "bcsf:ResourceSharingAgreement",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995915 - Disclosure - Related Party Transactions - Resource Sharing Agreement (Details)",
     "menuCat": "Details",
     "order": "59",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsResourceSharingAgreementDetails",
     "shortName": "Related Party Transactions - Resource Sharing Agreement (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_bdf20fab-7f0c-48ed-9941-e43037b76410",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "bcsf:ResourceSharingAgreement",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100050 - Statement - Consolidated Statements of Cash Flows",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
     "shortName": "Consolidated Statements of Cash Flows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:PaymentsForPurchaseOfInvestmentOperatingActivity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_f6a3c8de-66b1-40dd-a7b7-1ef680606152",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995925 - Disclosure - Related Party Transactions - Revolving Advisor Loan (Details)",
     "menuCat": "Details",
     "order": "60",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRevolvingAdvisorLoanDetails",
     "shortName": "Related Party Transactions - Revolving Advisor Loan (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_b5eb66b2-a7a6-4b73-a4ed-ba7c1ec607e2",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_9f41ffb0-c1e5-4a8d-9acd-c9aa3066f4bd",
      "decimals": "1",
      "first": true,
      "lang": null,
      "name": "bcsf:SharesHeldByRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995935 - Disclosure - Related Party Transactions - Related Party Commitments (Details)",
     "menuCat": "Details",
     "order": "61",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRelatedPartyCommitmentsDetails",
     "shortName": "Related Party Transactions - Related Party Commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_9f41ffb0-c1e5-4a8d-9acd-c9aa3066f4bd",
      "decimals": "1",
      "first": true,
      "lang": null,
      "name": "bcsf:SharesHeldByRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_03c58706-e89f-413f-93ea-1deb56367369",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995945 - Disclosure - Related Party Transactions - Non-Controlled Affiliate and Controlled Affiliate Investments (Details)",
     "menuCat": "Details",
     "order": "62",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
     "shortName": "Related Party Transactions - Non-Controlled Affiliate and Controlled Affiliate Investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_682e5ca8-eb5a-41fe-88ee-3874b4e8b4b6",
      "decimals": "-3",
      "lang": null,
      "name": "bcsf:InvestmentOwnedGrossAdditions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_5b0ca858-e9b3-4863-b281-17b40d14c4c3",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "bcsf:ThresholdAssetCoverageRatioRequirementForBorrowingsPercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995955 - Disclosure - Debt (Details)",
     "menuCat": "Details",
     "order": "63",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails",
     "shortName": "Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_5b0ca858-e9b3-4863-b281-17b40d14c4c3",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "bcsf:ThresholdAssetCoverageRatioRequirementForBorrowingsPercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995965 - Disclosure - Debt - Outstanding borrowings (Details)",
     "menuCat": "Details",
     "order": "64",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails",
     "shortName": "Debt - Outstanding borrowings (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_695695fc-97ca-4408-a287-71df07bd4661",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturingInYearsTwoAndThree",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995975 - Disclosure - Debt - Maturities of debt obligations (Details)",
     "menuCat": "Details",
     "order": "65",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails",
     "shortName": "Debt - Maturities of debt obligations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturingInYearsTwoAndThree",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_d8ffc880-7b69-494e-acb8-12ad76d637b4",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "bcsf:DebtSecuritizationAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995985 - Disclosure - Debt - 2018-1 Notes (Details)",
     "menuCat": "Details",
     "order": "66",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
     "shortName": "Debt - 2018-1 Notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_d8ffc880-7b69-494e-acb8-12ad76d637b4",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "bcsf:DebtSecuritizationAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "bcsf:ScheduleOfComponentsOfInterestExpenseTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_fe1e50eb-85f8-4bb2-92eb-88edcd8157a9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "995995 - Disclosure - Debt - Interest expense on 2018-1 Notes (Details)",
     "menuCat": "Details",
     "order": "67",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20181NotesDetails",
     "shortName": "Debt - Interest expense on 2018-1 Notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "bcsf:ScheduleOfComponentsOfInterestExpenseTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_fe1e50eb-85f8-4bb2-92eb-88edcd8157a9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996005 - Disclosure - Debt - 2019 1 Debt (Details)",
     "menuCat": "Details",
     "order": "68",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
     "shortName": "Debt - 2019 1 Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_5f915589-4021-468b-b989-062df1ed1aba",
      "decimals": "0",
      "lang": null,
      "name": "bcsf:NumberOfInvestmentsSecuredAsCollateral",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Loan",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996015 - Disclosure - Debt - Schedule of 2019 1 Debt (Details)",
     "menuCat": "Details",
     "order": "69",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails",
     "shortName": "Debt - Schedule of 2019 1 Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_aed658a8-ac35-49be-9329-8efd39377e3d",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentTableTextBlock",
       "div",
       "us-gaap:InvestmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentOwnedAtCost",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100060 - Statement - Consolidated Schedule of Investments",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
     "shortName": "Consolidated Schedule of Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_03c58706-e89f-413f-93ea-1deb56367369",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:EquitySecuritiesFvNiRestricted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "bcsf:ScheduleOfComponentsOfInterestExpenseTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_11c98bc0-a713-4644-89e6-9197704c5815",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996025 - Disclosure - Debt - Interest expense on 2019-1 Debt (Details)",
     "menuCat": "Details",
     "order": "70",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20191DebtDetails",
     "shortName": "Debt - Interest expense on 2019-1 Debt (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "bcsf:ScheduleOfComponentsOfInterestExpenseTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_11c98bc0-a713-4644-89e6-9197704c5815",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_f6a3c8de-66b1-40dd-a7b7-1ef680606152",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996035 - Disclosure - Debt - Revolving advisor loan (Details)",
     "menuCat": "Details",
     "order": "71",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtRevolvingAdvisorLoanDetails",
     "shortName": "Debt - Revolving advisor loan (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996045 - Disclosure - Debt - 2023 notes (Details)",
     "menuCat": "Details",
     "order": "72",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
     "shortName": "Debt - 2023 notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_b59ca005-113c-4c4b-8062-86b533ee9608",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996055 - Disclosure - Debt - 2023 notes Interest expense and carrying value (Details)",
     "menuCat": "Details",
     "order": "73",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
     "shortName": "Debt - 2023 notes Interest expense and carrying value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "bcsf:ScheduleOfComponentsOfInterestExpenseTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_86049005-60dd-481b-bbbb-ea7a33e7c523",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996065 - Disclosure - Debt - March 2026 notes (Details)",
     "menuCat": "Details",
     "order": "74",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesDetails",
     "shortName": "Debt - March 2026 notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_3ec99ce2-6e01-48d1-b479-8e36e3e9f796",
      "decimals": "4",
      "lang": null,
      "name": "us-gaap:DebtInstrumentInterestRateStatedPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996075 - Disclosure - Debt - March 2026 notes Interest expense and carrying value (Details)",
     "menuCat": "Details",
     "order": "75",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
     "shortName": "Debt - March 2026 notes Interest expense and carrying value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "bcsf:ScheduleOfCarryingValuesOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a395da9b-74b3-4edd-8126-a168fe585ebb",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DeferredFinanceCostsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996085 - Disclosure - Debt - October 2026 notes (Details)",
     "menuCat": "Details",
     "order": "76",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesDetails",
     "shortName": "Debt - October 2026 notes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_01e50b8a-01b0-4fe8-a1a2-2651f0e8ae4c",
      "decimals": "4",
      "lang": null,
      "name": "us-gaap:DebtInstrumentInterestRateStatedPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996095 - Disclosure - Debt - October 2026 notes Interest expense and carrying value (Details)",
     "menuCat": "Details",
     "order": "77",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
     "shortName": "Debt - October 2026 notes Interest expense and carrying value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "bcsf:ScheduleOfCarryingValuesOfDebtTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_6a8ecd3f-9166-4241-a690-21ec5662fbc4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DeferredFinanceCostsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_f383df04-9f6f-4f56-a347-d48e7e40ad35",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996105 - Disclosure - Debt - Sumitomo Credit Facility (Details)",
     "menuCat": "Details",
     "order": "78",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
     "shortName": "Debt - Sumitomo Credit Facility (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_f383df04-9f6f-4f56-a347-d48e7e40ad35",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AmortizationOfDebtDiscountPremium",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996115 - Disclosure - Debt - Sumitomo Credit Facility Interest expense (Details)",
     "menuCat": "Details",
     "order": "79",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityInterestExpenseDetails",
     "shortName": "Debt - Sumitomo Credit Facility Interest expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "bcsf:ScheduleOfComponentsOfInterestExpenseTableTextBlock",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_5e088a1c-7557-4c2b-98ef-e8e4521e4647",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a2b8e4c7-d260-4361-8736-c5dddb52dd14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrealizedGainLossOnDerivatives",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100070 - Statement - Consolidated Schedule of Investments - Forward Foreign Currency Exchange Contracts",
     "menuCat": "Statements",
     "order": "8",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts",
     "shortName": "Consolidated Schedule of Investments - Forward Foreign Currency Exchange Contracts",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_c3d9eebb-2d20-4399-86fa-955a018b56ef",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilityFairValueOfCollateral",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996125 - Disclosure - Derivatives (Details)",
     "menuCat": "Details",
     "order": "80",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesDetails",
     "shortName": "Derivatives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_dba5d74f-10f8-488b-9284-9d7368c4fab9",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DerivativeLiabilityFairValueOfCollateral",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_bb7bd16b-56de-4d48-a8ab-ac7fa94772d9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996135 - Disclosure - Derivatives - Offset of assets and liabilities (Details)",
     "menuCat": "Details",
     "order": "81",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails",
     "shortName": "Derivatives - Offset of assets and liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_bb7bd16b-56de-4d48-a8ab-ac7fa94772d9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_a2b8e4c7-d260-4361-8736-c5dddb52dd14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrealizedGainLossOnDerivatives",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996145 - Disclosure - Derivatives - Effect of transactions (Details)",
     "menuCat": "Details",
     "order": "82",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails",
     "shortName": "Derivatives - Effect of transactions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_50dfd155-a5d3-4c02-bd88-ce0b8ee101ee",
      "decimals": "-3",
      "lang": null,
      "name": "bcsf:RealizedGainLossOnDerivatives",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DividendsDeclaredTableTextBlock",
       "div",
       "bcsf:InvestmentCompanyDistributionsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_59d3a07b-c00c-47b9-85fa-797c224dc2fc",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentCompanyDistributionToShareholdersPerShare",
      "reportCount": 1,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996155 - Disclosure - Distributions (Details)",
     "menuCat": "Details",
     "order": "83",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDistributionsDetails",
     "shortName": "Distributions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DividendsDeclaredTableTextBlock",
       "div",
       "bcsf:InvestmentCompanyDistributionsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_59d3a07b-c00c-47b9-85fa-797c224dc2fc",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InvestmentCompanyDividendDistribution",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996165 - Disclosure - Common Stock Capital (Details)",
     "menuCat": "Details",
     "order": "84",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
     "shortName": "Common Stock Capital (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_6dae8ae4-c028-441c-8886-a44e0fa4c1d5",
      "decimals": null,
      "lang": "en-US",
      "name": "bcsf:SharesIssueDrawdownNoticePeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockRepurchasedDuringPeriodShares",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996175 - Disclosure - Common Stock Capital - Shares issued and amount received (Details)",
     "menuCat": "Details",
     "order": "85",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalSharesIssuedAndAmountReceivedDetails",
     "shortName": "Common Stock Capital - Shares issued and amount received (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnusedCommitmentsToExtendCredit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996185 - Disclosure - Commitments and Contingencies - Summary of Unfunded Commitments under Loan and Financing Agreements (Details)",
     "menuCat": "Details",
     "order": "86",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails",
     "shortName": "Commitments and Contingencies - Summary of Unfunded Commitments under Loan and Financing Agreements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnusedCommitmentsToExtendCredit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_03c58706-e89f-413f-93ea-1deb56367369",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetAssetValuePerShare",
      "reportCount": 1,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "996195 - Disclosure - Financial Highlights (Details)",
     "menuCat": "Details",
     "order": "87",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails",
     "shortName": "Financial Highlights (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentCompanyFinancialHighlightsTableTextBlock",
       "div",
       "us-gaap:InvestmentCompanyFinancialHighlightsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_81353f0c-b897-44d7-99f5-0cf249ec6f6a",
      "decimals": "1",
      "lang": null,
      "name": "us-gaap:InvestmentCompanyInvestmentIncomeLossPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsNet",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100080 - Statement - Consolidated Schedule of Investments - Forward Foreign Currency Exchange Contracts (Parenthetical)",
     "menuCat": "Statements",
     "order": "9",
     "role": "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical",
     "shortName": "Consolidated Schedule of Investments - Forward Foreign Currency Exchange Contracts (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "bcsf-20230630.htm",
      "contextRef": "C_05e38760-c482-4753-96e4-d76ffa772d93",
      "decimals": "4",
      "lang": null,
      "name": "bcsf:LoanInterestRateFloorSeven",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 312,
   "tag": {
    "bcsf_AAndRLogisticsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to A&amp;R Logistics, Inc.",
        "label": "A And R Logistics Inc [Member]",
        "terseLabel": "A&amp;R Logistics, Inc [Member]"
       }
      }
     },
     "localname": "AAndRLogisticsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ACAMSMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ACAMS.",
        "label": "ACAMS [Member]"
       }
      }
     },
     "localname": "ACAMSMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AMCPCleanAcquisitionCompanyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AMCP Clean Acquisition Company LLC.",
        "label": "AMCP Clean Acquisition Company LLC [Member]"
       }
      }
     },
     "localname": "AMCPCleanAcquisitionCompanyLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AMIUSHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AMIUS Holdings Inc.",
        "label": "AMIUS Holdings Inc [Member]"
       }
      }
     },
     "localname": "AMIUSHoldingsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AQSoftwareCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AQ Software Corporation.",
        "label": "AQ Software Corporation [Member]"
       }
      }
     },
     "localname": "AQSoftwareCorporationMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ARLHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ARL Holdings LLC.",
        "label": "ARL Holdings LLC [Member]",
        "terseLabel": "ARL Holdings LLC [Member]"
       }
      }
     },
     "localname": "ARLHoldingsLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ARLogisticsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AR Logistics Inc.",
        "label": "AR Logistics Inc [Member]"
       }
      }
     },
     "localname": "ARLogisticsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AbraconGroupHoldingLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Abracon Group Holding, LLC.",
        "label": "Abracon Group Holding, LLC [Member]",
        "terseLabel": "Abracon Group Holding, LLC [Member]"
       }
      }
     },
     "localname": "AbraconGroupHoldingLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AccessMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Access.",
        "label": "Access [Member]",
        "terseLabel": "Access [Member]"
       }
      }
     },
     "localname": "AccessMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AdministrativeFeesPayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of the unpaid portion of the fee payable for administrative services.",
        "label": "Administrative Fees Payable",
        "terseLabel": "Expenses payable"
       }
      }
     },
     "localname": "AdministrativeFeesPayable",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_AdministratorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents  the information pertaining to Administrator",
        "label": "Administrator [Member]",
        "terseLabel": "Administrator"
       }
      }
     },
     "localname": "AdministratorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AdtPizzaLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to ADT Pizza, LLC.",
        "label": "ADT Pizza, LLC [Member]",
        "terseLabel": "ADT Pizza, LLC"
       }
      }
     },
     "localname": "AdtPizzaLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AerospaceAndDefenseSectorControlledAffiliateInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aerospace and defense sector controlled affiliate investments.",
        "label": "Aerospace and Defense Sector Controlled Affiliate Investments [Member]",
        "terseLabel": "Aerospace and Defense Sector Controlled Affiliate Investments [Member]"
       }
      }
     },
     "localname": "AerospaceAndDefenseSectorControlledAffiliateInvestmentsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AerospaceAndDefenseSectorControlledAffiliatedInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to aerospace and defense sector.",
        "label": "Aerospace and Defense Sector Controlled Affiliated Investments [Member]"
       }
      }
     },
     "localname": "AerospaceAndDefenseSectorControlledAffiliatedInvestmentsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AerospaceAndDefenseSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to aerospace and defense sector.",
        "label": "Aerospace &amp; Defense"
       }
      }
     },
     "localname": "AerospaceAndDefenseSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AerospaceAndDefenseSectorNonControlledAffiliatedInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to aerospace and defense sector.",
        "label": "Aerospace and Defense Sector Non Controlled Affiliated Investments [Member]"
       }
      }
     },
     "localname": "AerospaceAndDefenseSectorNonControlledAffiliatedInvestmentsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AffiliateOfBCSFAdvisorsLpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to affiliate of BCSF Advisors, LP.",
        "label": "Affiliate of B C S F Advisors, LP [Member]",
        "terseLabel": "Investors"
       }
      }
     },
     "localname": "AffiliateOfBCSFAdvisorsLpMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRelatedPartyCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AimbridgeAcquisitionCoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aimbridge Acquisition Co Inc.",
        "label": "Aimbridge Acquisition Co Inc [Member]"
       }
      }
     },
     "localname": "AimbridgeAcquisitionCoIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AllworthFinancialGroupLpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Allworth Financial Group, L.P.",
        "label": "Allworth Financial Group Lp [Member]",
        "terseLabel": "Allworth Financial Group, L.P [Member]"
       }
      }
     },
     "localname": "AllworthFinancialGroupLpMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AlternateBaseRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to alternate base rate.",
        "label": "Alternate Base Rate [Member]",
        "terseLabel": "Alternate base rate"
       }
      }
     },
     "localname": "AlternateBaseRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AmberstoneCo.Ltd.Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Amberstone Co., Ltd. (\"Amberstone\").",
        "label": "Amberstone Co., Ltd. [Member]",
        "terseLabel": "Amberstone Co., Ltd."
       }
      }
     },
     "localname": "AmberstoneCo.Ltd.Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AmcpCleanAcquistionCompanyLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AMCP clean acquistion company, LLC.",
        "label": "AMCP Clean Acquistion Company, LLC [Member]"
       }
      }
     },
     "localname": "AmcpCleanAcquistionCompanyLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AmericanTrailerRentalGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "American Trailer Rental Group.",
        "label": "American Trailer Rental Group [Member]",
        "terseLabel": "American Trailer Rental Group"
       }
      }
     },
     "localname": "AmericanTrailerRentalGroupMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AmortizationOfDeferredFinancingCostsAndUpfrontCommitmentFees": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt issuance costs and upfront commitment fee.",
        "label": "Amortization of Deferred Financing Costs and Upfront Commitment Fees",
        "terseLabel": "Amortization of deferred financing costs and upfront commitment fees"
       }
      }
     },
     "localname": "AmortizationOfDeferredFinancingCostsAndUpfrontCommitmentFees",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20191DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_AmspecServicesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Amspec Services, Inc.",
        "label": "Amspec Services Inc [Member]",
        "terseLabel": "Amspec Services, Inc [Member]"
       }
      }
     },
     "localname": "AmspecServicesIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AnsettAviationTrainingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ansett Aviation Training [Member]",
        "label": "Ansett Aviation Training"
       }
      }
     },
     "localname": "AnsettAviationTrainingMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AnsiraHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Ansira Holdings, Inc.",
        "label": "Ansira Holdings Inc [Member]",
        "terseLabel": "Ansira Holdings, Inc [Member]"
       }
      }
     },
     "localname": "AnsiraHoldingsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AnsiraHoldingsNewDdTLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ansira holdings new DD T L.",
        "label": "Ansira Holdings New DD T L [Member]",
        "terseLabel": "Ansira Holdings New DD T/L [Member]"
       }
      }
     },
     "localname": "AnsiraHoldingsNewDdTLMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ApPlasticsGroupLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ap Plastics Group Llc.",
        "label": "Ap Plastics Group Llc [Member]"
       }
      }
     },
     "localname": "ApPlasticsGroupLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ApolloIntelligenceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Apollo Intelligence.",
        "label": "Apollo Intelligence [Member]",
        "terseLabel": "Apollo Intelligence [Member]"
       }
      }
     },
     "localname": "ApolloIntelligenceMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ApplitoolsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Applitools.",
        "label": "Applitools [Member]",
        "terseLabel": "Applitools [Member]"
       }
      }
     },
     "localname": "ApplitoolsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ApprissHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Appriss Holdings, Inc.",
        "label": "Appriss Holdings Inc [Member]",
        "terseLabel": "Appriss Holdings, Inc [Member]"
       }
      }
     },
     "localname": "ApprissHoldingsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_Aptus1724GmbhMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aptus 1724 gmbh.",
        "label": "Aptus 1724 Gmbh [Member]"
       }
      }
     },
     "localname": "Aptus1724GmbhMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AramscoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Aramsco, Inc.",
        "label": "Aramsco Inc [Member]",
        "terseLabel": "Aramsco, Inc [Member]"
       }
      }
     },
     "localname": "AramscoIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ArcticGlacierUSAIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Arctic Glacier USA Inc.",
        "label": "Arctic Glacier U.S.A. Inc [Member]",
        "terseLabel": "Arctic Glacier USA Inc [Member]"
       }
      }
     },
     "localname": "ArcticGlacierUSAIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ArmorGroupLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Armor Group LP.",
        "label": "Armor Group LP [Member]"
       }
      }
     },
     "localname": "ArmorGroupLPMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AsprPacAcquisitionCoLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to ASP-r-pac Acquisition Co LLC.",
        "label": "Aspr Pac Acquisition Co LLC [Member]",
        "terseLabel": "ASP-r-pac Acquisition Co LLC [Member]"
       }
      }
     },
     "localname": "AsprPacAcquisitionCoLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AssetCoverageRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of asset coverage ratio.",
        "label": "Asset Coverage Ratio",
        "terseLabel": "Asset coverage ratio (in percent)"
       }
      }
     },
     "localname": "AssetCoverageRatio",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_AssetCoverageRatioBelow200PercentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to assets coverage ratio below 200%.",
        "label": "Asset Coverage Ratio Below 200 Percent [Member]",
        "terseLabel": "Amended Advisory Agreement"
       }
      }
     },
     "localname": "AssetCoverageRatioBelow200PercentMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AssetCoverageRatioEqualTo200PercentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to assets coverage ratio down to 200%.",
        "label": "Asset Coverage Ratio Equal to 200 Percent [Member]",
        "terseLabel": "Prior Advisory Agreement"
       }
      }
     },
     "localname": "AssetCoverageRatioEqualTo200PercentMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_AvalonAcquirorIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Avalon Acquiror, Inc.",
        "label": "Avalon Acquiror, Inc [Member]",
        "terseLabel": "Avalon Acquiror, Inc [Member]"
       }
      }
     },
     "localname": "AvalonAcquirorIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BCSFAdvisorsLpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to BCSF Advisors, LP.",
        "label": "B C S F Advisors, LP [Member]",
        "terseLabel": "Advisor"
       }
      }
     },
     "localname": "BCSFAdvisorsLpMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRelatedPartyCommitmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsResourceSharingAgreementDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRevolvingAdvisorLoanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BainCapitalSeniorLoanProgramLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bain Capital Senior Loan Program L L C [Member]",
        "label": "Bain Capital Senior Loan Program, LLC"
       }
      }
     },
     "localname": "BainCapitalSeniorLoanProgramLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BainCapitalSeniorLoanProgramLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Bain Capital Senior Loan Program, LLC.",
        "label": "Bain Capital Senior Loan Program, LLC [Member]",
        "terseLabel": "Bain Capital Senior Loan Program, LLC",
        "verboseLabel": "Bain Capital Senior Loan Program, LLC"
       }
      }
     },
     "localname": "BainCapitalSeniorLoanProgramLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BankBillSwapBidRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank bill swap bid rate.",
        "label": "Bank Bill Swap Bid Rate [Member]"
       }
      }
     },
     "localname": "BankBillSwapBidRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BankBillSwapRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank bill swap rate.",
        "label": "Bank Bill Swap Rate [Member]"
       }
      }
     },
     "localname": "BankBillSwapRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BankOfNewYorkMellonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank Of New York Mellon.",
        "label": "Bank Of New York Mellon [Member]",
        "terseLabel": "Bank Of New York Mellon"
       }
      }
     },
     "localname": "BankOfNewYorkMellonMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BankOfNewYorkMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Bank of New York.",
        "label": "Bank Of New York [Member]",
        "terseLabel": "Bank of New York"
       }
      }
     },
     "localname": "BankOfNewYorkMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BankingFinanceInsuranceAndRealEstateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Banking Finance Insurance and Real Estate.",
        "label": "Banking Finance Insurance And Real Estate [Member]"
       }
      }
     },
     "localname": "BankingFinanceInsuranceAndRealEstateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BankingFinanceInsuranceAndRealEstateSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Banking Finance Insurance And Real Estate Sector [Member]"
       }
      }
     },
     "localname": "BankingFinanceInsuranceAndRealEstateSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BatteriesPlusHoldingCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Batteries Plus Holding Corporation.",
        "label": "Batteries Plus Holding Corporation [Member]",
        "terseLabel": "Batteries Plus Holding Corporation [Member]"
       }
      }
     },
     "localname": "BatteriesPlusHoldingCorporationMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BccJetstreamHoldingsAviationOffILlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to BCC Jetstream Holdings Aviation (Off I), LLC.",
        "label": "BCC Jetstream Holdings Aviation Off I LLC [Member]",
        "terseLabel": "BCC Jetstream Holdings Aviation (Off I), LLC"
       }
      }
     },
     "localname": "BccJetstreamHoldingsAviationOffILlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BccJetstreamHoldingsAviationOnIiLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to BCC Jetstream Holdings Aviation (On II), LLC.",
        "label": "BCC Jetstream Holdings Aviation On II, LLC [Member]",
        "terseLabel": "BCC Jetstream Holdings Aviation (On II), LLC"
       }
      }
     },
     "localname": "BccJetstreamHoldingsAviationOnIiLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BccMiddleMarketClo20181LlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to BCC Middle Market CLO 2018 1 LLC.",
        "label": "BCC Middle Market CLO 20181 LLC [Member]",
        "terseLabel": "BCC Middle Market CLO 20181 LLC"
       }
      }
     },
     "localname": "BccMiddleMarketClo20181LlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BccMiddleMarketClo2018LlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "BCC Middle Market CLO 2018 LLC [Member]",
        "label": "BCC Middle Market CLO 2018 LLC [Member]",
        "terseLabel": "BCC Middle Market CLO 20181 LLC"
       }
      }
     },
     "localname": "BccMiddleMarketClo2018LlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BccMiddleMarketClo2019LlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bcc middle market CLO 2019 LLc.",
        "label": "Bcc Middle Market CLO 2019 LLc Member",
        "terseLabel": "BCC Middle Market CLO 2019"
       }
      }
     },
     "localname": "BccMiddleMarketClo2019LlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BcsfAdvisorsLpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to BCSF Advisors, LP.",
        "label": "BCSF Advisors, LP [Member]",
        "terseLabel": "BCSF Advisors, LP [Member]"
       }
      }
     },
     "localname": "BcsfAdvisorsLpMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BeverageFoodAndTobaccoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to beverage, food and tobacco.",
        "label": "Beverage Food and Tobacco [Member]",
        "terseLabel": "Beverage Food and Tobacco"
       }
      }
     },
     "localname": "BeverageFoodAndTobaccoMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BeverageFoodAndTobaccoSectorNonControlledAffiliateInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related beverage, food and tobacco non-controlled affiliate investments..",
        "label": "Beverage Food And Tobacco Sector Non-controlled Affiliate Investments [Member]"
       }
      }
     },
     "localname": "BeverageFoodAndTobaccoSectorNonControlledAffiliateInvestmentsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BeverageFoodandTobaccoSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Beverage Food and Tobacco. [Member]",
        "verboseLabel": "Beverage Food and Tobacco"
       }
      }
     },
     "localname": "BeverageFoodandTobaccoSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BlackbrushOilGasL.pMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Blackbrush Oil &amp; Gas, L.P.",
        "label": "Blackbrush Oil &amp; Gas, L.P [Member]",
        "terseLabel": "Blackbrush Oil &amp; Gas, L.P"
       }
      }
     },
     "localname": "BlackbrushOilGasL.pMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BlackbrushOilGasLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Blackbrush Oil Gas LP.",
        "label": "Blackbrush Oil Gas LP [Member]"
       }
      }
     },
     "localname": "BlackbrushOilGasLPMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BorrowingBaseEqualToOrGreaterThanProductOf1.60AndRevolvingCreditExposureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The scenario under which the borrowing base is equal to or greater than the product of 1.60 and the revolving credit exposure.",
        "label": "Borrowing Base Equal to Or Greater Than Product of 1.60 and Revolving Credit Exposure [Member]",
        "terseLabel": "Borrowing base is equal to or greater than the product of 1.60"
       }
      }
     },
     "localname": "BorrowingBaseEqualToOrGreaterThanProductOf1.60AndRevolvingCreditExposureMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BorrowingBaseLessThanProductOf1.60AndRevolvingCreditExposureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The scenario under which the borrowing base is less than the product of 1.60 and the revolving credit exposure.",
        "label": "Borrowing Base Less Than Product of 1.60 and Revolving Credit Exposure [Member]",
        "terseLabel": "Borrowing base is less than the product of 1.60"
       }
      }
     },
     "localname": "BorrowingBaseLessThanProductOf1.60AndRevolvingCreditExposureMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BritishPoundSterlingLondonInterbankOfferedRateLiborMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "British pound sterling london inter bank offered rate libor.",
        "label": "British Pound Sterling London Inter Bank Offered Rate Libor [Member]"
       }
      }
     },
     "localname": "BritishPoundSterlingLondonInterbankOfferedRateLiborMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_BrookBidcoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Brook Bidco.",
        "label": "Brook Bidco [Member]"
       }
      }
     },
     "localname": "BrookBidcoMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CBNikeIntermediateCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to CB Nike IntermediateCo Ltd.",
        "label": "C B Nike Intermediate Co Ltd [Member]",
        "terseLabel": "CB Nike IntermediateCo Ltd [Member]"
       }
      }
     },
     "localname": "CBNikeIntermediateCoLtdMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CBTitanHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cb titan holdings Inc..",
        "label": "CB Titan Holdings Inc. [Member]"
       }
      }
     },
     "localname": "CBTitanHoldingsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CPSGroupHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to CPS Group Holdings, Inc.",
        "label": "C P S Group Holdings, Inc [Member]",
        "terseLabel": "CPS Group Holdings, Inc [Member]"
       }
      }
     },
     "localname": "CPSGroupHoldingsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CanadianDollarOfferedRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Canadian dollar offered rate.",
        "label": "Canadian Dollar Offered Rate [Member]"
       }
      }
     },
     "localname": "CanadianDollarOfferedRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CapitalContributionReceivable": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of capital contributions receivable as at the balance sheet date.",
        "label": "Capital Contribution Receivable",
        "terseLabel": "Capital contributions receivable"
       }
      }
     },
     "localname": "CapitalContributionReceivable",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_CapitalEquipmentSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related capital equipment.",
        "label": "Capital Equipment"
       }
      }
     },
     "localname": "CapitalEquipmentSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CardoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cardo.",
        "label": "Cardo [Member]"
       }
      }
     },
     "localname": "CardoMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CaribouBidcoLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Caribou Bidco Limited.",
        "label": "Caribou Bidco Limited [Member]",
        "terseLabel": "Caribou Bidco Limited [Member]"
       }
      }
     },
     "localname": "CaribouBidcoLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CashAndCashEquivalentsHeldInForeignCurrency": {
     "auth_ref": [],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents held in foreign currency.",
        "label": "Cash and Cash Equivalents Held in Foreign Currency",
        "verboseLabel": "Foreign cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsHeldInForeignCurrency",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_CashSecuredAsCollateral": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash secured as collateral.",
        "label": "Cash Secured As Collateral",
        "terseLabel": "Cash secured as collateral"
       }
      }
     },
     "localname": "CashSecuredAsCollateral",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_CatchUpAmountPercentMultipliedToNav": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage multiplied to NAV for catch up amount calculation.",
        "label": "Catch Up Amount, Percent Multiplied To NAV",
        "terseLabel": "Percentage multiplied to NAV for catch up amount calculation"
       }
      }
     },
     "localname": "CatchUpAmountPercentMultipliedToNav",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_ChamberBidcoLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chamber Bidco Limited.",
        "label": "Chamber Bidco Limited [Member]"
       }
      }
     },
     "localname": "ChamberBidcoLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ChangesInOperatingAssetsAndLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Changes in operating assets and liabilities.",
        "label": "Changes in Operating Assets and Liabilities",
        "negatedLabel": "Changes in operating assets and liabilities"
       }
      }
     },
     "localname": "ChangesInOperatingAssetsAndLiabilities",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_ChaseIndustriesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chase Industries Inc.",
        "label": "Chase Industries Inc [Member]"
       }
      }
     },
     "localname": "ChaseIndustriesIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ChemicalsPlasticsAndRubberMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related chemicals, plastics and rubber.",
        "label": "Chemicals, Plastics and Rubber [Member]",
        "terseLabel": "Chemicals, Plastics &amp; Rubber"
       }
      }
     },
     "localname": "ChemicalsPlasticsAndRubberMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CitibankMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Citibank.",
        "label": "Citibank [Member]",
        "terseLabel": "Citibank"
       }
      }
     },
     "localname": "CitibankMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_Class2RSeniorSecuredFloatingRateNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Class A2R senior secured floating rate notes.",
        "label": "Class A 2 R Senior Secured Floating Rate Notes [Member]",
        "terseLabel": "Class A2R senior secured floating rate notes"
       }
      }
     },
     "localname": "Class2RSeniorSecuredFloatingRateNotesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ClassBTwoZeroOneEightOneNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Class B, 2018-1 Notes.",
        "label": "Class B Two Zero One Eight - One Notes [Member]",
        "terseLabel": "Class B"
       }
      }
     },
     "localname": "ClassBTwoZeroOneEightOneNotesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ClassCTwoZeroOneEightOneNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Class C, 2018-1 Notes.",
        "label": "Class C Two Zero One Eight - One Notes [Member]",
        "terseLabel": "Class C"
       }
      }
     },
     "localname": "ClassCTwoZeroOneEightOneNotesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_Classa1rSeniorSecuredFloatingRateNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Class A1R senior secured floating rate notes.",
        "label": "Class A1R Senior Secured Floating Rate Notes [Member]",
        "terseLabel": "Class A1R senior secured floating rate notes"
       }
      }
     },
     "localname": "Classa1rSeniorSecuredFloatingRateNotesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ClassaOneBTwoZeroOneEightOneNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Class A-1 B, 2018-1 Notes.",
        "label": "ClassA - One B, Two Zero One Eight - One Notes [Member]",
        "terseLabel": "Class A-1 B"
       }
      }
     },
     "localname": "ClassaOneBTwoZeroOneEightOneNotesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ClassaOneaTwoZeroOneEightOneNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Class A-1 A, 2018-1 Notes.",
        "label": "ClassA - OneA, Two Zero One Eight - One Notes [Member]",
        "terseLabel": "Class A-1 A"
       }
      }
     },
     "localname": "ClassaOneaTwoZeroOneEightOneNotesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ClassaTwoTwoZeroOneEightOneNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Class A-2, 2018-1 Notes.",
        "label": "ClassA - Two, Two Zero One Eight - One Notes [Member]",
        "terseLabel": "Class A-2"
       }
      }
     },
     "localname": "ClassaTwoTwoZeroOneEightOneNotesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ClassbRSeniorDeferrableFloatingRateNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Class BR senior deferrable floating rate notes.",
        "label": "Class B-R Senior Deferrable Floating Rate Notes [Member]",
        "terseLabel": "Class BR senior deferrable floating rate notes"
       }
      }
     },
     "localname": "ClassbRSeniorDeferrableFloatingRateNotesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ClasscRSeniorDeferrableFloatingRateNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Class CR senior deferrable floating rate notes.",
        "label": "Class C-R Senior Deferrable Floating Rate Notes [Member]",
        "terseLabel": "Class CR senior deferrable floating rate notes"
       }
      }
     },
     "localname": "ClasscRSeniorDeferrableFloatingRateNotesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ClockSpringMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ClockSpring.",
        "label": "ClockSpring [Member]"
       }
      }
     },
     "localname": "ClockSpringMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CloudTechnologySolutionsCtsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Cloud Technology Solutions (CTS).",
        "label": "Cloud Technology Solutions (CTS)",
        "terseLabel": "Cloud Technology Solutions (CTS) [Member]"
       }
      }
     },
     "localname": "CloudTechnologySolutionsCtsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CollateralPayableOnForwardCurrencyExchangeContracts": {
     "auth_ref": [],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collateral payable on forward currency exchange contracts.",
        "label": "Collateral Payable on Forward Currency Exchange Contracts",
        "terseLabel": "Collateral payable on forward currency exchange contracts"
       }
      }
     },
     "localname": "CollateralPayableOnForwardCurrencyExchangeContracts",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_CometBidcoLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Comet bidco limited.",
        "label": "Comet Bidco Limited [Member]"
       }
      }
     },
     "localname": "CometBidcoLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConcertGolfPartnersHoldcoDDTLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Concert Golf Partners Holdco DD T/L.",
        "label": "Concert Golf Partners Holdco D D T L [Member]",
        "terseLabel": "Concert Golf Partners Holdco DD T/L [Member]"
       }
      }
     },
     "localname": "ConcertGolfPartnersHoldcoDDTLMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConcertGolfPartnersHoldcoLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Concert golf partners holdco llc.",
        "label": "Concert Golf Partners Holdco Llc [Member]"
       }
      }
     },
     "localname": "ConcertGolfPartnersHoldcoLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConcertGolfPartnersHoldcoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Concert Golf Partners Hold co.",
        "label": "Concert Golf Partners Hold co [Member]"
       }
      }
     },
     "localname": "ConcertGolfPartnersHoldcoMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConcertGolfPartnersHoldcoRCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Concert Golf Partners Holdco R/C.",
        "label": "Concert Golf Partners Holdco R C [Member]",
        "terseLabel": "Concert Golf Partners Holdco R/C [Member]"
       }
      }
     },
     "localname": "ConcertGolfPartnersHoldcoRCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CongressBuyerDdTLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Congress Buyer DD T/L.",
        "label": "Congress Buyer DD T/L [Member]",
        "terseLabel": "Congress Buyer DD T/L [Member]"
       }
      }
     },
     "localname": "CongressBuyerDdTLMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CongressBuyerRCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Congress Buyer R/C.",
        "label": "Congress Buyer R/C [Member]",
        "terseLabel": "Congress Buyer R/C [Member]"
       }
      }
     },
     "localname": "CongressBuyerRCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConstructionAndBuildingSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Construction and Building Sector [Member]",
        "label": "Construction and Building Sector [Member]"
       }
      }
     },
     "localname": "ConstructionAndBuildingSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConsumerDurableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to consumer, durable.",
        "label": "Consumer, Durable [Member]",
        "terseLabel": "Consumer Sector, Durable"
       }
      }
     },
     "localname": "ConsumerDurableMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConsumerGoodsDurableNoncontrolledAffiliateInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consumer Goods Durable Noncontrolled Affiliate Investments [Member]",
        "label": "Consumer Goods Durable Noncontrolled Affiliate Investments [Member]"
       }
      }
     },
     "localname": "ConsumerGoodsDurableNoncontrolledAffiliateInvestmentsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConsumerGoodsDurableSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consumer Goods Durable"
       }
      }
     },
     "localname": "ConsumerGoodsDurableSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConsumerGoodsNonDurableSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consumer Goods Non Durable"
       }
      }
     },
     "localname": "ConsumerGoodsNonDurableSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConsumerGoodsWholesaleSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consumer Goods Wholesale"
       }
      }
     },
     "localname": "ConsumerGoodsWholesaleSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConsumerNonDurableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related  to consumer, non-durable.",
        "label": "Consumer, Non Durable [Member]",
        "terseLabel": "Consumer Sector, Non-Durable"
       }
      }
     },
     "localname": "ConsumerNonDurableMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConsumerSectorDurableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to consumer sector durable.",
        "label": "Consumer Sector Durable [Member]",
        "terseLabel": "Consumer Goods Durable"
       }
      }
     },
     "localname": "ConsumerSectorDurableMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConsumerWholesaleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related  to consumer, wholesale.",
        "label": "Consumer, Wholesale [Member]",
        "terseLabel": "Consumer Sector, Wholesale"
       }
      }
     },
     "localname": "ConsumerWholesaleMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ContainersPackagingAndGlassMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Containers Packaging And Glass [Member]",
        "terseLabel": "Containers, Packaging and Glass"
       }
      }
     },
     "localname": "ContainersPackagingAndGlassMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ConterraUltraBroadbandHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conterra Ultra Broadband Holdings Inc.",
        "label": "Conterra Ultra Broadband Holdings Inc [Member]"
       }
      }
     },
     "localname": "ConterraUltraBroadbandHoldingsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ControlledAffiliatedEntityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information relating to affiliates in which the Company owns more than 25% of such portfolio company's voting securities or has the power to exercise control over management or policies of such portfolio company (including through a management agreement).",
        "label": "Controlled Affiliated Entity [Member]",
        "terseLabel": "Controlled Affiliated Companies"
       }
      }
     },
     "localname": "ControlledAffiliatedEntityMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CopenhagenInterbankOfferedRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Copenhagen interbank offered rate.",
        "label": "Copenhagen Interbank Offered Rate [Member]"
       }
      }
     },
     "localname": "CopenhagenInterbankOfferedRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_CumulativeUnrealizedGainLossOnDerivatives": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative unrealized gain (loss) on derivatives as of the financial reporting date.",
        "label": "Cumulative Unrealized Gain (Loss) On Derivatives",
        "terseLabel": "Unrealized Appreciation"
       }
      }
     },
     "localname": "CumulativeUnrealizedGainLossOnDerivatives",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_DarcyPartnersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Darcy Partners.",
        "label": "Darcy Partners [Member]",
        "terseLabel": "Darcy Partners [Member]"
       }
      }
     },
     "localname": "DarcyPartnersMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_DarcyPartnersRCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Darcy Partners R/C.",
        "label": "Darcy Partners R/C [Member]",
        "terseLabel": "Darcy Partners R/C [Member]"
       }
      }
     },
     "localname": "DarcyPartnersRCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_DatixBidcoLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Datix Bidco Limited [Member]",
        "label": "Datix Bidco Limited [Member]"
       }
      }
     },
     "localname": "DatixBidcoLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_DcBloxIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to DC Blox Inc.",
        "label": "Dc Blox Inc [Member]",
        "terseLabel": "DC Blox Inc [Member]"
       }
      }
     },
     "localname": "DcBloxIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_DebtInstrumentBasisSpreadOnBaseRateOption": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument under base rate option.",
        "label": "Debt Instrument, Basis Spread on Base Rate Option",
        "terseLabel": "Spread rate, basis rate option (as a percent)"
       }
      }
     },
     "localname": "DebtInstrumentBasisSpreadOnBaseRateOption",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_DebtInstrumentMembershipInterests": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of membership interests in debt instrument.",
        "label": "Debt Instrument, Membership Interests",
        "terseLabel": "Membership interests"
       }
      }
     },
     "localname": "DebtInstrumentMembershipInterests",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_DebtInstrumentPremiumOnRepurchase": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of premium paid on repurchase of debt.",
        "label": "Debt Instrument, Premium on Repurchase",
        "terseLabel": "Premium on repurchase of debt"
       }
      }
     },
     "localname": "DebtInstrumentPremiumOnRepurchase",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_DebtInstrumentRetained": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of debt that is retained.",
        "label": "Debt Instrument, Retained",
        "terseLabel": "Debt instrument retained"
       }
      }
     },
     "localname": "DebtInstrumentRetained",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_DebtInstrumentThresholdAlternateBaseRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The threshold borrowing base of debt instrument under base rate option.",
        "label": "Debt Instrument, Threshold Alternate Base Rate",
        "terseLabel": "Threshold alternate base rate"
       }
      }
     },
     "localname": "DebtInstrumentThresholdAlternateBaseRate",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_DebtInstrumentThresholdBorrowingBase": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The threshold borrowing base of debt instrument.",
        "label": "Debt Instrument, Threshold Borrowing Base",
        "terseLabel": "Borrowing base"
       }
      }
     },
     "localname": "DebtInstrumentThresholdBorrowingBase",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "bcsf_DebtRepaymentPercentageOfPrincipalAmountAndInterest": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt repaid as percentage of debt principal and interest thereon.",
        "label": "Debt Repayment, Percentage of Principal Amount And Interest",
        "terseLabel": "Percentage of debt principal"
       }
      }
     },
     "localname": "DebtRepaymentPercentageOfPrincipalAmountAndInterest",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_DebtSecuritizationAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of debt that is securitized.",
        "label": "Debt Securitization, Amount",
        "terseLabel": "Debt securitization"
       }
      }
     },
     "localname": "DebtSecuritizationAmount",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_DeconsolidationDispositionOfAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the disposition of assets from deconsolidation of a previously consolidated subsidiary or the sale of investment in consolidated subsidiaries (generally greater than 50 percent).",
        "label": "Deconsolidation, Disposition of Assets",
        "terseLabel": "Disposition of assets"
       }
      }
     },
     "localname": "DeconsolidationDispositionOfAssets",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_DeconsolidationOfIssuerAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "n/a",
        "label": "Deconsolidation of Issuer [Abstract]",
        "terseLabel": "Deconsolidation of BCC Middle Market CLO 2018-1 LLC"
       }
      }
     },
     "localname": "DeconsolidationOfIssuerAbstract",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "bcsf_DeconsolidationReductionOfLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the deduction of liabilities from deconsolidation of a previously consolidated subsidiary or the sale of investment in consolidated subsidiaries (generally greater than 50 percent).",
        "label": "Deconsolidation, Reduction of Liabilities",
        "negatedLabel": "Reduction of liabilities"
       }
      }
     },
     "localname": "DeconsolidationReductionOfLiabilities",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_DelayedDrawCommitmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to delayed draw commitment.",
        "label": "Delayed Draw"
       }
      }
     },
     "localname": "DelayedDrawCommitmentMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_DerivativeInstrumentAverageNotionalAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of average notional value of contracts during period of derivative contract.",
        "label": "Derivative Instrument, Average Notional Amount",
        "terseLabel": "Average notional amount"
       }
      }
     },
     "localname": "DerivativeInstrumentAverageNotionalAmount",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_DirectTravelIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Direct Travel, Inc.",
        "label": "Direct Travel, Inc [Member]",
        "terseLabel": "Direct Travel, Inc [Member]"
       }
      }
     },
     "localname": "DirectTravelIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_DirectTravelIncOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Direct Travel, Inc one.",
        "label": "Direct Travel, Inc One [Member]",
        "terseLabel": "Direct Travel, Inc One"
       }
      }
     },
     "localname": "DirectTravelIncOneMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_DirectTravelIncTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Direct Travel, Inc two.",
        "label": "Direct Travel, Inc Two [Member]",
        "terseLabel": "Direct Travel, Inc Two"
       }
      }
     },
     "localname": "DirectTravelIncTwoMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_DirectorsFeeExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense from investment directors.",
        "label": "Directors Fee Expense",
        "terseLabel": "Directors fees"
       }
      }
     },
     "localname": "DirectorsFeeExpense",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_DirectorsFeesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 11.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Directors fees payable.",
        "label": "Directors Fees Payable",
        "terseLabel": "Directors fees payable"
       }
      }
     },
     "localname": "DirectorsFeesPayable",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_DiscountOnIssueOfDebt": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of discount on issue of debt.",
        "label": "Discount on Issue of Debt",
        "terseLabel": "Offering discount"
       }
      }
     },
     "localname": "DiscountOnIssueOfDebt",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_DistributionsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for distributions.",
        "label": "Distributions [Policy Text Block]",
        "terseLabel": "Distributions"
       }
      }
     },
     "localname": "DistributionsPolicyTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_DividendReinvestmentPlanPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for dividend reinvestment plan.",
        "label": "Dividend Reinvestment Plan Policy [Policy Text Block]",
        "terseLabel": "Dividend Reinvestment Plan"
       }
      }
     },
     "localname": "DividendReinvestmentPlanPolicyPolicyTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_DrillingInfoHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Drilling Info Holdings Inc.",
        "label": "Drilling Info Holdings Inc [Member]"
       }
      }
     },
     "localname": "DrillingInfoHoldingsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EagleParentCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eagle Parent Corp.",
        "label": "Eagle Parent Corp [Member]"
       }
      }
     },
     "localname": "EagleParentCorpMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EagleRockCapitalCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eagle rock capital corporation.",
        "label": "Eagle Rock Capital Corporation [Member]"
       }
      }
     },
     "localname": "EagleRockCapitalCorporationMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EarningsBeforeInterestTaxDepreciationAndAmortizationOfMiddleMarketCompanies": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of earnings before interest, tax, depreciation and amortization of middle market companies.",
        "label": "Earnings Before Interest, Tax, Depreciation and Amortization of Middle Market Companies",
        "terseLabel": "Earnings before interest ,tax , depreciation and amortization in middle market companies"
       }
      }
     },
     "localname": "EarningsBeforeInterestTaxDepreciationAndAmortizationOfMiddleMarketCompanies",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_EastBCCCoinvestIILLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "East BCC Coinvest II LLC.",
        "label": "East BCC Coinvest II LLC [Member]"
       }
      }
     },
     "localname": "EastBCCCoinvestIILLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EfficientCollaborativeRetailMarketingCompanyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Efficient Collaborative Retail Marketing Company, LLC.",
        "label": "Efficient Collaborative Retail Marketing Company, L L C [Member]",
        "terseLabel": "Efficient Collaborative Retail Marketing Company, LLC [Member]"
       }
      }
     },
     "localname": "EfficientCollaborativeRetailMarketingCompanyLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ElementBuyerIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Element Buyer, Inc.",
        "label": "Element Buyer, Inc [Member]",
        "terseLabel": "Element Buyer, Inc [Member]"
       }
      }
     },
     "localname": "ElementBuyerIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ElevatorHoldcoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Elevator HoldcoInc.",
        "label": "Elevator HoldcoInc [Member]"
       }
      }
     },
     "localname": "ElevatorHoldcoIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ElevenSoftwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Eleven Software.",
        "label": "Eleven Software [Member]",
        "terseLabel": "Eleven Software [Member]"
       }
      }
     },
     "localname": "ElevenSoftwareMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ElkParentHoldingsLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Elk Parent Holdings LP.",
        "label": "Elk Parent Holdings LP [Member]"
       }
      }
     },
     "localname": "ElkParentHoldingsLPMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EnergyOilAndGasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Energy Oil And Gas [Member]",
        "terseLabel": "Energy: Oil and Gas"
       }
      }
     },
     "localname": "EnergyOilAndGasMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EnergyOilAndGasNoncontrolledAffiliateInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Energy Oil And Gas Noncontrolled Affiliate Investments.",
        "label": "Energy Oil And Gas Noncontrolled Affiliate Investments [Member]"
       }
      }
     },
     "localname": "EnergyOilAndGasNoncontrolledAffiliateInvestmentsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EnvironmentalIndustriesSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related environmental industries.",
        "label": "Environmental Industries Sector [Member]",
        "terseLabel": "Environmental Industries"
       }
      }
     },
     "localname": "EnvironmentalIndustriesSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EnvironmentalIndustriesSectorNoncontrolledAffiliateInvestmentsMemberMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related environmental industries for Noncontrolled Affiliate Investments.",
        "label": "Environmental Industries Sector Noncontrolled Affiliate Investments [Member] [Member]"
       }
      }
     },
     "localname": "EnvironmentalIndustriesSectorNoncontrolledAffiliateInvestmentsMemberMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EquityInterestInInvestmentVehiclesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to equity interest in investment vehicles.",
        "label": "Equity Interest in Investment Vehicles [Member]",
        "terseLabel": "Equity Interest in Investment Vehicles"
       }
      }
     },
     "localname": "EquityInterestInInvestmentVehiclesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EquityInterestInvestmentVehiclesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information regarding equity interest investment vehicles.",
        "label": "Equity Interest Investment Vehicles [Member]",
        "terseLabel": "Equity Interest Investment Vehicles"
       }
      }
     },
     "localname": "EquityInterestInvestmentVehiclesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EquityInterestMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to equity interest.",
        "label": "Equity Interest [Member]",
        "terseLabel": "Equity Interest"
       }
      }
     },
     "localname": "EquityInterestMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EquityMethodInvestmentCapitalContributions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of capital contributions.",
        "label": "Equity Method Investment Capital Contributions",
        "terseLabel": "Capital contributions"
       }
      }
     },
     "localname": "EquityMethodInvestmentCapitalContributions",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_EquityMethodInvestmentDebtCapitalContribution": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of debt capital contribution.",
        "label": "Equity Method Investment Debt Capital Contribution",
        "terseLabel": "Debt capital contribution"
       }
      }
     },
     "localname": "EquityMethodInvestmentDebtCapitalContribution",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_EquityMethodInvestmentEquityCapitalContribution": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of equity capital contribution.",
        "label": "Equity Method Investment Equity Capital Contribution",
        "terseLabel": "Equity Capital Contribution"
       }
      }
     },
     "localname": "EquityMethodInvestmentEquityCapitalContribution",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_EquityMethodInvestmentEquityInterests": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of investments in equity interests.",
        "label": "Equity Method Investment Equity Interests",
        "terseLabel": "Equity interests"
       }
      }
     },
     "localname": "EquityMethodInvestmentEquityInterests",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_EquityMethodInvestmentInterestCommitments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest commitments.",
        "label": "Equity Method Investment Interest Commitments",
        "terseLabel": "Commitments with equity and subordinated note interests"
       }
      }
     },
     "localname": "EquityMethodInvestmentInterestCommitments",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_EquityMethodInvestmentSubordinatedNotes": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of investments in subordinated notes.",
        "label": "Equity Method Investment Subordinated Notes",
        "terseLabel": "Subordinated notes"
       }
      }
     },
     "localname": "EquityMethodInvestmentSubordinatedNotes",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_EquityMethodInvestmentUnfundedCapitalContributions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unfunded capital contributions.",
        "label": "Equity Method Investment Unfunded Capital Contributions",
        "terseLabel": "Unfunded capital contributions"
       }
      }
     },
     "localname": "EquityMethodInvestmentUnfundedCapitalContributions",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_EquitySecuritiesOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to equity securities one.",
        "label": "Equity Securities One [Member]",
        "terseLabel": "Equity Interest one"
       }
      }
     },
     "localname": "EquitySecuritiesOneMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EquitySecuritiesThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to equity securities three.",
        "label": "Equity Securities Three [Member]",
        "terseLabel": "Equity Interest three"
       }
      }
     },
     "localname": "EquitySecuritiesThreeMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EquitySecuritiesTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to equity securities two.",
        "label": "Equity Securities Two [Member]",
        "terseLabel": "Equity Interest two"
       }
      }
     },
     "localname": "EquitySecuritiesTwoMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ErgotronAcquisitionLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ergotron Acquisition Llc.",
        "label": "Ergotron Acquisition Llc [Member]"
       }
      }
     },
     "localname": "ErgotronAcquisitionLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_EuroInterbankOfferRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Euro interbank offer rate.",
        "label": "Euro Interbank Offer Rate [Member]"
       }
      }
     },
     "localname": "EuroInterbankOfferRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FCGAcquisitionsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "FCG Acquisitions Inc.",
        "label": "FCG Acquisitions Inc [Member]"
       }
      }
     },
     "localname": "FCGAcquisitionsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FLHawkIntermediateHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "FL Hawk Intermediate Holdings Inc.",
        "label": "FL Hawk Intermediate Holdings Inc [Member]"
       }
      }
     },
     "localname": "FLHawkIntermediateHoldingsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLossSubsidiary": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of subsidiary unrealized gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3) and still held.",
        "label": "Fair Value Assets Measured On Recurring Basis Change In Unrealized Gain Loss, Subsidiary",
        "terseLabel": "Change in unrealized appreciation attributable to investments still held"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLossSubsidiary",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarningsSubsidiary": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of subsidiary gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Gain Loss Included In Earnings, Subsidiary",
        "terseLabel": "Net realized gains (losses) on investments"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarningsSubsidiary",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLossSubsidiary": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in subsidiary other comprehensive income (OCI) from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Gain Loss Included In Other Comprehensive Income Loss, Subsidiary",
        "terseLabel": "Net change in unrealized appreciation on investments"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLossSubsidiary",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisNetAccretionAmortizationOfDiscountPremium": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accretion of discounts (amortization of premiums) on asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Net Accretion (Amortization) of Discount (Premium)",
        "terseLabel": "Net accretion of discounts (amortization of premiums)"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisNetAccretionAmortizationOfDiscountPremium",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisPaidInKindInterest": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid in kind interest from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Paid in Kind Interest",
        "terseLabel": "Paid-in-kind interest"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisPaidInKindInterest",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_FairValueOfDebtNotReportedAtFairValueTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of debt issuances that are not reported at fair value.",
        "label": "Fair Value Of Debt Not Reported At Fair Value [Table Text Block]",
        "terseLabel": "Summary of fair value of debt obligations if obligations were carried at fair value"
       }
      }
     },
     "localname": "FairValueOfDebtNotReportedAtFairValueTableTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_FairValueOfLiabilitiesNotReportedAtFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated fair value of debt that is not reported at fair value in the financial statements of the reporting entity.",
        "label": "Fair Value Of Liabilities Not Reported At Fair Value",
        "terseLabel": "Fair value of debt not carried at fair value"
       }
      }
     },
     "localname": "FairValueOfLiabilitiesNotReportedAtFairValue",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_FinancingReceivableNonAccrualNumberOfIssuer": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of issuers of financing receivables on non accrual status.",
        "label": "Financing Receivable, Non Accrual, Number of Issuer",
        "terseLabel": "Number of issuers"
       }
      }
     },
     "localname": "FinancingReceivableNonAccrualNumberOfIssuer",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "bcsf_FinancingReceivableNonAccrualNumberOfLoans": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of financing receivables on non accrual status.",
        "label": "Financing Receivable, Non Accrual, Number of Loans",
        "terseLabel": "Number of loans"
       }
      }
     },
     "localname": "FinancingReceivableNonAccrualNumberOfLoans",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "bcsf_FinelineTechnologiesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fineline Technologies Inc",
        "label": "Fineline Technologies Inc [Member]"
       }
      }
     },
     "localname": "FinelineTechnologiesIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FireFinanceControlledAffiliateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related fire finance controlled affiliate.",
        "label": "Fire Finance Controlled Affiliate [Member]",
        "terseLabel": "Fire Finance Controlled Affiliate [Member]"
       }
      }
     },
     "localname": "FireFinanceControlledAffiliateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FireFinanceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related fire finance.",
        "label": "Fire Finance [Member]",
        "terseLabel": "Fire Finance"
       }
      }
     },
     "localname": "FireFinanceMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FireFinanceNonControlledAffiliateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related fire finance non controlled affiliate.",
        "label": "Fire Finance Non Controlled Affiliate"
       }
      }
     },
     "localname": "FireFinanceNonControlledAffiliateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FireFinanceSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related fire finance.",
        "label": "Fire Finance Sector [Member]",
        "terseLabel": "Fire Finance"
       }
      }
     },
     "localname": "FireFinanceSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FireInsuranceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related fire insurance.",
        "label": "Fire Insurance [Member]",
        "terseLabel": "Fire Insurance"
       }
      }
     },
     "localname": "FireInsuranceMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienAndSecondLienSeniorSecuredLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to first lien and second lien senior secured notes.",
        "label": "First Lien and Second Lien Senior Secured Loans [Member]",
        "terseLabel": "First Lien and Second Lien Senior Secured Loans"
       }
      }
     },
     "localname": "FirstLienAndSecondLienSeniorSecuredLoansMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoan1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Lien Senior Secured Loan 1.",
        "label": "First Lien Senior Secured Loan 1 [Member]"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoan1Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoan2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First lien senior secured loan 2.",
        "label": "First Lien Senior Secured Loan 2 [Member]"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoan2Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoan3Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First lien senior secured loan.",
        "label": "First Lien Senior Secured Loan 3 [Member]"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoan3Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoanCommitmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to first lien senior secured loan commitment.",
        "label": "First Lien Senior Secured Loan"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoanCommitmentMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoanDelayedDraw2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First lien senior secured loan delayed draw 2.",
        "label": "First Lien Senior Secured Loan Delayed Draw 2 [Member]"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoanDelayedDraw2Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoanDelayedDrawMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to first lien senior secured loan delayed draw.",
        "label": "First Lien Senior Secured Loan Delayed Draw [Member]",
        "terseLabel": "First Lien Senior Secured Loan - Delayed Draw"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoanDelayedDrawMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to first lien senior secured loan.",
        "label": "First Lien Senior Secured Loan [Member]",
        "terseLabel": "First Lien Senior Secured Loan"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoanMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoanRevolverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to first lien senior secured loan revolver.",
        "label": "First Lien Senior Secured Loan Revolver [Member]",
        "terseLabel": "First Lien Senior Secured Loan - Revolver"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoanRevolverMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoansFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to first lien senior secured loans five.",
        "label": "First Lien Senior Secured Loans Five [Member]",
        "terseLabel": "First Lien Senior Secured Loans five"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoansFiveMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoansFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to first lien senior secured loans four.",
        "label": "First Lien Senior Secured Loans Four [Member]",
        "terseLabel": "First Lien Senior Secured Loans four"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoansFourMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to first lien senior secured loans.",
        "label": "First Lien Senior Secured Loans [Member]",
        "terseLabel": "First Lien Senior Secured Loans"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoansMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoansOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to first lien senior secured loans one.",
        "label": "First Lien Senior Secured Loans One [Member]",
        "terseLabel": "First Lien Senior Secured Loans one"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoansOneMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoansThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to first lien senior secured loans three.",
        "label": "First Lien Senior Secured Loans Three [Member]",
        "terseLabel": "First Lien Senior Secured Loans three"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoansThreeMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstLienSeniorSecuredLoansTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to first lien senior secured loans two.",
        "label": "First Lien Senior Secured Loans Two [Member]",
        "terseLabel": "First Lien Senior Secured Loans two"
       }
      }
     },
     "localname": "FirstLienSeniorSecuredLoansTwoMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FirstTermLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to 1st Term Loan.",
        "label": "First Term Loan [Member]",
        "terseLabel": "1st Term Loan"
       }
      }
     },
     "localname": "FirstTermLoanMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FiveLargestInvesteeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the five investee the entity has invested its assets.",
        "label": "Five Largest Investee [Member]",
        "terseLabel": "Five Largest Investee [Member]"
       }
      }
     },
     "localname": "FiveLargestInvesteeMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FnzUkFincoLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fnz uk finco limited.",
        "label": "Fnz Uk Finco Limited [Member]"
       }
      }
     },
     "localname": "FnzUkFincoLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_FormingMachiningIndustriesHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Forming machining industries loldings llc.",
        "label": "Forming Machining Industries Holdings LLC [Member]"
       }
      }
     },
     "localname": "FormingMachiningIndustriesHoldingsLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GaapIncentiveFeeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to GAAP incentive fees.",
        "label": "GAAP Incentive Fee [Member]",
        "terseLabel": "GAAP incentive fee"
       }
      }
     },
     "localname": "GaapIncentiveFeeMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GaleAviationOffshoreCoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Gale Aviation (Offshore) Co.",
        "label": "Gale Aviation Offshore Co [Member]",
        "terseLabel": "Gale Aviation (Offshore) Co"
       }
      }
     },
     "localname": "GaleAviationOffshoreCoMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GillsPointSMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gills Point S [Member]",
        "label": "Gills Point S [Member]"
       }
      }
     },
     "localname": "GillsPointSMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GluwareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gluware.",
        "label": "Gluware [Member]"
       }
      }
     },
     "localname": "GluwareMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GoldenStateBuyerIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Golden State Buyer Inc.",
        "label": "Golden State Buyer Inc [Member]"
       }
      }
     },
     "localname": "GoldenStateBuyerIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GoldmanSachsFinancialSquareGovernmentFundInstitutionalShareClassMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Goldman Sachs Financial Square Government Fund Institutional Share Class.",
        "label": "Goldman Sachs Financial Square Government Fund Institutional Share Class [Member]"
       }
      }
     },
     "localname": "GoldmanSachsFinancialSquareGovernmentFundInstitutionalShareClassMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GoldmanSachsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Goldman Sachs Member.",
        "label": "Goldman Sachs [Member]",
        "terseLabel": "Goldman Sachs"
       }
      }
     },
     "localname": "GoldmanSachsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GrammerInvestmentHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Grammer Investment Holdings LLC.",
        "label": "Grammer Investment Holdings LLC [Member]"
       }
      }
     },
     "localname": "GrammerInvestmentHoldingsLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GrammerPurchaserIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Grammer Purchaser, Inc .",
        "label": "Grammer Purchaser, Inc [Member]",
        "terseLabel": "Grammer Purchaser, Inc [Member]"
       }
      }
     },
     "localname": "GrammerPurchaserIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GreatExpressionsDentalCenterPCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Great Expressions Dental Center PC.",
        "label": "Great Expressions Dental Center P C [Member]",
        "terseLabel": "Great Expressions Dental Center PC [Member]"
       }
      }
     },
     "localname": "GreatExpressionsDentalCenterPCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GspHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to GSP Holdings, LLC.",
        "label": "Gsp Holdings, L L C [Member]",
        "terseLabel": "GSP Holdings, LLC [Member]"
       }
      }
     },
     "localname": "GspHoldingsLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_GulfWindsInternationalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gulf Winds International.",
        "label": "Gulf Winds International",
        "terseLabel": "Gulf Winds International [Member]"
       }
      }
     },
     "localname": "GulfWindsInternationalMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_HealthcareAndPharmaceuticalsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of the economy consisting of companies engaged in healthcare-related business activities.",
        "label": "Healthcare &amp; Pharmaceuticals",
        "terseLabel": "Healthcare and Pharmaceuticals"
       }
      }
     },
     "localname": "HealthcareAndPharmaceuticalsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_HighTechIndustriesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of the economy consisting of companies engaged in technology-related business activities.",
        "label": "High Tech Industries",
        "terseLabel": "High Tech Industries"
       }
      }
     },
     "localname": "HighTechIndustriesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_HospitalityHoldingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related hospitality holdings.",
        "label": "Hospitality Holdings"
       }
      }
     },
     "localname": "HospitalityHoldingsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_HotelGamingAndLeisureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related hotel, gaming and leisure.",
        "label": "Hotel, Gaming And Leisure [Member]",
        "terseLabel": "Hotel, Gaming &amp; Leisure"
       }
      }
     },
     "localname": "HotelGamingAndLeisureMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_HultecMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hultec.",
        "label": "Hultec [Member]"
       }
      }
     },
     "localname": "HultecMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_IBanFirstFacility1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "iban first facility.",
        "label": "iBan First Facility [Member]"
       }
      }
     },
     "localname": "IBanFirstFacility1Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ISLPCreditFacilityTrancheBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to ISLP Credit Facility Tranche B.",
        "label": "ISLP Credit Facility Tranche B"
       }
      }
     },
     "localname": "ISLPCreditFacilityTrancheBMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ISLPCreditFacilityTrancheaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to ISLP Credit Facility Tranche A.",
        "label": "ISLP Credit Facility Tranche A"
       }
      }
     },
     "localname": "ISLPCreditFacilityTrancheaMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_IbanfirstFacilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "iBanFirst Facilities [Member]",
        "label": "iBanFirst Facilities [Member]",
        "terseLabel": "iBanFirst Facility"
       }
      }
     },
     "localname": "IbanfirstFacilitiesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_IbanfirstMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "iBanFirst.",
        "label": "iBanFirst [Member]"
       }
      }
     },
     "localname": "IbanfirstMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ImageTrendMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Image Trend",
        "label": "Image Trend [Member]",
        "terseLabel": "Image Trend [Member]"
       }
      }
     },
     "localname": "ImageTrendMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_IncentiveFeeAnnualHurdleRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of annual hurdle rate .",
        "label": "Incentive Fee, Annual Hurdle Rate",
        "terseLabel": "Annual hurdle rate (in percent)"
       }
      }
     },
     "localname": "IncentiveFeeAnnualHurdleRate",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_IncentiveFeeAsPercentOfPreIncentiveFeeNetInvestmentIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The incentive fee as a percent of pre incentive fee net investment income.",
        "label": "Incentive Fee As Percent Of Pre Incentive Fee Net Investment Income",
        "terseLabel": "Incentive fee as a percent of pre incentive fee net investment income"
       }
      }
     },
     "localname": "IncentiveFeeAsPercentOfPreIncentiveFeeNetInvestmentIncome",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_IncentiveFeeAsPercentOfRealizedCapitalGains": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The incentive fee as a percent of realized capital gains.",
        "label": "Incentive Fee As Percent Of Realized Capital Gains",
        "terseLabel": "Realized capital gains (in percent)"
       }
      }
     },
     "localname": "IncentiveFeeAsPercentOfRealizedCapitalGains",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_IncentiveFeeBasedOnCapitalGainsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to incentive fees based on capital gains.",
        "label": "Incentive Fee Based On Capital Gains [Member]",
        "terseLabel": "Incentive fee based on capital gains"
       }
      }
     },
     "localname": "IncentiveFeeBasedOnCapitalGainsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_IncentiveFeeBasedOnIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to incentive fees based on income.",
        "label": "Incentive Fee Based On Income [Member]",
        "terseLabel": "Incentive fee based on income"
       }
      }
     },
     "localname": "IncentiveFeeBasedOnIncomeMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_IncentiveFeeCapAsPercentOfCumulativeNetReturn": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The incentive fee cap as percent of cumulative net return.",
        "label": "Incentive Fee Cap As Percent Of Cumulative Net Return",
        "terseLabel": "Incentive fee cap as percent of cumulative net return"
       }
      }
     },
     "localname": "IncentiveFeeCapAsPercentOfCumulativeNetReturn",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_IncentiveFeeLookbackTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of lookback period for incentive fee.",
        "label": "Incentive Fee, Lookback Term",
        "terseLabel": "Lookback period (in years)"
       }
      }
     },
     "localname": "IncentiveFeeLookbackTerm",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "bcsf_IncentiveFeeNumberOfComponents": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of components of incentive fees.",
        "label": "Incentive Fee, Number of Components",
        "terseLabel": "Number of components of incentive fees"
       }
      }
     },
     "localname": "IncentiveFeeNumberOfComponents",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "bcsf_IncentiveFeePayableIfNoExcessIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of incentive fee payable to advisor if no excess income.",
        "label": "Incentive Fee Payable If No Excess Income",
        "terseLabel": "Incentive fee payable on excess income"
       }
      }
     },
     "localname": "IncentiveFeePayableIfNoExcessIncome",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_IncentiveFeePayableIfZeroOrNegativeValueIncentiveCap": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of incentive fee payable of incentive cap is zero.",
        "label": "Incentive Fee Payable If Zero Or Negative Value Incentive Cap",
        "terseLabel": "Amount of incentive fee payable of incentive cap is zero"
       }
      }
     },
     "localname": "IncentiveFeePayableIfZeroOrNegativeValueIncentiveCap",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_IncentiveFeeQuarterlyHurdleRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of quarterly hurdle rate .",
        "label": "Incentive Fee, Quarterly Hurdle Rate",
        "terseLabel": "Hurdle rate per quarter (in percent)"
       }
      }
     },
     "localname": "IncentiveFeeQuarterlyHurdleRate",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_IncentiveFeesVoluntarilyWaived": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of incentive fee voluntarily waived during the period.",
        "label": "Incentive Fees Voluntarily Waived",
        "terseLabel": "Incentive fees voluntarily waived"
       }
      }
     },
     "localname": "IncentiveFeesVoluntarilyWaived",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_InsigneoFinancialGroupLlc1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Insigneo Financial Group LLC.",
        "label": "Insigneo Financial Group LLC1 [Member]"
       }
      }
     },
     "localname": "InsigneoFinancialGroupLlc1Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_InsigneoFinancialGroupLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Insigneo Financial Group LLC.",
        "label": "Insigneo Financial Group Llc [Member]",
        "terseLabel": "Insigneo Financial Group Llc [Member]"
       }
      }
     },
     "localname": "InsigneoFinancialGroupLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_InterestPayableOnSubordinatedNotes": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest payable on subordinated notes.",
        "label": "Interest Payable on Subordinated Notes",
        "terseLabel": "Interest payable on subordinated notes"
       }
      }
     },
     "localname": "InterestPayableOnSubordinatedNotes",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_InternationalEntertainmentInvestmentsLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "International entertainment investments limited.",
        "label": "International Entertainment Investments Limited [Member]"
       }
      }
     },
     "localname": "InternationalEntertainmentInvestmentsLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_InternationalSeniorLoanProgramLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "International Senior Loan Program, LLC"
       }
      }
     },
     "localname": "InternationalSeniorLoanProgramLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_InternationalSeniorLoanProgramLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to International Senior Loan Program, LLC.",
        "label": "International Senior Loan Program, LLC [Member]",
        "terseLabel": "International Senior Loan Program, LLC",
        "verboseLabel": "International Senior Loan Program, LLC"
       }
      }
     },
     "localname": "InternationalSeniorLoanProgramLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_IntoxalockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intoxalock [Member]",
        "label": "Intoxalock",
        "terseLabel": "Intoxalock [Member]"
       }
      }
     },
     "localname": "IntoxalockMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_InvestmentCompanyDistributionsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entire disclosure represents to Distributions.",
        "label": "Investment Company Distributions [Text Block]",
        "terseLabel": "Distributions"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionsTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDistributions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_InvestmentCompanyExpensesRatioWithoutVoluntaryFeeWaiver": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of expenses without voluntary fee waiver to average net assets.",
        "label": "Investment Company, Expenses Ratio Without Voluntary Fee Waiver",
        "terseLabel": "Ratio of total expenses without voluntary incentive fee waiver to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyExpensesRatioWithoutVoluntaryFeeWaiver",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "bcsf_InvestmentCompanyIncomeRatioWithoutVoluntaryFeeWaiverAndVoluntaryAndManagementFee": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of Income Without Voluntary Fee Waiver and Voluntary and Management fee",
        "label": "Investment Company, Income Ratio Without Voluntary Fee Waiver and Voluntary and Management fee",
        "terseLabel": "Ratio of Income without voluntary fee waiver and voluntary and management fee"
       }
      }
     },
     "localname": "InvestmentCompanyIncomeRatioWithoutVoluntaryFeeWaiverAndVoluntaryAndManagementFee",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "bcsf_InvestmentCompanyInterestAndDebtFinancingExpensesToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio 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.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "bcsf_InvestmentCompanyInvestmentIncomeToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of net investment income to average net assets.",
        "label": "Investment Company, Investment Income to Average Net Assets",
        "terseLabel": "Ratio of net investment income to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeToAverageNetAssets",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "bcsf_InvestmentCompanyNetChangeInUnrealizedAppreciationDepreciationPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit change in unrealized appreciation or depreciation.",
        "label": "Investment Company, Net Change in Unrealized Appreciation (Depreciation) Per Share",
        "terseLabel": "Net change in unrealized appreciation"
       }
      }
     },
     "localname": "InvestmentCompanyNetChangeInUnrealizedAppreciationDepreciationPerShare",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "bcsf_InvestmentCompanyNonconsolidatedSubsidiaryInvestmentInNotesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of investment in notes for nonconsolidated subsidiary of investment company.",
        "label": "Investment Company, Nonconsolidated Subsidiary, Investment in Notes [Table Text Block]",
        "terseLabel": "Schedule of 2018-1 Notes"
       }
      }
     },
     "localname": "InvestmentCompanyNonconsolidatedSubsidiaryInvestmentInNotesTableTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_InvestmentCompanyNonconsolidatedSubsidiaryInvestmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of investment for nonconsolidated subsidiary of investment company.",
        "label": "Investment Company, Nonconsolidated Subsidiary, Investments [Table Text Block]",
        "terseLabel": "Schedule of individual investments"
       }
      }
     },
     "localname": "InvestmentCompanyNonconsolidatedSubsidiaryInvestmentsTableTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_InvestmentCompanyPaymentsOfDividendDistribution": {
     "auth_ref": [],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to dividend distribution.",
        "label": "Investment Company, Payments of Dividend Distribution",
        "negatedLabel": "Stockholder distributions paid"
       }
      }
     },
     "localname": "InvestmentCompanyPaymentsOfDividendDistribution",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_InvestmentCompanyPortfolioTurnoverRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The ratio that defines the frequency of purchase and sale of funds.",
        "label": "Investment Company, Portfolio Turnover Ratio",
        "terseLabel": "Portfolio turnover"
       }
      }
     },
     "localname": "InvestmentCompanyPortfolioTurnoverRatio",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "bcsf_InvestmentCompanySupplementalDataAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available",
        "label": "Investment Company, Supplemental Data [Abstract]",
        "terseLabel": "Supplemental data:"
       }
      }
     },
     "localname": "InvestmentCompanySupplementalDataAbstract",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "bcsf_InvestmentCompanyTotalNetExpensesToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of total net expenses to average net assets.",
        "label": "Investment Company, Total Net Expenses to Average Net Assets",
        "terseLabel": "Ratio of total net expenses to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyTotalNetExpensesToAverageNetAssets",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "bcsf_InvestmentCompanyTotalReturnBasedOnMarketValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of total return based on market value.",
        "label": "Investment Company, Total Return Based on Market value",
        "terseLabel": "Total return based on market value"
       }
      }
     },
     "localname": "InvestmentCompanyTotalReturnBasedOnMarketValue",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "bcsf_InvestmentCompanyVoluntaryManagementFeeWaiverToAverageNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of voluntary management fee waiver to average net assets.",
        "label": "Investment Company, Voluntary Management Fee Waiver to Average Net Assets",
        "terseLabel": "Ratio of voluntary management fee waiver to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyVoluntaryManagementFeeWaiverToAverageNetAssets",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "bcsf_InvestmentConcentrationRiskMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects concentration of investment.",
        "label": "Investment Concentration Risk [Member]",
        "terseLabel": "Investment Concentration Risk [Member]"
       }
      }
     },
     "localname": "InvestmentConcentrationRiskMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_InvestmentHoldingsAndCashEquivalentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Investment Holdings and Cash Equivalents.",
        "label": "Investment Holdings and Cash Equivalents [Member]"
       }
      }
     },
     "localname": "InvestmentHoldingsAndCashEquivalentsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_InvestmentHoldingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Investment Holdings.",
        "label": "Investment Holdings [Member]"
       }
      }
     },
     "localname": "InvestmentHoldingsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_InvestmentNonAffiliatedIssuerNonControlledMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment non affiliated issuer non controlled.",
        "label": "Investment Non Affiliated Issuer Non Controlled [Member]",
        "terseLabel": "Investment Non Affiliated Issuer Non Controlled [Member]"
       }
      }
     },
     "localname": "InvestmentNonAffiliatedIssuerNonControlledMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_InvestmentOwnedGrossAdditions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investments made during the period.",
        "label": "Investment Owned, Gross Additions",
        "terseLabel": "Gross additions"
       }
      }
     },
     "localname": "InvestmentOwnedGrossAdditions",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_InvestmentOwnedGrossReductions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of principal payment made by investees to the company or sale of investments during the period.",
        "label": "Investment Owned, Gross Reductions",
        "terseLabel": "Gross reductions"
       }
      }
     },
     "localname": "InvestmentOwnedGrossReductions",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_InvestmentOwnedMeasurementInput": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure investments owned.",
        "label": "Investment Owned, Measurement Input"
       }
      }
     },
     "localname": "InvestmentOwnedMeasurementInput",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "bcsf_InvestmentPercentOfPortfolioAmortizedCost": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of total portfolio at amortized cost.",
        "label": "Investment Percent Of Portfolio Amortized Cost",
        "terseLabel": "Percentage of Total Portfolio"
       }
      }
     },
     "localname": "InvestmentPercentOfPortfolioAmortizedCost",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_InvestmentPercentOfPortfolioFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of total portfolio at fair value.",
        "label": "Investment Percent Of Portfolio Fair Value",
        "terseLabel": "Percentage of Total Portfolio"
       }
      }
     },
     "localname": "InvestmentPercentOfPortfolioFairValue",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_InvestmentSecuritiesAverageYield": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average yield on investment securities at reporting date.",
        "label": "Investment Securities, Average Yield",
        "terseLabel": "Weighted average yield on investments"
       }
      }
     },
     "localname": "InvestmentSecuritiesAverageYield",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_InvestmentUnfundedCommitments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unfunded commitments to purchase investments.",
        "label": "Investment Unfunded Commitments",
        "terseLabel": "Unfunded commitments"
       }
      }
     },
     "localname": "InvestmentUnfundedCommitments",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_InvestmentVehiclesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related investment vehicles.",
        "label": "Investment Vehicles"
       }
      }
     },
     "localname": "InvestmentVehiclesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_InvestmentsOperationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets held for their financial return as part of the entity's operations.",
        "label": "Investments Operations [Member]",
        "terseLabel": "Investments Operations [Member]"
       }
      }
     },
     "localname": "InvestmentsOperationsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_InvestmentsOwnedExcludingInvestmentsUnobservableInputsNotDeveloped": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of investments owned, excluding the investments of which the advisor did not developed unobservable inputs for the determination of fair value.",
        "label": "Investments Owned Excluding Investments Unobservable Inputs Not Developed",
        "terseLabel": "Fair value of assets"
       }
      }
     },
     "localname": "InvestmentsOwnedExcludingInvestmentsUnobservableInputsNotDeveloped",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_InvestmentsOwnedFairValueSecuredAsCollateral": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value of investments owned which is secured as collateral.",
        "label": "Investments Owned, Fair Value, Secured As Collateral",
        "terseLabel": "Fair value of investments secured as collateral"
       }
      }
     },
     "localname": "InvestmentsOwnedFairValueSecuredAsCollateral",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_InvestmentsOwnedUnobservableInputsNotDeveloped": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of investments owned, of which the advisor did not developed unobservable inputs for the determination of fair value.",
        "label": "Investments Owned, Unobservable Inputs Not Developed",
        "terseLabel": "Unobservable inputs not developed"
       }
      }
     },
     "localname": "InvestmentsOwnedUnobservableInputsNotDeveloped",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_IrisHoldingIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Iris Holding Inc.",
        "label": "Iris Holding Inc [Member]"
       }
      }
     },
     "localname": "IrisHoldingIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_JhccHoldingsLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to JHCC Holdings, LLC.",
        "label": "Jhcc Holdings, Llc [Member]",
        "terseLabel": "JHCC Holdings, LLC [Member]"
       }
      }
     },
     "localname": "JhccHoldingsLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_JonathanAcquisitionCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Jonathan Acquisition Company.",
        "label": "Jonathan Acquisition Company [Member]"
       }
      }
     },
     "localname": "JonathanAcquisitionCompanyMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_KellstromAerospaceGroupIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kellstrom Aerospace Group Inc.",
        "label": "Kellstrom Aerospace Group Inc [Member]",
        "terseLabel": "Kellstrom Aerospace Group Inc"
       }
      }
     },
     "localname": "KellstromAerospaceGroupIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_KellstromCommercialAerospaceIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Kellstrom Commercial Aerospace, Inc.",
        "label": "Kellstrom Commercial Aerospace, Inc [Member]",
        "terseLabel": "Kellstrom Commercial Aerospace, Inc [Member]"
       }
      }
     },
     "localname": "KellstromCommercialAerospaceIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_KplerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kpler.",
        "label": "Kpler [Member]"
       }
      }
     },
     "localname": "KplerMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_LargestInvesteeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the investee the entity has invested its assets.",
        "label": "Largest Investee [Member]",
        "terseLabel": "Largest Investee [Member]"
       }
      }
     },
     "localname": "LargestInvesteeMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_LearningPoolMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Learning pool.",
        "label": "Learning Pool [Member]"
       }
      }
     },
     "localname": "LearningPoolMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_LearningPoolsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Learning Pools.",
        "label": "Learning Pools [Member]"
       }
      }
     },
     "localname": "LearningPoolsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_LegacyCorporateLendingHoldcoLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Legacy Corporate Lending HoldCo, LLC.",
        "label": "Legacy Corporate Lending HoldCo, LLC [Member]",
        "terseLabel": "Legacy Corporate Lending HoldCo, LLC"
       }
      }
     },
     "localname": "LegacyCorporateLendingHoldcoLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_LiborMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "LIBOR.",
        "label": "LIBOR [Member]"
       }
      }
     },
     "localname": "LiborMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_LightningFincoLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lightning finco limited.",
        "label": "Lightning Finco Limited [Member]"
       }
      }
     },
     "localname": "LightningFincoLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_LightningHoldingsBLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Lightning Holdings B, LLC.",
        "label": "Lightning Holdings B, LLC [Member]",
        "terseLabel": "Lightning Holdings B, LLC"
       }
      }
     },
     "localname": "LightningHoldingsBLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_LightningHoldingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lightning Holdings.",
        "label": "Lightning Holdings [Member]",
        "terseLabel": "Lightning Holdings"
       }
      }
     },
     "localname": "LightningHoldingsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_LineOfCreditMaximumCapacityAfterAccordionProvisions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of borrowing available under credit facility after accordion provisions.",
        "label": "Line of Credit, Maximum Capacity After Accordion Provisions",
        "terseLabel": "Maximum borrowing capacity after accordion feature"
       }
      }
     },
     "localname": "LineOfCreditMaximumCapacityAfterAccordionProvisions",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_LoanInterestRateFloorFive": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan interest rate floor five.",
        "label": "Loan Interest Rate Floor Five",
        "terseLabel": "Loan interest rate floor 5"
       }
      }
     },
     "localname": "LoanInterestRateFloorFive",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_LoanInterestRateFloorFour": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan interest rate floor four.",
        "label": "Loan Interest Rate Floor Four",
        "terseLabel": "Loan interest rate floor 4"
       }
      }
     },
     "localname": "LoanInterestRateFloorFour",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_LoanInterestRateFloorOne": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan interest rate floor one.",
        "label": "Loan Interest Rate Floor One",
        "terseLabel": "Loan interest rate floor 1"
       }
      }
     },
     "localname": "LoanInterestRateFloorOne",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_LoanInterestRateFloorSeven": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan interest rate floor seven.",
        "label": "Loan Interest Rate Floor Seven",
        "terseLabel": "Loan interest rate floor 7"
       }
      }
     },
     "localname": "LoanInterestRateFloorSeven",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_LoanInterestRateFloorSix": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan interest rate floor six.",
        "label": "Loan Interest Rate Floor Six",
        "terseLabel": "Loan interest rate floor 6"
       }
      }
     },
     "localname": "LoanInterestRateFloorSix",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_LoanInterestRateFloorThree": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan interest rate floor three.",
        "label": "Loan Interest Rate Floor Three",
        "terseLabel": "Loan interest rate floor 3"
       }
      }
     },
     "localname": "LoanInterestRateFloorThree",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_LoanInterestRateFloorTwo": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan interest rate floor two.",
        "label": "Loan Interest Rate Floor Two",
        "terseLabel": "Loan interest rate floor 2"
       }
      }
     },
     "localname": "LoanInterestRateFloorTwo",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_LondonInterbankOfferedRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "London interbank offered rate.",
        "label": "London Interbank Offered Rate [Member]"
       }
      }
     },
     "localname": "LondonInterbankOfferedRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MM222CreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to M M 22 2 Credit Facility.",
        "label": "M M 22 2 Credit Facility [Member]"
       }
      }
     },
     "localname": "MM222CreditFacilityMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MZRAggregatorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MZR Aggregator Member.",
        "label": "MZR Aggregator [Member]"
       }
      }
     },
     "localname": "MZRAggregatorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MachAcquisitionRCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Mach Acquisition R/C.",
        "label": "Mach Acquisition R C [Member]",
        "terseLabel": "Mach Acquisition R/C [Member]"
       }
      }
     },
     "localname": "MachAcquisitionRCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MachAcquisitionTLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mach Acquisition TL.",
        "label": "Mach Acquisition TL [Member]",
        "terseLabel": "Mach Acquisition TL"
       }
      }
     },
     "localname": "MachAcquisitionTLMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ManagementFeeExpenseContractuallyWaived": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of management fee expense contractually waived during the period.",
        "label": "Management Fee Expense, Contractually Waived",
        "terseLabel": "Management fees contractually waived"
       }
      }
     },
     "localname": "ManagementFeeExpenseContractuallyWaived",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_ManagementFeeExpenseVoluntarilyWaived": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of management fee expense voluntarily waived during the period.",
        "label": "Management Fee Expense, Voluntarily Waived",
        "terseLabel": "Management fees voluntarily waived"
       }
      }
     },
     "localname": "ManagementFeeExpenseVoluntarilyWaived",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_MargauxAcquisitionIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Margaux Acquisition Inc.",
        "label": "Margaux Acquisition Inc [Member]",
        "terseLabel": "Margaux Acquisition Inc [Member]"
       }
      }
     },
     "localname": "MargauxAcquisitionIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MargauxUKFinanceLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Margaux UK Finance Limited.",
        "label": "Margaux U K Finance Limited [Member]",
        "terseLabel": "Margaux UK Finance Limited [Member]"
       }
      }
     },
     "localname": "MargauxUKFinanceLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MeasurementInputProbabilityWeightingOfAlternativeOutcomesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using probability weighting of alternative outcomes.",
        "label": "Measurement Input, Probability Weighting of Alternative Outcomes [Member]",
        "terseLabel": "Probability weighting of alternative outcomes"
       }
      }
     },
     "localname": "MeasurementInputProbabilityWeightingOfAlternativeOutcomesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MeasurementInputRecoveryRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using recovery rate.",
        "label": "Measurement Input, Recovery Rate [Member]",
        "terseLabel": "Recovery Rate"
       }
      }
     },
     "localname": "MeasurementInputRecoveryRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MediaAdvertisingPrintingAndPublishingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to media, advertising, printing &amp; publishing.",
        "label": "Media: Advertising, Printing &amp; Publishing"
       }
      }
     },
     "localname": "MediaAdvertisingPrintingAndPublishingMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MediaBroadcastingAndSubscriptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to media broadcasting and subscriptions.",
        "label": "Media: Broadcasting &amp; Subscription"
       }
      }
     },
     "localname": "MediaBroadcastingAndSubscriptionMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MediaDiversifiedAndProductionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to media, diversified &amp; production.",
        "label": "Media: Diversified &amp; Production"
       }
      }
     },
     "localname": "MediaDiversifiedAndProductionMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MediaPublishingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related media: publishing.",
        "label": "Media Publishing"
       }
      }
     },
     "localname": "MediaPublishingMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MembershipInterestsRetainedAsPercentOfObligations": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The membership interests retained as a percent of obligations.",
        "label": "Membership Interests Retained as Percent of Obligations",
        "terseLabel": "Membership interest retained (as a percent)"
       }
      }
     },
     "localname": "MembershipInterestsRetainedAsPercentOfObligations",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_MeriplexCommunicationsLtd.Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Meriplex Communications Ltd..",
        "label": "Meriplex Communications Ltd. [Member]",
        "terseLabel": "Meriplex Communications Ltd [Member]"
       }
      }
     },
     "localname": "MeriplexCommunicationsLtd.Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_Mertus522GmbHMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mertus 522 gmbh.",
        "label": "Mertus 522 GmbH [Member]"
       }
      }
     },
     "localname": "Mertus522GmbHMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MorganStanleyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Morgan Stanley Member.",
        "label": "Morgan Stanley [Member]",
        "terseLabel": "Morgan Stanley"
       }
      }
     },
     "localname": "MorganStanleyMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MorrowSodaliMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Morrow Sodali.",
        "label": "Morrow Sodali [Member]",
        "terseLabel": "Morrow Sodali [Member]"
       }
      }
     },
     "localname": "MorrowSodaliMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MrhTroweBeteiligungsgesellschaftMbhMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MRH trowe beteiligungsgesellschaft MBH.",
        "label": "MRH Trowe Beteiligungsgesellschaft MBH [Member]",
        "terseLabel": "MRH Trowe Beteiligungsgesellschaft MBH [Member]"
       }
      }
     },
     "localname": "MrhTroweBeteiligungsgesellschaftMbhMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MrhtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to MRHT.",
        "label": "Mrht [Member]",
        "terseLabel": "MRHT [Member]"
       }
      }
     },
     "localname": "MrhtMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MriSoftwareLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to MRI Software LLC.",
        "label": "Mri Software Llc [Member]",
        "terseLabel": "MRI Software LLC [Member]"
       }
      }
     },
     "localname": "MriSoftwareLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MusicCreationGroupBidcoGmbHMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Music creation group bidco gmbH.",
        "label": "Music Creation Group Bidco GmbH [Member]"
       }
      }
     },
     "localname": "MusicCreationGroupBidcoGmbHMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_MzrBuyerLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to MZR Buyer, LLC.",
        "label": "Mzr Buyer, L L C [Member]",
        "terseLabel": "MZR Buyer, LLC [Member]"
       }
      }
     },
     "localname": "MzrBuyerLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_NPCInternationalIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "NPC International Inc.",
        "label": "NPC International Inc [Member]"
       }
      }
     },
     "localname": "NPCInternationalIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_NearmapMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to NearMap.",
        "label": "NearMap [Member]"
       }
      }
     },
     "localname": "NearmapMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_NetInvestmentIncomePerShareBasis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net investment income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Net Investment Income Per Share Basis",
        "terseLabel": "Basic net investment income (loss) per common share"
       }
      }
     },
     "localname": "NetInvestmentIncomePerShareBasis",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "bcsf_NetInvestmentIncomePerShareDiluted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net investment income per share diluted.",
        "label": "Net Investment Income Per Share Diluted",
        "terseLabel": "Diluted net investment income (loss) per common share"
       }
      }
     },
     "localname": "NetInvestmentIncomePerShareDiluted",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "bcsf_NewLookDelawareCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to New Look (Delaware) Corporation.",
        "label": "New Look (Delaware) Corporation [Member]",
        "terseLabel": "New Look (Delaware) Corporation [Member]"
       }
      }
     },
     "localname": "NewLookDelawareCorporationMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_NewLookVisionGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to New Look Vision Group.",
        "label": "New Look Vision Group [Member]",
        "terseLabel": "New Look Vision Group [Member]"
       }
      }
     },
     "localname": "NewLookVisionGroupMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_NewMilaniGroupLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "New Milani Group LLC.",
        "label": "New Milani Group LLC [Member]"
       }
      }
     },
     "localname": "NewMilaniGroupLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_NineStoryMediaGroupIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to 9 Story Media Group Inc.",
        "label": "Nine Story Media Group Inc [Member]",
        "terseLabel": "9 Story Media Group Inc [Member]"
       }
      }
     },
     "localname": "NineStoryMediaGroupIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_NonControlledAffiliatedAndControlledEntityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to non-controlled and controlled entity.",
        "label": "Non Controlled Affiliated and Controlled Entity [Member]",
        "terseLabel": "Non-controlled and controlled affiliated company"
       }
      }
     },
     "localname": "NonControlledAffiliatedAndControlledEntityMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_NonControlledAffiliatedEntityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to affiliates in which the Company owns 5% or more of such portfolio company's voting securities but not more than 25% of such portfolio company's voting securities.",
        "label": "Non Controlled Affiliated Entity [Member]",
        "terseLabel": "Non-controlled Affiliated Companies"
       }
      }
     },
     "localname": "NonControlledAffiliatedEntityMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_NonQualifyingAssetsPercentageOfTotalAsset": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of  non-qualifying assets of the total assets.",
        "label": "Non-Qualifying Assets Percentage of Total Asset",
        "terseLabel": "Percentage of non-qualifying assets of total assets"
       }
      }
     },
     "localname": "NonQualifyingAssetsPercentageOfTotalAsset",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_NorwegianInterbankOfferedRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Norwegian interbank offered rate.",
        "label": "Norwegian Interbank Offered Rate [Member]"
       }
      }
     },
     "localname": "NorwegianInterbankOfferedRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_Notes2.55PercentDueOctober2026Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to 2.55% notes due October 2026.",
        "label": "Notes 2.55 Percent Due October 2026 [Member]",
        "terseLabel": "October 2026 Notes"
       }
      }
     },
     "localname": "Notes2.55PercentDueOctober2026Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_Notes2.95PercentDueMarch2026Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to 2.95% notes due march 2026.",
        "label": "Notes 2.95 Percent Due March 2026 [Member]",
        "terseLabel": "March 2026 Notes"
       }
      }
     },
     "localname": "Notes2.95PercentDueMarch2026Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_Notes2018OneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to 2018-1 notes.",
        "label": "Notes 2018 One [Member]",
        "terseLabel": "2018-1 Notes"
       }
      }
     },
     "localname": "Notes2018OneMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_Notes2019OneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to 2019-1 notes.",
        "label": "Notes 2019 One [Member]",
        "terseLabel": "2019-1 Notes"
       }
      }
     },
     "localname": "Notes2019OneMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_Notes8.50PercentDue2023Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to 8.50 % notes due 2023.",
        "label": "Notes 8.50 Percent Due 2023 [Member]",
        "terseLabel": "2023 Notes"
       }
      }
     },
     "localname": "Notes8.50PercentDue2023Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_NumberOfBorrowers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of borrowers at reporting date.",
        "label": "Number of Borrowers",
        "terseLabel": "Number of borrowers in ISLP"
       }
      }
     },
     "localname": "NumberOfBorrowers",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "integerItemType"
    },
    "bcsf_NumberOfCalendarQuartersForCalculationOfBaseManagementFee": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of calendar quarters considered for calculation of base management fees.",
        "label": "Number of Calendar Quarters for Calculation of Base Management Fee",
        "terseLabel": "Number of calendar quarters considered for calculation of base management fees"
       }
      }
     },
     "localname": "NumberOfCalendarQuartersForCalculationOfBaseManagementFee",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "bcsf_NumberOfInvestmentsSecuredAsCollateral": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of investments secured as collateral.",
        "label": "Number of Investments Secured as Collateral",
        "terseLabel": "Number of investments secured as collateral"
       }
      }
     },
     "localname": "NumberOfInvestmentsSecuredAsCollateral",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "bcsf_NumberOfRightsIssuedForEachShareOwned": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of rights offered for each shares owned.",
        "label": "Number of Rights Issued for Each Share Owned",
        "terseLabel": "Number of rights issued for each share owned"
       }
      }
     },
     "localname": "NumberOfRightsIssuedForEachShareOwned",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "bcsf_OfferingCostsPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Offering costs payable.",
        "label": "Offering Costs Payable",
        "terseLabel": "Offering costs payable"
       }
      }
     },
     "localname": "OfferingCostsPayable",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_OfferingCostsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for offering costs.",
        "label": "Offering Costs Policy [Policy Text Block]",
        "terseLabel": "Offering Costs"
       }
      }
     },
     "localname": "OfferingCostsPolicyPolicyTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_OghBidcoLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to OGH Bidco Limited.",
        "label": "OGH Bidco Limited [Member]",
        "terseLabel": "OGH Bidco Limited [Member]"
       }
      }
     },
     "localname": "OghBidcoLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_OmniIntermediateDDMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Omni Intermediate DD.",
        "label": "Omni Intermediate D D [Member]",
        "terseLabel": "Omni Intermediate DD"
       }
      }
     },
     "localname": "OmniIntermediateDDMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_OmniIntermediateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Omni Intermediate.",
        "label": "Omni Intermediate [Member]"
       }
      }
     },
     "localname": "OmniIntermediateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_OmniIntermediateRCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Omni Intermediate R/C.",
        "label": "Omni Intermediate R C [Member]",
        "terseLabel": "Omni Intermediate R/C [Member]"
       }
      }
     },
     "localname": "OmniIntermediateRCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_OmniLogisticsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Omni Logistics LLC.",
        "label": "Omni Logistics LLC [Member]"
       }
      }
     },
     "localname": "OmniLogisticsLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_OneMonthEurocurrencyRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to one-month Eurocurrency rate.",
        "label": "One Month Eurocurrency Rate [Member]",
        "terseLabel": "One-month Eurocurrency rate"
       }
      }
     },
     "localname": "OneMonthEurocurrencyRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_OnventisMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Onventis.",
        "label": "Onventis [Member]"
       }
      }
     },
     "localname": "OnventisMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_Opus2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Opus 2.",
        "label": "Opus 2 [Member]"
       }
      }
     },
     "localname": "Opus2Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_OtherGeneralAndAdministrativeExpenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other general and administrative expense.",
        "label": "Other General and Administrative Expense [Member]",
        "terseLabel": "Other general and administrative expenses"
       }
      }
     },
     "localname": "OtherGeneralAndAdministrativeExpenseMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PPXMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PPX.",
        "label": "PPX [Member]"
       }
      }
     },
     "localname": "PPXMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PaisleyBidcoLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Paisley Bidco Limited.",
        "label": "Paisley Bidco Limited [Member]",
        "terseLabel": "Paisley Bidco Limited [Member]"
       }
      }
     },
     "localname": "PaisleyBidcoLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PantheonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Pantheon.",
        "label": "Pantheon [Member]",
        "terseLabel": "Pantheon"
       }
      }
     },
     "localname": "PantheonMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_Parcel2GoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Parcel 2 Go.",
        "label": "Parcel 2 Go [Member]",
        "terseLabel": "Parcel2 Go [Member]"
       }
      }
     },
     "localname": "Parcel2GoMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ParmenionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Parmenion.",
        "label": "Parmenion [Member]"
       }
      }
     },
     "localname": "ParmenionMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PercentOfAssetCoverage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of borrowings to assets, expressed as percentage.",
        "label": "Percent of Asset Coverage",
        "terseLabel": "Asset coverage ratio (as a percent)"
       }
      }
     },
     "localname": "PercentOfAssetCoverage",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_PharmathenBidcoBvMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pharmathen Bidco Bv.",
        "label": "Pharmathen Bidco Bv [Member]"
       }
      }
     },
     "localname": "PharmathenBidcoBvMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PreIncentiveFeeNetInvestmentIncomeCalculationNumberOfPrecedingCalendarQuarters": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of preceding calendar quarters for pre incentive fee net investment income calculation.",
        "label": "Pre Incentive Fee Net Investment Income Calculation, Number Of Preceding Calendar Quarters",
        "terseLabel": "Number of preceding calendar quarters for pre incentive fee net investment income calculation"
       }
      }
     },
     "localname": "PreIncentiveFeeNetInvestmentIncomeCalculationNumberOfPrecedingCalendarQuarters",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "bcsf_PreIncentiveFeeNetInvestmentIncomeCalculationNumberOfTrailingQuarters": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of trailing quarters for pre incentive fee net investment income calculation.",
        "label": "Pre Incentive Fee Net Investment Income Calculation, Number Of Trailing Quarters",
        "terseLabel": "Number of trailing quarters for pre incentive fee net investment income calculation."
       }
      }
     },
     "localname": "PreIncentiveFeeNetInvestmentIncomeCalculationNumberOfTrailingQuarters",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "bcsf_PreIncentiveFeeNetInvestmentIncomeEqualToLessThanCatchUpAmountMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to pre-incentive fee net investment income less than or equal to catch up amount.",
        "label": "Pre Incentive Fee Net Investment Income Equal To Less Than Catch Up Amount [Member]",
        "terseLabel": "Prior advisory agreement"
       }
      }
     },
     "localname": "PreIncentiveFeeNetInvestmentIncomeEqualToLessThanCatchUpAmountMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PreIncentiveFeeNetInvestmentIncomeExceedsCatchUpAmountMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to pre-incentive fee net investment income exceeds catch up amount.",
        "label": "Pre Incentive Fee Net Investment Income Exceeds Catch Up Amount [Member]",
        "terseLabel": "Amended advisory agreement"
       }
      }
     },
     "localname": "PreIncentiveFeeNetInvestmentIncomeExceedsCatchUpAmountMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PrecisionUltimateHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Precision Ultimate Holdings LLC.",
        "label": "Precision Ultimate Holdings LLC [Member]",
        "terseLabel": "Precision Ultimate Holdings LLC"
       }
      }
     },
     "localname": "PrecisionUltimateHoldingsLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PreferredEquityInterestInInvestmentVehiclesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to preferred equity interest in investment vehicles.",
        "label": "Preferred Equity Interest in Investment Vehicles [Member]",
        "terseLabel": "Preferred equity interest in investment vehicles"
       }
      }
     },
     "localname": "PreferredEquityInterestInInvestmentVehiclesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PreferredEquityInterestInvestmentVehicleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information regarding preferred equity interest investment vehicle.",
        "label": "Preferred Equity Interest Investment Vehicle [Member]",
        "terseLabel": "Preferred Equity Interest Investment Vehicles"
       }
      }
     },
     "localname": "PreferredEquityInterestInvestmentVehicleMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PreferredEquityInterestInvestmentVehiclesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred equity interest investment vehicles.",
        "label": "Preferred Equity Interest Investment Vehicles [Member]"
       }
      }
     },
     "localname": "PreferredEquityInterestInvestmentVehiclesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PreferredEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to preferred equity.",
        "label": "Preferred Equity [Member]",
        "terseLabel": "Preferred Equity"
       }
      }
     },
     "localname": "PreferredEquityMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PremierImagingLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Premier Imaging, LLC.",
        "label": "Premier Imaging, L L C [Member]",
        "terseLabel": "Premier Imaging, LLC [Member]"
       }
      }
     },
     "localname": "PremierImagingLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PrimeflightAcquisitionLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primeflight acquisition LLC.",
        "label": "PrimeFlight Acquisition LLC [Member]"
       }
      }
     },
     "localname": "PrimeflightAcquisitionLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_PyramidGlobalHospitalityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Pyramid Global Hospitality.",
        "label": "Pyramid Global Hospitality [Member]"
       }
      }
     },
     "localname": "PyramidGlobalHospitalityMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_QuarterlyBaseManagementFeePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of quarterly base management fee.",
        "label": "Quarterly Base Management Fee Percentage",
        "terseLabel": "Quarterly base management fee (in percent)"
       }
      }
     },
     "localname": "QuarterlyBaseManagementFeePercentage",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_RealizedGainLossOnDerivatives": {
     "auth_ref": [],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_GainLossOnSaleOfDerivatives",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of realization of gain (loss) on derivatives.",
        "label": "Realized Gain (Loss) on Derivatives",
        "terseLabel": "Net realized gains (losses) on forward currency exchange contracts"
       }
      }
     },
     "localname": "RealizedGainLossOnDerivatives",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_Reconomy1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reconomy 1.",
        "label": "Reconomy 1 [Member]",
        "terseLabel": "Reconomy [Member]"
       }
      }
     },
     "localname": "Reconomy1Member",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ReconomyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Reconomy.",
        "label": "Reconomy [Member]",
        "terseLabel": "Reconomy [Member]"
       }
      }
     },
     "localname": "ReconomyMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_RefineIntermediateIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Refine Intermediate, Inc.",
        "label": "Refine Intermediate, Inc [Member]",
        "terseLabel": "Refine Intermediate, Inc [Member]"
       }
      }
     },
     "localname": "RefineIntermediateIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ReganDevelopmentHoldingsLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regan Development Holdings Limited.",
        "label": "Regan Development Holdings Limited [Member]"
       }
      }
     },
     "localname": "ReganDevelopmentHoldingsLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_RelatedPartyTransactionBaseManagementFeeAnnualPercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percent of annualized base management fee.",
        "label": "Related Party Transaction, Base Management Fee, Annual, Percent",
        "terseLabel": "Annual base management fee (in percent)"
       }
      }
     },
     "localname": "RelatedPartyTransactionBaseManagementFeeAnnualPercent",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_RepcoinvestiiiaomniLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "REPCoinvestIIIAOmni L P.",
        "label": "REPCoinvestIIIAOmni L P [Member]"
       }
      }
     },
     "localname": "RepcoinvestiiiaomniLPMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ResetNotes2019OneCLOMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to 2019-1 CLO reset notes.",
        "label": "Reset Notes 2019 One C L O [Member]",
        "terseLabel": "2019-1 CLO Reset Notes"
       }
      }
     },
     "localname": "ResetNotes2019OneCLOMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ResourceSharingAgreement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of termination by notice by either of the parties.",
        "label": "Resource Sharing Agreement",
        "terseLabel": "Termination period by notice"
       }
      }
     },
     "localname": "ResourceSharingAgreement",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsResourceSharingAgreementDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "bcsf_RestrictedInvestmentPercentageOfNetAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of restricted investment of net assets.",
        "label": "Restricted Investment Percentage of Net Assets",
        "terseLabel": "Percentage of restricted investment of net assets"
       }
      }
     },
     "localname": "RestrictedInvestmentPercentageOfNetAssets",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_RevalizeIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Revalize, Inc.",
        "label": "Revalize, Inc [Member]",
        "terseLabel": "Revalize, Inc [Member]"
       }
      }
     },
     "localname": "RevalizeIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_RevolverCommitmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to revolver commitment.",
        "label": "Revolver"
       }
      }
     },
     "localname": "RevolverCommitmentMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_RevolvingAdvisorLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to revolving advisor loan.",
        "label": "Revolving Advisor Loan [Member]",
        "terseLabel": "Revolving Advisor Loan"
       }
      }
     },
     "localname": "RevolvingAdvisorLoanMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtRevolvingAdvisorLoanDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRevolvingAdvisorLoanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_RightsOfferingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to rights offering.",
        "label": "Rights offering",
        "terseLabel": "Rights offering [Member]"
       }
      }
     },
     "localname": "RightsOfferingMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_RiskFreeRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to risk free rate.",
        "label": "Risk Free Rate [Member]",
        "terseLabel": "Risk free rate"
       }
      }
     },
     "localname": "RiskFreeRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_RoadoneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "RoadOne.",
        "label": "RoadOne",
        "terseLabel": "RoadOne [Member]"
       }
      }
     },
     "localname": "RoadoneMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_RobinsonHelicopterMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Robinson Helicopter.",
        "label": "Robinson Helicopter [Member]",
        "terseLabel": "Robinson Helicopter"
       }
      }
     },
     "localname": "RobinsonHelicopterMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_RocOpcoLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to RoC Opco LLC.",
        "label": "Roc Opco LLC [Member]",
        "terseLabel": "RoC Opco LLC [Member]"
       }
      }
     },
     "localname": "RocOpcoLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SAMMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SAM.",
        "label": "SAM [Member]"
       }
      }
     },
     "localname": "SAMMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SaleOfShareAggregateCommitment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate commitments relating to sale of shares.",
        "label": "Sale of Share, Aggregate Commitment",
        "terseLabel": "Sale of share, aggregate commitment"
       }
      }
     },
     "localname": "SaleOfShareAggregateCommitment",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_SaleOfSharesAggregateNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate number of shares committed to be issued.",
        "label": "Sale of Shares, Aggregate Number of Shares",
        "terseLabel": "Sale of shares, aggregate number of shares"
       }
      }
     },
     "localname": "SaleOfSharesAggregateNumberOfShares",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "bcsf_SaleOfSharesNumberOfCalendarWeeks": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of full calendar weeks for sale of shares after closing of initial public offering.",
        "label": "Sale of Shares, Number of Calendar Weeks",
        "terseLabel": "Sale of shares, number of calendar weeks"
       }
      }
     },
     "localname": "SaleOfSharesNumberOfCalendarWeeks",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "bcsf_SaleOfSharesPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The term for sale of shares after closing of initial public offering.",
        "label": "Sale of Shares Period",
        "terseLabel": "Sale of shares period"
       }
      }
     },
     "localname": "SaleOfSharesPeriod",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "bcsf_SaltounMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Saltoun.",
        "label": "Saltoun [Member]",
        "terseLabel": "Saltoun [Member]"
       }
      }
     },
     "localname": "SaltounMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SaturnPurchaserCorpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Saturn Purchaser Corp.",
        "label": "Saturn Purchaser Corp [Member]",
        "terseLabel": "Saturn Purchaser Corp [Member]"
       }
      }
     },
     "localname": "SaturnPurchaserCorpMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ScheduleOfCarryingValuesOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of carrying value of debt.",
        "label": "Schedule of Carrying Values of Debt [Table Text Block]",
        "terseLabel": "Schedule of components of the carrying value"
       }
      }
     },
     "localname": "ScheduleOfCarryingValuesOfDebtTableTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_ScheduleOfComponentsOfInterestExpenseTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of components of interest expense.",
        "label": "Schedule of Components of Interest Expense [Table Text Block]",
        "terseLabel": "Schedule of components of interest expense"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfInterestExpenseTableTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_ScheduleOfInvestmentByGeographicRegionTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of investment by geographic region.",
        "label": "Schedule of Investment by Geographic Region [Table Text Block]",
        "terseLabel": "Schedule of investment by geographic region"
       }
      }
     },
     "localname": "ScheduleOfInvestmentByGeographicRegionTableTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_ScheduleOfInvestmentByIndustryTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of investment by industry.",
        "label": "Schedule of Investment by Industry [Table Text Block]",
        "terseLabel": "Schedule of investment by industry"
       }
      }
     },
     "localname": "ScheduleOfInvestmentByIndustryTableTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_SecondLienSeniorSecuredLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to second lien senior secured loan.",
        "label": "Second Lien Senior Secured Loan [Member]",
        "terseLabel": "Second Lien Senior Secured Loans"
       }
      }
     },
     "localname": "SecondLienSeniorSecuredLoanMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SecondLienSeniorSecuredLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information regarding second lien senior secured loans.",
        "label": "Second Lien Senior Secured Loans [Member]",
        "terseLabel": "Second Lien Senior Secured Loans"
       }
      }
     },
     "localname": "SecondLienSeniorSecuredLoansMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SecuritiesTransactionsRevenueRecognitionAndExpensesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for securities transactions, revenue recognition and expenses.",
        "label": "Securities Transactions, Revenue Recognition And Expenses Policy [Policy Text Block]",
        "terseLabel": "Securities Transactions, Revenue Recognition and Expenses"
       }
      }
     },
     "localname": "SecuritiesTransactionsRevenueRecognitionAndExpensesPolicyPolicyTextBlock",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "bcsf_SeniorSecuredAndDeferrableNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Senior secured and deferrable notes.",
        "label": "Senior Secured and Deferrable Notes [Member]",
        "terseLabel": "Senior secured and deferrable notes"
       }
      }
     },
     "localname": "SeniorSecuredAndDeferrableNotesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ServiceMasterMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Service Master [Member]"
       }
      }
     },
     "localname": "ServiceMasterMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ServicesBusinessMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related services, business.",
        "label": "Services, Business [Member]",
        "terseLabel": "Services, Business"
       }
      }
     },
     "localname": "ServicesBusinessMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ServicesConsumerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related services, consumer.",
        "label": "Services, Consumer [Member]",
        "terseLabel": "Services, Consumer"
       }
      }
     },
     "localname": "ServicesConsumerMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SharesHeldByRelatedParty": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares held by related party.",
        "label": "Shares Held By Related Party",
        "terseLabel": "Shares held"
       }
      }
     },
     "localname": "SharesHeldByRelatedParty",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRelatedPartyCommitmentsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "bcsf_SharesHeldByRelatedPartyAsPercentOfOutstandingShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of shares held by related party.",
        "label": "Shares Held By Related Party As Percent of Outstanding Shares",
        "terseLabel": "Shares held by related party as percent of outstanding shares"
       }
      }
     },
     "localname": "SharesHeldByRelatedPartyAsPercentOfOutstandingShares",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_SharesIssueDrawdownNoticePeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The drawdown notice period for issue of shares.",
        "label": "Shares Issue, Drawdown Notice Period",
        "terseLabel": "Shares issue, drawdown notice period"
       }
      }
     },
     "localname": "SharesIssueDrawdownNoticePeriod",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "bcsf_SharesIssueUnderTenBFiveOnePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to shares issued under 10b5-1 plan.",
        "label": "Shares issue under Ten B Five One Plan [Member]",
        "terseLabel": "10b5-1 Plan [Member]"
       }
      }
     },
     "localname": "SharesIssueUnderTenBFiveOnePlanMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SimplicityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Simplicity.",
        "label": "Simplicity [Member]"
       }
      }
     },
     "localname": "SimplicityMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SmartronixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Smartronix [Member]"
       }
      }
     },
     "localname": "SmartronixMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SolarayLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Solaray, LLC.",
        "label": "Solaray L L C [Member]",
        "terseLabel": "Solaray, LLC [Member]"
       }
      }
     },
     "localname": "SolarayLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SpringFincoBvMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Spring Finco BV.",
        "label": "Spring Finco BV [Member]",
        "terseLabel": "Spring Finco BV"
       }
      }
     },
     "localname": "SpringFincoBvMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SpringFincoDdTLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Spring finco DD T L.",
        "label": "Spring Finco DD T L [Member]",
        "terseLabel": "Spring Finco DD T/L [Member]"
       }
      }
     },
     "localname": "SpringFincoDdTLMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_StandardCharteredBankMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Standard Chartered Bank Member.",
        "label": "Standard Chartered Bank [Member]",
        "terseLabel": "Standard Chartered Bank"
       }
      }
     },
     "localname": "StandardCharteredBankMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_StantonCarpetMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stanton Carpet.",
        "label": "Stanton Carpet [Member]"
       }
      }
     },
     "localname": "StantonCarpetMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SterlingOvernightInterbankAverageRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sterling overnight interbank average rate.",
        "label": "Sterling Overnight Interbank Average Rate [Member]"
       }
      }
     },
     "localname": "SterlingOvernightInterbankAverageRateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_StructuredProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents structured products has a lower priority of repayment in liquidation of the entity's assets.",
        "label": "Structured Products"
       }
      }
     },
     "localname": "StructuredProductsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SubAdministratorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to sub-administrator.",
        "label": "Sub Administrator [Member]",
        "terseLabel": "Sub-administrator"
       }
      }
     },
     "localname": "SubAdministratorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SubordinatedNoteInInvestmentVehiclesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to subordinated note in investment vehicles.",
        "label": "Subordinated Note in Investment Vehicles [Member]",
        "terseLabel": "Subordinated Notes in Investment Vehicles"
       }
      }
     },
     "localname": "SubordinatedNoteInInvestmentVehiclesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SubordinatedNoteInvestmentVehicleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to subordinated note investment vehicle.",
        "label": "Subordinated Note Investment Vehicle [Member]",
        "terseLabel": "Subordinated Note Investment Vehicle"
       }
      }
     },
     "localname": "SubordinatedNoteInvestmentVehicleMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SubordinatedNoteInvestmentVehiclesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Subordinated note investment vehicles.",
        "label": "Subordinated Note Investment Vehicles [Member]"
       }
      }
     },
     "localname": "SubordinatedNoteInvestmentVehiclesMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SumitomoCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to sumitomo credit facility.",
        "label": "Sumitomo Credit Facility [Member]",
        "terseLabel": "Sumitomo Credit Facility"
       }
      }
     },
     "localname": "SumitomoCreditFacilityMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityInterestExpenseDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SumupHoldingsLuxembourgSarlMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SumUp Holdings Luxembourg Sarl.",
        "label": "SumUp Holdings Luxembourg Sarl [Member]"
       }
      }
     },
     "localname": "SumupHoldingsLuxembourgSarlMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SunmedGroupHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to SunMed Group Holdings, LLC.",
        "label": "SunMed Group Holdings, L L C [Member]",
        "terseLabel": "SunMed Group Holdings, LLC [Member]"
       }
      }
     },
     "localname": "SunmedGroupHoldingsLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SupernaIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Superna Inc.",
        "label": "Superna Inc [Member]",
        "terseLabel": "Superna Inc [Member]"
       }
      }
     },
     "localname": "SupernaIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SurewerxMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to SureWerx.",
        "label": "SureWerx",
        "terseLabel": "SureWerx [Member]"
       }
      }
     },
     "localname": "SurewerxMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SurreyBidcoLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Surrey Bidco Limited.",
        "label": "Surrey Bidco Limited [Member]"
       }
      }
     },
     "localname": "SurreyBidcoLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_SwoogoLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Swoogo LLC.",
        "label": "Swoogo L L C [Member]",
        "terseLabel": "Swoogo LLC [Member]"
       }
      }
     },
     "localname": "SwoogoLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TAWegHoldingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to TA Weg Holdings.",
        "label": "TA Weg Holdings [Member]",
        "terseLabel": "TA Weg Holdings [Member]"
       }
      }
     },
     "localname": "TAWegHoldingsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TCFIIIOwlFinanceLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TCFIII Owl Finance LLC.",
        "label": "TCFIII Owl Finance LLC [Member]"
       }
      }
     },
     "localname": "TCFIIIOwlFinanceLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TEIHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to TEI Holdings Inc.",
        "label": "T E I Holdings Inc [Member]",
        "terseLabel": "TEI Holdings Inc [Member]"
       }
      }
     },
     "localname": "TEIHoldingsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TGISportBidcoPtyLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to TGI Sport Bidco Pty Ltd",
        "label": "T G I Sport Bidco Pty Ltd [Member]",
        "terseLabel": "TGI Sport Bidco Pty Ltd [Member]"
       }
      }
     },
     "localname": "TGISportBidcoPtyLtdMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TLCHoldcoLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TLC Holdco LP.",
        "label": "TLC Holdco LP [Member]"
       }
      }
     },
     "localname": "TLCHoldcoLPMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TLCPurchaserIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to TLC Purchaser, Inc.",
        "label": "T L C Purchaser, Inc [Member]",
        "terseLabel": "TLC Purchaser, Inc [Member]"
       }
      }
     },
     "localname": "TLCPurchaserIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TangentTechnologiesAcquisitionLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tangent Technologies Acquisition LLC.",
        "label": "Tangent Technologies Acquisition LLC [Member]"
       }
      }
     },
     "localname": "TangentTechnologiesAcquisitionLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TaoglasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Taoglas.",
        "label": "Taoglas [Member]",
        "terseLabel": "Taoglas [Member]"
       }
      }
     },
     "localname": "TaoglasMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TcfiiiOwlFinanceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TCFIII Owl Finance",
        "label": "TCFIII Owl Finance [Member]"
       }
      }
     },
     "localname": "TcfiiiOwlFinanceMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TecostarHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "TecoStar holdings Inc.",
        "label": "TecoStar Holdings Inc [Member]"
       }
      }
     },
     "localname": "TecostarHoldingsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TelecommunicationsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Telecommunications [Member]"
       }
      }
     },
     "localname": "TelecommunicationsMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TelecommunicationsSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to telecommunications.",
        "label": "Telecommunications"
       }
      }
     },
     "localname": "TelecommunicationsSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ThrasioLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Thrasio LLC.",
        "label": "Thrasio LLC [Member]"
       }
      }
     },
     "localname": "ThrasioLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ThresholdAssetCoverageRatioRequirementForBorrowingsPercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The threshold ratio of borrowings to assets, expressed as percentage.",
        "label": "Threshold Asset Coverage Ratio Requirement for Borrowings, Percent",
        "terseLabel": "Threshold asset coverage ratio (as a percent)"
       }
      }
     },
     "localname": "ThresholdAssetCoverageRatioRequirementForBorrowingsPercent",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "bcsf_TitanCloudSoftwareIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Titan Cloud Software, Inc.",
        "label": "Titan Cloud Software, Inc [Member]",
        "terseLabel": "Titan Cloud Software, Inc [Member]"
       }
      }
     },
     "localname": "TitanCloudSoftwareIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ToroPrivateInvestmentsIiLpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Toro Private Investments II LP.",
        "label": "Toro Private Investments II LP [Member]"
       }
      }
     },
     "localname": "ToroPrivateInvestmentsIiLpMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TotalDebtNetOfUnamortizedDebtIssuanceCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of debt outstanding as of the reporting period, net of unamortized debt issuance costs.",
        "label": "Total Debt Net Of Unamortized Debt Issuance Costs",
        "terseLabel": "Debt (net of unamortized debt issuance costs of $8,893 and $10,197, respectively)",
        "verboseLabel": "Debt"
       }
      }
     },
     "localname": "TotalDebtNetOfUnamortizedDebtIssuanceCosts",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_TransportationCargoControlledAffiliateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Transportation Cargo Controlled Affiliate.",
        "label": "Transportation Cargo Controlled Affiliate [Member]"
       }
      }
     },
     "localname": "TransportationCargoControlledAffiliateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TransportationCargoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transportation Cargo [Member]",
        "terseLabel": "Transportation Sector"
       }
      }
     },
     "localname": "TransportationCargoMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TransportationCargoSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transportation Cargo Sector.",
        "label": "Transportation Cargo"
       }
      }
     },
     "localname": "TransportationCargoSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TransportationConsumerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transportation Consumer [Member]",
        "terseLabel": "Transportation Consumer"
       }
      }
     },
     "localname": "TransportationConsumerMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TransportationConsumerNonControlledAffiliateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Transportation Consumer Non Controlled Affiliate.",
        "label": "Transportation Consumer Non Controlled Affiliate [Member]"
       }
      }
     },
     "localname": "TransportationConsumerNonControlledAffiliateMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_TransportationConsumerSectorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of the economy consisting of companies engaged in Transportation Consumer Sector.",
        "label": "Transportation Consumer Sector [Member]",
        "terseLabel": "Transportation Consumer"
       }
      }
     },
     "localname": "TransportationConsumerSectorMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_UnrealizedDepreciationOnForwardCurrencyExchangeContracts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The present value of unrealized depreciation on forward currency exchange contracts.",
        "label": "Unrealized Depreciation On Forward Currency Exchange Contracts",
        "terseLabel": "Unrealized depreciation on forward currency exchange contracts"
       }
      }
     },
     "localname": "UnrealizedDepreciationOnForwardCurrencyExchangeContracts",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "bcsf_UtimacoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Utimaco Inc.",
        "label": "Utimaco Inc [Member]"
       }
      }
     },
     "localname": "UtimacoIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_VGlobalHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to V Global Holdings LLC.",
        "label": "V Global Holdings L L C [Member]",
        "terseLabel": "V Global Holdings LLC [Member]"
       }
      }
     },
     "localname": "VGlobalHoldingsLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_VPARKBIDCOABMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "VPARKBIDCOAB.",
        "label": "VPARKBIDCOAB [Member]"
       }
      }
     },
     "localname": "VPARKBIDCOABMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ValuationTechniqueCollateralCoverageAnalysisMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach using collateral coverage analysis.",
        "label": "Valuation Technique, Collateral Coverage Analysis [Member]",
        "terseLabel": "Collateral"
       }
      }
     },
     "localname": "ValuationTechniqueCollateralCoverageAnalysisMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ValuationTechniqueComparableCompanyMultipleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach using comparable company multiple.",
        "label": "Valuation Technique, Comparable Company Multiple [Member]",
        "terseLabel": "Comparable company multiple"
       }
      }
     },
     "localname": "ValuationTechniqueComparableCompanyMultipleMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_VentivHoldcoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Ventiv Holdco, Inc.",
        "label": "Ventiv Holdco, Inc [Member]",
        "terseLabel": "Ventiv Holdco, Inc [Member]"
       }
      }
     },
     "localname": "VentivHoldcoIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_VentivTopcoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ventiv topco Inc.",
        "label": "Ventiv Topco Inc [Member]"
       }
      }
     },
     "localname": "VentivTopcoIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WCIGigawattPurchaserDDTLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to WCI Gigawatt Purchaser DD T/L.",
        "label": "W C I Gigawatt Purchaser D D T L [Member]",
        "terseLabel": "WCI Gigawatt Purchaser DD T/L"
       }
      }
     },
     "localname": "WCIGigawattPurchaserDDTLMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WCIGigawattPurchaserMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WCI Gigawatt Purchaser.",
        "label": "WC IGigawatt Purchaser [Member]"
       }
      }
     },
     "localname": "WCIGigawattPurchaserMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WPCPPHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WP CPP Holdings LLC.",
        "label": "WP CPP Holdings LLC [Member]",
        "terseLabel": "WP CPP Holdings LLC"
       }
      }
     },
     "localname": "WPCPPHoldingsLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WSPInitialTermLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to WSP Initial Term Loan.",
        "label": "WSP Initial Term Loan",
        "terseLabel": "WSP Initial Term Loan [Member]"
       }
      }
     },
     "localname": "WSPInitialTermLoanMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WSPRevolvingLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to WSP Revolving Loan.",
        "label": "WSP Revolving Loan",
        "terseLabel": "WSP Revolving Loan [Member]",
        "verboseLabel": "WSP - Revolver"
       }
      }
     },
     "localname": "WSPRevolvingLoanMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WUHoldcoIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to WU Holdco, Inc.",
        "label": "WU Holdco, Inc.",
        "terseLabel": "WU Holdco, Inc [Member]"
       }
      }
     },
     "localname": "WUHoldcoIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WalkerEdisonFirstFurnitureCompanyLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Walker Edison First Furniture Company LLC.",
        "label": "Walker Edison First Furniture Company LLC [Member]",
        "terseLabel": "Walker Edison First Furniture Company LLC"
       }
      }
     },
     "localname": "WalkerEdisonFirstFurnitureCompanyLlcMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WalkerEdisonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Walker Edison [Member]",
        "terseLabel": "Walker Edison [Member]"
       }
      }
     },
     "localname": "WalkerEdisonMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WhitcraftLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Whitcraft LLC.",
        "label": "Whitcraft L L C [Member]",
        "terseLabel": "Whitcraft LLC [Member]"
       }
      }
     },
     "localname": "WhitcraftLLCMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WhitcraftParadigmMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Whitcraft Paradigm.",
        "label": "Whitcraft Paradigm [Member]",
        "terseLabel": "Whitcraft Paradigm [Member]"
       }
      }
     },
     "localname": "WhitcraftParadigmMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WholesaleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to wholesale.",
        "label": "Wholesale [Member]",
        "terseLabel": "Wholesale"
       }
      }
     },
     "localname": "WholesaleMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WorldInsuranceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to World Insurance.",
        "label": "World Insurance [Member]",
        "terseLabel": "World Insurance [Member]"
       }
      }
     },
     "localname": "WorldInsuranceMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WspRevolverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WSP revolver.",
        "label": "WSP Revolver [Member]",
        "terseLabel": "WSP Revolver [Member]"
       }
      }
     },
     "localname": "WspRevolverMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_WsplpInterestMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WSPLP Interest Member",
        "label": "WSPLP Interest Member"
       }
      }
     },
     "localname": "WsplpInterestMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_YLGHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to YLG Holdings, Inc.",
        "label": "YLG Holdings, Inc.",
        "terseLabel": "YLG Holdings, Inc [Member]"
       }
      }
     },
     "localname": "YLGHoldingsIncMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_ZeppelinBidCoPtyLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zeppelin BidCo Pty Limited.",
        "label": "Zeppelin BidCo Pty Limited [Member]"
       }
      }
     },
     "localname": "ZeppelinBidCoPtyLimitedMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "bcsf_masLaborMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "mas Labor [Member]",
        "terseLabel": "MasLabor [Member]"
       }
      }
     },
     "localname": "masLaborMember",
     "nsuri": "http://www.baincapital.com/20230630",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "cef_AcquiredFundFeesAndExpensesNoteTextBlock": {
     "auth_ref": [
      "r913"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundFeesAndExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundFeesAndExpensesPercent": {
     "auth_ref": [
      "r914"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees and Expenses [Percent]"
       }
      }
     },
     "localname": "AcquiredFundFeesAndExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AcquiredFundFeesEstimatedNoteTextBlock": {
     "auth_ref": [
      "r915"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Fees Estimated, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundFeesEstimatedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundIncentiveAllocationNoteTextBlock": {
     "auth_ref": [
      "r916"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Incentive Allocation, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundIncentiveAllocationNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AcquiredFundTotalAnnualExpensesNoteTextBlock": {
     "auth_ref": [
      "r917"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Fund Total Annual Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "AcquiredFundTotalAnnualExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AllRisksMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Risks:"
       }
      }
     },
     "localname": "AllRisksMember",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "cef_AnnualCoverageReturnRatePercent": {
     "auth_ref": [
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Coverage Return Rate [Percent]"
       }
      }
     },
     "localname": "AnnualCoverageReturnRatePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualDividendPayment": {
     "auth_ref": [
      "r942"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment"
       }
      }
     },
     "localname": "AnnualDividendPayment",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualDividendPaymentCurrent": {
     "auth_ref": [
      "r942"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Current"
       }
      }
     },
     "localname": "AnnualDividendPaymentCurrent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualDividendPaymentInitial": {
     "auth_ref": [
      "r942"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Dividend Payment, Initial"
       }
      }
     },
     "localname": "AnnualDividendPaymentInitial",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_AnnualExpensesTableTextBlock": {
     "auth_ref": [
      "r921"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Expenses [Table Text Block]"
       }
      }
     },
     "localname": "AnnualExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_AnnualInterestRateCurrentPercent": {
     "auth_ref": [
      "r942"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Current [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRateCurrentPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualInterestRateInitialPercent": {
     "auth_ref": [
      "r942"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate, Initial [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRateInitialPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_AnnualInterestRatePercent": {
     "auth_ref": [
      "r942"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Interest Rate [Percent]"
       }
      }
     },
     "localname": "AnnualInterestRatePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_BasisOfTransactionFeesNoteTextBlock": {
     "auth_ref": [
      "r919"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Transaction Fees, Note [Text Block]"
       }
      }
     },
     "localname": "BasisOfTransactionFeesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_BdcFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BDC File Number"
       }
      }
     },
     "localname": "BdcFileNumber",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "cef_BusinessDevelopmentCompanyFlag": {
     "auth_ref": [
      "r886"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Development Company [Flag]"
       }
      }
     },
     "localname": "BusinessDevelopmentCompanyFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_CapitalStockLongTermDebtAndOtherSecuritiesAbstract": {
     "auth_ref": [
      "r887"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock, Long-Term Debt, and Other Securities [Abstract]"
       }
      }
     },
     "localname": "CapitalStockLongTermDebtAndOtherSecuritiesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_CapitalStockTableTextBlock": {
     "auth_ref": [
      "r888"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Stock [Table Text Block]"
       }
      }
     },
     "localname": "CapitalStockTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_DistributionServicingFeesPercent": {
     "auth_ref": [
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distribution/Servicing Fees [Percent]"
       }
      }
     },
     "localname": "DistributionServicingFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DistributionsMayReducePrincipalTextBlock": {
     "auth_ref": [
      "r895"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Distributions May Reduce Principal [Text Block]"
       }
      }
     },
     "localname": "DistributionsMayReducePrincipalTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_DividendAndInterestExpensesOnShortSalesPercent": {
     "auth_ref": [
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend and Interest Expenses on Short Sales [Percent]"
       }
      }
     },
     "localname": "DividendAndInterestExpensesOnShortSalesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DividendExpenseOnPreferredSharesPercent": {
     "auth_ref": [
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Expenses on Preferred Shares [Percent]"
       }
      }
     },
     "localname": "DividendExpenseOnPreferredSharesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_DividendReinvestmentAndCashPurchaseFees": {
     "auth_ref": [
      "r911"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend Reinvestment and Cash Purchase Fees"
       }
      }
     },
     "localname": "DividendReinvestmentAndCashPurchaseFees",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_EffectsOfLeveragePurposeTextBlock": {
     "auth_ref": [
      "r944"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage, Purpose [Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeveragePurposeTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_EffectsOfLeverageTableTextBlock": {
     "auth_ref": [
      "r944"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Table Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeverageTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_EffectsOfLeverageTextBlock": {
     "auth_ref": [
      "r941"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects of Leverage [Text Block]"
       }
      }
     },
     "localname": "EffectsOfLeverageTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ExpenseExampleTableTextBlock": {
     "auth_ref": [
      "r911"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example [Table Text Block]"
       }
      }
     },
     "localname": "ExpenseExampleTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ExpenseExampleYear01": {
     "auth_ref": [
      "r918"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Year 01"
       }
      }
     },
     "localname": "ExpenseExampleYear01",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to10": {
     "auth_ref": [
      "r918"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 10"
       }
      }
     },
     "localname": "ExpenseExampleYears1to10",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to3": {
     "auth_ref": [
      "r918"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 3"
       }
      }
     },
     "localname": "ExpenseExampleYears1to3",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_ExpenseExampleYears1to5": {
     "auth_ref": [
      "r918"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense Example, Years 1 to 5"
       }
      }
     },
     "localname": "ExpenseExampleYears1to5",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_FeeTableAbstract": {
     "auth_ref": [
      "r911"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fee Table [Abstract]"
       }
      }
     },
     "localname": "FeeTableAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_FinancialHighlightsAbstract": {
     "auth_ref": [
      "r926"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Highlights [Abstract]"
       }
      }
     },
     "localname": "FinancialHighlightsAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_GeneralDescriptionOfRegistrantAbstract": {
     "auth_ref": [
      "r938"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General Description of Registrant [Abstract]"
       }
      }
     },
     "localname": "GeneralDescriptionOfRegistrantAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_HighestPriceOrBid": {
     "auth_ref": [
      "r945"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid"
       }
      }
     },
     "localname": "HighestPriceOrBid",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_HighestPriceOrBidNav": {
     "auth_ref": [
      "r949"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, NAV"
       }
      }
     },
     "localname": "HighestPriceOrBidNav",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_HighestPriceOrBidPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r950"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Highest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "HighestPriceOrBidPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationMaximumPercent": {
     "auth_ref": [
      "r916"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Maximum [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationMaximumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationMinimumPercent": {
     "auth_ref": [
      "r916"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation Minimum [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationMinimumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveAllocationPercent": {
     "auth_ref": [
      "r916"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Allocation [Percent]"
       }
      }
     },
     "localname": "IncentiveAllocationPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IncentiveFeesPercent": {
     "auth_ref": [
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incentive Fees [Percent]"
       }
      }
     },
     "localname": "IncentiveFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_InterestExpensesOnBorrowingsPercent": {
     "auth_ref": [
      "r924"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expenses on Borrowings [Percent]"
       }
      }
     },
     "localname": "InterestExpensesOnBorrowingsPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_IntervalFundFlag": {
     "auth_ref": [
      "r886"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interval Fund [Flag]"
       }
      }
     },
     "localname": "IntervalFundFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_InvestmentObjectivesAndPracticesTextBlock": {
     "auth_ref": [
      "r939"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Objectives and Practices [Text Block]"
       }
      }
     },
     "localname": "InvestmentObjectivesAndPracticesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LatestNav": {
     "auth_ref": [
      "r951"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest NAV (Deprecated 2023-01-31)"
       }
      }
     },
     "localname": "LatestNav",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LatestPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r951"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "LatestPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_LatestSharePrice": {
     "auth_ref": [
      "r951"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Latest Share Price (Deprecated 2023-01-31)"
       }
      }
     },
     "localname": "LatestSharePrice",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LoanServicingFeesPercent": {
     "auth_ref": [
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Servicing Fees [Percent]"
       }
      }
     },
     "localname": "LoanServicingFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_LongTermDebtDividendsAndCovenantsTextBlock": {
     "auth_ref": [
      "r902"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Dividends and Covenants [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtDividendsAndCovenantsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtIssuanceAndSubstitutionTextBlock": {
     "auth_ref": [
      "r903"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Issuance and Substitution [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtIssuanceAndSubstitutionTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtPrincipal": {
     "auth_ref": [
      "r900"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Principal"
       }
      }
     },
     "localname": "LongTermDebtPrincipal",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_LongTermDebtRightsLimitedByOtherSecuritiesTextBlock": {
     "auth_ref": [
      "r904"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtRightsLimitedByOtherSecuritiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtStructuringTextBlock": {
     "auth_ref": [
      "r901"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Structuring [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtStructuringTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtTableTextBlock": {
     "auth_ref": [
      "r900"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt [Table Text Block]"
       }
      }
     },
     "localname": "LongTermDebtTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LongTermDebtTitleTextBlock": {
     "auth_ref": [
      "r900"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt, Title [Text Block]"
       }
      }
     },
     "localname": "LongTermDebtTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_LowestPriceOrBid": {
     "auth_ref": [
      "r945"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid"
       }
      }
     },
     "localname": "LowestPriceOrBid",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LowestPriceOrBidNav": {
     "auth_ref": [
      "r949"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, NAV"
       }
      }
     },
     "localname": "LowestPriceOrBidNav",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_LowestPriceOrBidPremiumDiscountToNavPercent": {
     "auth_ref": [
      "r950"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lowest Price or Bid, Premium (Discount) to NAV [Percent]"
       }
      }
     },
     "localname": "LowestPriceOrBidPremiumDiscountToNavPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ManagementFeeNotBasedOnNetAssetsNoteTextBlock": {
     "auth_ref": [
      "r923"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fee not based on Net Assets, Note [Text Block]"
       }
      }
     },
     "localname": "ManagementFeeNotBasedOnNetAssetsNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ManagementFeesPercent": {
     "auth_ref": [
      "r922"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Fees [Percent]"
       }
      }
     },
     "localname": "ManagementFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_NetExpenseOverAssetsPercent": {
     "auth_ref": [
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Expense over Assets [Percent]"
       }
      }
     },
     "localname": "NetExpenseOverAssetsPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_NewCefOrBdcRegistrantFlag": {
     "auth_ref": [
      "r886"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New CEF or BDC Registrant [Flag]"
       }
      }
     },
     "localname": "NewCefOrBdcRegistrantFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_NoPublicTradingTextBlock": {
     "auth_ref": [
      "r948"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Public Trading [Text Block]"
       }
      }
     },
     "localname": "NoPublicTradingTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_NoTradingHistoryTextBlock": {
     "auth_ref": [
      "r952"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Trading History [Text Block]"
       }
      }
     },
     "localname": "NoTradingHistoryTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherAnnualExpense1Percent": {
     "auth_ref": [
      "r925"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 1.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 1 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense1Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpense2Percent": {
     "auth_ref": [
      "r925"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 2.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 2 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense2Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpense3Percent": {
     "auth_ref": [
      "r925"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": 3.0,
       "parentTag": "cef_OtherAnnualExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expense 3 [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpense3Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherAnnualExpensesAbstract": {
     "auth_ref": [
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Abstract]"
       }
      }
     },
     "localname": "OtherAnnualExpensesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_OtherAnnualExpensesPercent": {
     "auth_ref": [
      "r925"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Ae": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Annual Expenses [Percent]"
       }
      }
     },
     "localname": "OtherAnnualExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherExpensesNoteTextBlock": {
     "auth_ref": [
      "r921"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses, Note [Text Block]"
       }
      }
     },
     "localname": "OtherExpensesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherFeederFundExpensesPercent": {
     "auth_ref": [
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Feeder Fund Expenses [Percent]"
       }
      }
     },
     "localname": "OtherFeederFundExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherMasterFundExpensesPercent": {
     "auth_ref": [
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Master Fund Expenses [Percent]"
       }
      }
     },
     "localname": "OtherMasterFundExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherSecuritiesTableTextBlock": {
     "auth_ref": [
      "r905"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Securities [Table Text Block]"
       }
      }
     },
     "localname": "OtherSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherSecurityDescriptionTextBlock": {
     "auth_ref": [
      "r905"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Description [Text Block]"
       }
      }
     },
     "localname": "OtherSecurityDescriptionTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherSecurityTitleTextBlock": {
     "auth_ref": [
      "r905"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Security, Title [Text Block]"
       }
      }
     },
     "localname": "OtherSecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherTransactionExpense1Percent": {
     "auth_ref": [
      "r920"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 1.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 1 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense1Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpense2Percent": {
     "auth_ref": [
      "r920"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 2.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 2 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense2Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpense3Percent": {
     "auth_ref": [
      "r920"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": 3.0,
       "parentTag": "cef_OtherTransactionExpensesPercent",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expense 3 [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpense3Percent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionExpensesAbstract": {
     "auth_ref": [
      "r920"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Abstract]"
       }
      }
     },
     "localname": "OtherTransactionExpensesAbstract",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_OtherTransactionExpensesPercent": {
     "auth_ref": [
      "r920"
     ],
     "calculation": {
      "http://xbrl.sec.gov/cef/role/Item3Te": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Expenses [Percent]"
       }
      }
     },
     "localname": "OtherTransactionExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionFeesBasisMaximum": {
     "auth_ref": [
      "r920"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisMaximum",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_OtherTransactionFeesBasisMaximumPercent": {
     "auth_ref": [
      "r920"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Maximum [Percent]"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisMaximumPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_OtherTransactionFeesBasisNoteTextBlock": {
     "auth_ref": [
      "r920"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees Basis, Note [Text Block]"
       }
      }
     },
     "localname": "OtherTransactionFeesBasisNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OtherTransactionFeesNoteTextBlock": {
     "auth_ref": [
      "r920"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Transaction Fees, Note [Text Block]"
       }
      }
     },
     "localname": "OtherTransactionFeesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OutstandingSecuritiesTableTextBlock": {
     "auth_ref": [
      "r906"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Securities [Table Text Block]"
       }
      }
     },
     "localname": "OutstandingSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_OutstandingSecurityAuthorizedShares": {
     "auth_ref": [
      "r908"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Authorized [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityAuthorizedShares",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityHeldShares": {
     "auth_ref": [
      "r909"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Held [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityHeldShares",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityNotHeldShares": {
     "auth_ref": [
      "r910"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Not Held [Shares]"
       }
      }
     },
     "localname": "OutstandingSecurityNotHeldShares",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sharesItemType"
    },
    "cef_OutstandingSecurityTitleTextBlock": {
     "auth_ref": [
      "r907"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Security, Title [Text Block]"
       }
      }
     },
     "localname": "OutstandingSecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PreferredStockRestrictionsArrearageTextBlock": {
     "auth_ref": [
      "r896"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Arrearage [Text Block]"
       }
      }
     },
     "localname": "PreferredStockRestrictionsArrearageTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PreferredStockRestrictionsOtherTextBlock": {
     "auth_ref": [
      "r897"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock Restrictions, Other [Text Block]"
       }
      }
     },
     "localname": "PreferredStockRestrictionsOtherTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_PrimaryShelfFlag": {
     "auth_ref": [
      "r886"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf [Flag]"
       }
      }
     },
     "localname": "PrimaryShelfFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_PrimaryShelfQualifiedFlag": {
     "auth_ref": [
      "r886"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Shelf Qualified [Flag]"
       }
      }
     },
     "localname": "PrimaryShelfQualifiedFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_ProspectusLineItems": {
     "auth_ref": [
      "r886"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Line Items]"
       }
      }
     },
     "localname": "ProspectusLineItems",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "xbrltype": "stringItemType"
    },
    "cef_ProspectusTable": {
     "auth_ref": [
      "r886"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus:"
       }
      }
     },
     "localname": "ProspectusTable",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_PurposeOfFeeTableNoteTextBlock": {
     "auth_ref": [
      "r912"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purpose of Fee Table , Note [Text Block]"
       }
      }
     },
     "localname": "PurposeOfFeeTableNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RegisteredClosedEndFundFlag": {
     "auth_ref": [
      "r886"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Registered Closed-End Fund [Flag]"
       }
      }
     },
     "localname": "RegisteredClosedEndFundFlag",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "cef_ReturnAtMinusFivePercent": {
     "auth_ref": [
      "r944"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Five [Percent]"
       }
      }
     },
     "localname": "ReturnAtMinusFivePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtMinusTenPercent": {
     "auth_ref": [
      "r944"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Minus Ten [Percent]"
       }
      }
     },
     "localname": "ReturnAtMinusTenPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtPlusFivePercent": {
     "auth_ref": [
      "r944"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Five [Percent]"
       }
      }
     },
     "localname": "ReturnAtPlusFivePercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtPlusTenPercent": {
     "auth_ref": [
      "r944"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Plus Ten [Percent]"
       }
      }
     },
     "localname": "ReturnAtPlusTenPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_ReturnAtZeroPercent": {
     "auth_ref": [
      "r944"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return at Zero [Percent]"
       }
      }
     },
     "localname": "ReturnAtZeroPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_RightsLimitedByOtherSecuritiesTextBlock": {
     "auth_ref": [
      "r899"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Limited by Other Securities [Text Block]"
       }
      }
     },
     "localname": "RightsLimitedByOtherSecuritiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RightsSubjectToOtherThanMajorityVoteTextBlock": {
     "auth_ref": [
      "r898"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rights Subject to Other than Majority Vote [Text Block]"
       }
      }
     },
     "localname": "RightsSubjectToOtherThanMajorityVoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RiskAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Axis]"
       }
      }
     },
     "localname": "RiskAxis",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "cef_RiskFactorsTableTextBlock": {
     "auth_ref": [
      "r940"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk Factors [Table Text Block]"
       }
      }
     },
     "localname": "RiskFactorsTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_RiskTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk [Text Block]"
       }
      }
     },
     "localname": "RiskTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SalesLoadPercent": {
     "auth_ref": [
      "r911"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales Load [Percent]"
       }
      }
     },
     "localname": "SalesLoadPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_SecurityDividendsTextBlock": {
     "auth_ref": [
      "r889"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Dividends [Text Block]"
       }
      }
     },
     "localname": "SecurityDividendsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityLiabilitiesTextBlock": {
     "auth_ref": [
      "r892"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liabilities [Text Block]"
       }
      }
     },
     "localname": "SecurityLiabilitiesTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityLiquidationRightsTextBlock": {
     "auth_ref": [
      "r891"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Liquidation Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityLiquidationRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityObligationsOfOwnershipTextBlock": {
     "auth_ref": [
      "r894"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Obligations of Ownership [Text Block]"
       }
      }
     },
     "localname": "SecurityObligationsOfOwnershipTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityPreemptiveAndOtherRightsTextBlock": {
     "auth_ref": [
      "r893"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Preemptive and Other Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityPreemptiveAndOtherRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityTitleTextBlock": {
     "auth_ref": [
      "r888"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Title [Text Block]"
       }
      }
     },
     "localname": "SecurityTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SecurityVotingRightsTextBlock": {
     "auth_ref": [
      "r890"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Voting Rights [Text Block]"
       }
      }
     },
     "localname": "SecurityVotingRightsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesAmount": {
     "auth_ref": [
      "r931"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Amount (Deprecated 2023-01-31)"
       }
      }
     },
     "localname": "SeniorSecuritiesAmount",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_SeniorSecuritiesAmt": {
     "auth_ref": [
      "r931"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Amount"
       }
      }
     },
     "localname": "SeniorSecuritiesAmt",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_SeniorSecuritiesAverageMarketValuePerUnit": {
     "auth_ref": [
      "r934"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Average Market Value per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesAverageMarketValuePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesAveragingMethodNoteTextBlock": {
     "auth_ref": [
      "r936"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Averaging Method, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesAveragingMethodNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesCoveragePerUnit": {
     "auth_ref": [
      "r932"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Coverage per Unit (Deprecated 2023-01-31)"
       }
      }
     },
     "localname": "SeniorSecuritiesCoveragePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesCvgPerUnit": {
     "auth_ref": [
      "r932"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Coverage per Unit"
       }
      }
     },
     "localname": "SeniorSecuritiesCvgPerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesHeadingsNoteTextBlock": {
     "auth_ref": [
      "r937"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Headings, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHeadingsNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesHighlightsAnnualizedNoteTextBlock": {
     "auth_ref": [
      "r928",
      "r935"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Annualized, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHighlightsAnnualizedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesHighlightsAuditedNoteTextBlock": {
     "auth_ref": [
      "r929",
      "r935"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Highlights Audited, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesHighlightsAuditedNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit": {
     "auth_ref": [
      "r933"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities Involuntary Liquidating Preference per Unit (Deprecated 2023-01-31)"
       }
      }
     },
     "localname": "SeniorSecuritiesInvoluntaryLiquidatingPreferencePerUnit",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "cef_SeniorSecuritiesNoteTextBlock": {
     "auth_ref": [
      "r927",
      "r935"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities, Note [Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesNoteTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SeniorSecuritiesTableTextBlock": {
     "auth_ref": [
      "r930"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Securities [Table Text Block]"
       }
      }
     },
     "localname": "SeniorSecuritiesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SharePriceTableTextBlock": {
     "auth_ref": [
      "r946"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Price [Table Text Block]"
       }
      }
     },
     "localname": "SharePriceTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_SharePricesNotActualTransactionsTextBlock": {
     "auth_ref": [
      "r947"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Prices Not Actual Transactions [Text Block]"
       }
      }
     },
     "localname": "SharePricesNotActualTransactionsTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_ShareholderTransactionExpensesTableTextBlock": {
     "auth_ref": [
      "r911"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shareholder Transaction Expenses [Table Text Block]"
       }
      }
     },
     "localname": "ShareholderTransactionExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_TotalAnnualExpensesPercent": {
     "auth_ref": [
      "r924"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Annual Expenses [Percent]"
       }
      }
     },
     "localname": "TotalAnnualExpensesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_UnderwritersCompensationPercent": {
     "auth_ref": [
      "r920"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underwriters Compensation [Percent]"
       }
      }
     },
     "localname": "UnderwritersCompensationPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_WaiversAndReimbursementsOfFeesPercent": {
     "auth_ref": [
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Waivers and Reimbursements of Fees [Percent]"
       }
      }
     },
     "localname": "WaiversAndReimbursementsOfFeesPercent",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "percentItemType"
    },
    "cef_WarrantsOrRightsCalledAmount": {
     "auth_ref": [
      "r905"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Amount"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledAmount",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cef_WarrantsOrRightsCalledPeriodDate": {
     "auth_ref": [
      "r905"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Period [Date]"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledPeriodDate",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "cef_WarrantsOrRightsCalledTitleTextBlock": {
     "auth_ref": [
      "r905"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Called Title"
       }
      }
     },
     "localname": "WarrantsOrRightsCalledTitleTextBlock",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cef_WarrantsOrRightsExercisePrice": {
     "auth_ref": [
      "r905"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants or Rights, Exercise Price"
       }
      }
     },
     "localname": "WarrantsOrRightsExercisePrice",
     "nsuri": "http://xbrl.sec.gov/cef/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "country_AU": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AUSTRALIA",
        "terseLabel": "Australia"
       }
      }
     },
     "localname": "AU",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_BE": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BELGIUM",
        "terseLabel": "Belgium"
       }
      }
     },
     "localname": "BE",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_CA": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CANADA",
        "terseLabel": "Canada"
       }
      }
     },
     "localname": "CA",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_DE": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GERMANY",
        "terseLabel": "Germany"
       }
      }
     },
     "localname": "DE",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_GB": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED KINGDOM",
        "terseLabel": "United Kingdom"
       }
      }
     },
     "localname": "GB",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_GG": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "GUERNSEY",
        "terseLabel": "Guernsey"
       }
      }
     },
     "localname": "GG",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_IE": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "IRELAND",
        "terseLabel": "Ireland"
       }
      }
     },
     "localname": "IE",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_IL": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ISRAEL",
        "terseLabel": "Israel"
       }
      }
     },
     "localname": "IL",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_KY": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CAYMAN ISLANDS",
        "terseLabel": "Cayman Islands"
       }
      }
     },
     "localname": "KY",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_LU": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LUXEMBOURG",
        "terseLabel": "Luxembourg",
        "verboseLabel": "Luxembourg"
       }
      }
     },
     "localname": "LU",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_NL": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NETHERLANDS",
        "terseLabel": "Netherlands"
       }
      }
     },
     "localname": "NL",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_SE": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SWEDEN",
        "terseLabel": "Sweden"
       }
      }
     },
     "localname": "SE",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_US": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED STATES",
        "terseLabel": "United States"
       }
      }
     },
     "localname": "US",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_AUD": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Australia, Dollars",
        "terseLabel": "AUD"
       }
      }
     },
     "localname": "AUD",
     "nsuri": "http://xbrl.sec.gov/currency/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_AllCurrenciesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Currencies [Domain]"
       }
      }
     },
     "localname": "AllCurrenciesDomain",
     "nsuri": "http://xbrl.sec.gov/currency/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_CAD": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Canada, Dollars",
        "terseLabel": "CAD"
       }
      }
     },
     "localname": "CAD",
     "nsuri": "http://xbrl.sec.gov/currency/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_DKK": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Denmark, Kroner",
        "terseLabel": "DKK"
       }
      }
     },
     "localname": "DKK",
     "nsuri": "http://xbrl.sec.gov/currency/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_EUR": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Euro Member Countries, Euro",
        "terseLabel": "EUR"
       }
      }
     },
     "localname": "EUR",
     "nsuri": "http://xbrl.sec.gov/currency/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_GBP": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "United Kingdom, Pounds",
        "terseLabel": "GBP"
       }
      }
     },
     "localname": "GBP",
     "nsuri": "http://xbrl.sec.gov/currency/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_NOK": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Norway, Krone",
        "terseLabel": "NOK"
       }
      }
     },
     "localname": "NOK",
     "nsuri": "http://xbrl.sec.gov/currency/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "currency_USD": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "United States of America, Dollars",
        "terseLabel": "USD"
       }
      }
     },
     "localname": "USD",
     "nsuri": "http://xbrl.sec.gov/currency/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AdditionalSecurities462b": {
     "auth_ref": [
      "r1011"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities. 462(b)"
       }
      }
     },
     "localname": "AdditionalSecurities462b",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AdditionalSecurities462bFileNumber": {
     "auth_ref": [
      "r1011"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities, 462(b), File Number"
       }
      }
     },
     "localname": "AdditionalSecurities462bFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_AdditionalSecuritiesEffective413b": {
     "auth_ref": [
      "r1010"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Securities Effective, 413(b)"
       }
      }
     },
     "localname": "AdditionalSecuritiesEffective413b",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AddressTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types.",
        "label": "Address Type [Domain]"
       }
      }
     },
     "localname": "AddressTypeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of changes contained within amended document.",
        "label": "Amendment Description"
       }
      }
     },
     "localname": "AmendmentDescription",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_ApproximateDateOfCommencementOfProposedSaleToThePublic": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The approximate date of a commencement of a proposed sale of securities to the public. This element is disclosed in S-1, S-3, S-4, S-11, F-1, F-3 and F-10 filings.",
        "label": "Approximate Date of Commencement of Proposed Sale to Public"
       }
      }
     },
     "localname": "ApproximateDateOfCommencementOfProposedSaleToThePublic",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateOrAsapItemType"
    },
    "dei_BusinessContactMember": {
     "auth_ref": [
      "r861",
      "r874"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business contact for the entity",
        "label": "Business Contact [Member]"
       }
      }
     },
     "localname": "BusinessContactMember",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelName": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of contact personnel",
        "label": "Contact Personnel Name"
       }
      }
     },
     "localname": "ContactPersonnelName",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DelayedOrContinuousOffering": {
     "auth_ref": [
      "r885",
      "r886",
      "r966"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Delayed or Continuous Offering"
       }
      }
     },
     "localname": "DelayedOrContinuousOffering",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DividendOrInterestReinvestmentPlanOnly": {
     "auth_ref": [
      "r885",
      "r886",
      "r966"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend or Interest Reinvestment Plan Only"
       }
      }
     },
     "localname": "DividendOrInterestReinvestmentPlanOnly",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r860"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentRegistrationStatement": {
     "auth_ref": [
      "r856"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a registration statement.",
        "label": "Document Registration Statement"
       }
      }
     },
     "localname": "DocumentRegistrationStatement",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r967"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EffectiveAfter60Days486a": {
     "auth_ref": [
      "r1015"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective after 60 Days, 486(a)"
       }
      }
     },
     "localname": "EffectiveAfter60Days486a",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveOnDate486a": {
     "auth_ref": [
      "r1015"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(a)"
       }
      }
     },
     "localname": "EffectiveOnDate486a",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_EffectiveOnDate486b": {
     "auth_ref": [
      "r1016"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Date, 486(b)"
       }
      }
     },
     "localname": "EffectiveOnDate486b",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_EffectiveOnSetDate486a": {
     "auth_ref": [
      "r1015"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(a)"
       }
      }
     },
     "localname": "EffectiveOnSetDate486a",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveOnSetDate486b": {
     "auth_ref": [
      "r1016"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective on Set Date, 486(b)"
       }
      }
     },
     "localname": "EffectiveOnSetDate486b",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveUponFiling462e": {
     "auth_ref": [
      "r1014"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Upon Filing, 462(e)"
       }
      }
     },
     "localname": "EffectiveUponFiling462e",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveUponFiling486b": {
     "auth_ref": [
      "r1016"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective upon Filing, 486(b)"
       }
      }
     },
     "localname": "EffectiveUponFiling486b",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EffectiveWhenDeclaredSection8c": {
     "auth_ref": [
      "r1018"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective when Declared, Section 8(c)"
       }
      }
     },
     "localname": "EffectiveWhenDeclaredSection8c",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 3 such as an Office Park",
        "label": "Entity Address, Address Line Three"
       }
      }
     },
     "localname": "EntityAddressAddressLine3",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Addresses, Address Type [Axis]"
       }
      }
     },
     "localname": "EntityAddressesAddressTypeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r858"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r858"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r1017"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Securities Act File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r858"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r1008"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityInvCompanyType": {
     "auth_ref": [
      "r1007"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product).",
        "label": "Entity Inv Company Type"
       }
      }
     },
     "localname": "EntityInvCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "invCompanyType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r858"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r858"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r858"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r858"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r1009"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_ExhibitsOnly462d": {
     "auth_ref": [
      "r1013"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d)"
       }
      }
     },
     "localname": "ExhibitsOnly462d",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_ExhibitsOnly462dFileNumber": {
     "auth_ref": [
      "r1013"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exhibits Only, 462(d), File Number"
       }
      }
     },
     "localname": "ExhibitsOnly462dFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_InvestmentCompanyActFileNumber": {
     "auth_ref": [
      "r886",
      "r953",
      "r954",
      "r955"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act File Number"
       }
      }
     },
     "localname": "InvestmentCompanyActFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_InvestmentCompanyActRegistration": {
     "auth_ref": [
      "r968"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Act Registration"
       }
      }
     },
     "localname": "InvestmentCompanyActRegistration",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyRegistrationAmendment": {
     "auth_ref": [
      "r968"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment"
       }
      }
     },
     "localname": "InvestmentCompanyRegistrationAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_InvestmentCompanyRegistrationAmendmentNumber": {
     "auth_ref": [
      "r968"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company Registration Amendment Number"
       }
      }
     },
     "localname": "InvestmentCompanyRegistrationAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_NewEffectiveDateForPreviousFiling": {
     "auth_ref": [
      "r886",
      "r953",
      "r954",
      "r955"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Effective Date for Previous Filing"
       }
      }
     },
     "localname": "NewEffectiveDateForPreviousFiling",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_NoSubstantiveChanges462c": {
     "auth_ref": [
      "r1012"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c)"
       }
      }
     },
     "localname": "NoSubstantiveChanges462c",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_NoSubstantiveChanges462cFileNumber": {
     "auth_ref": [
      "r1012"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "No Substantive Changes, 462(c), File Number"
       }
      }
     },
     "localname": "NoSubstantiveChanges462cFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_PostEffectiveAmendment": {
     "auth_ref": [
      "r856"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-Effective Amendment"
       }
      }
     },
     "localname": "PostEffectiveAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_PostEffectiveAmendmentNumber": {
     "auth_ref": [
      "r856"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 after the registration becomes effective.",
        "label": "Post-Effective Amendment Number"
       }
      }
     },
     "localname": "PostEffectiveAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_PreEffectiveAmendment": {
     "auth_ref": [
      "r856"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pre-Effective Amendment"
       }
      }
     },
     "localname": "PreEffectiveAmendment",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_PreEffectiveAmendmentNumber": {
     "auth_ref": [
      "r856"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment number to registration statement under the Securities Act of 1933 before the registration becomes effective.",
        "label": "Pre-Effective Amendment Number"
       }
      }
     },
     "localname": "PreEffectiveAmendmentNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "sequenceNumberItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r857"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r859"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "ecd_Additional402vDisclosureTextBlock": {
     "auth_ref": [
      "r969"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional 402(v) Disclosure [Text Block]",
        "terseLabel": "Additional 402(v) Disclosure"
       }
      }
     },
     "localname": "Additional402vDisclosureTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AdjToCompAmt": {
     "auth_ref": [
      "r975"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation Amount",
        "terseLabel": "Adjustment to Compensation, Amount"
       }
      }
     },
     "localname": "AdjToCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_AdjToCompAxis": {
     "auth_ref": [
      "r975"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation [Axis]",
        "terseLabel": "Adjustment to Compensation:"
       }
      }
     },
     "localname": "AdjToCompAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_AdjToNonPeoNeoCompFnTextBlock": {
     "auth_ref": [
      "r975"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Non-PEO NEO Compensation Footnote [Text Block]",
        "terseLabel": "Adjustment to Non-PEO NEO Compensation Footnote"
       }
      }
     },
     "localname": "AdjToNonPeoNeoCompFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AdjToPeoCompFnTextBlock": {
     "auth_ref": [
      "r975"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment To PEO Compensation, Footnote [Text Block]",
        "terseLabel": "Adjustment To PEO Compensation, Footnote"
       }
      }
     },
     "localname": "AdjToPeoCompFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AggtErrCompAmt": {
     "auth_ref": [
      "r866",
      "r878",
      "r959",
      "r986"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Amount",
        "terseLabel": "Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "localname": "AggtErrCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_AggtErrCompNotYetDeterminedTextBlock": {
     "auth_ref": [
      "r869",
      "r881",
      "r962",
      "r989"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Not Yet Determined [Text Block]",
        "terseLabel": "Aggregate Erroneous Compensation Not Yet Determined"
       }
      }
     },
     "localname": "AggtErrCompNotYetDeterminedTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AllAdjToCompMember": {
     "auth_ref": [
      "r975"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Adjustments to Compensation [Member]",
        "terseLabel": "All Adjustments to Compensation"
       }
      }
     },
     "localname": "AllAdjToCompMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_AllExecutiveCategoriesMember": {
     "auth_ref": [
      "r982"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Executive Categories [Member]",
        "terseLabel": "All Executive Categories"
       }
      }
     },
     "localname": "AllExecutiveCategoriesMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_AllIndividualsMember": {
     "auth_ref": [
      "r873",
      "r882",
      "r963",
      "r982",
      "r990",
      "r994",
      "r1002"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Individuals [Member]",
        "terseLabel": "All Individuals"
       }
      }
     },
     "localname": "AllIndividualsMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_AllTradingArrangementsMember": {
     "auth_ref": [
      "r1000"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Trading Arrangements [Member]",
        "terseLabel": "All Trading Arrangements"
       }
      }
     },
     "localname": "AllTradingArrangementsMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_AwardExrcPrice": {
     "auth_ref": [
      "r997"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Exercise Price",
        "terseLabel": "Exercise Price"
       }
      }
     },
     "localname": "AwardExrcPrice",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "perShareItemType"
    },
    "ecd_AwardGrantDateFairValue": {
     "auth_ref": [
      "r998"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Grant Date Fair Value",
        "terseLabel": "Fair Value as of Grant Date"
       }
      }
     },
     "localname": "AwardGrantDateFairValue",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_AwardTmgDiscLineItems": {
     "auth_ref": [
      "r993"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Disclosures [Line Items]",
        "terseLabel": "Award Timing Disclosures"
       }
      }
     },
     "localname": "AwardTmgDiscLineItems",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "xbrltype": "stringItemType"
    },
    "ecd_AwardTmgHowMnpiCnsdrdTextBlock": {
     "auth_ref": [
      "r993"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing, How MNPI Considered [Text Block]",
        "terseLabel": "Award Timing, How MNPI Considered"
       }
      }
     },
     "localname": "AwardTmgHowMnpiCnsdrdTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AwardTmgMethodTextBlock": {
     "auth_ref": [
      "r993"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Method [Text Block]",
        "terseLabel": "Award Timing Method"
       }
      }
     },
     "localname": "AwardTmgMethodTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AwardTmgMnpiCnsdrdFlag": {
     "auth_ref": [
      "r993"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Considered [Flag]",
        "terseLabel": "Award Timing MNPI Considered"
       }
      }
     },
     "localname": "AwardTmgMnpiCnsdrdFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_AwardTmgMnpiDiscTextBlock": {
     "auth_ref": [
      "r993"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Disclosure [Text Block]",
        "terseLabel": "Award Timing MNPI Disclosure"
       }
      }
     },
     "localname": "AwardTmgMnpiDiscTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_AwardTmgPredtrmndFlag": {
     "auth_ref": [
      "r993"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Predetermined [Flag]",
        "terseLabel": "Award Timing Predetermined"
       }
      }
     },
     "localname": "AwardTmgPredtrmndFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_AwardUndrlygSecuritiesAmt": {
     "auth_ref": [
      "r996"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Underlying Securities Amount",
        "terseLabel": "Underlying Securities"
       }
      }
     },
     "localname": "AwardUndrlygSecuritiesAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "decimalItemType"
    },
    "ecd_AwardsCloseToMnpiDiscIndName": {
     "auth_ref": [
      "r995"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "localname": "AwardsCloseToMnpiDiscIndName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_AwardsCloseToMnpiDiscTable": {
     "auth_ref": [
      "r994"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures"
       }
      }
     },
     "localname": "AwardsCloseToMnpiDiscTable",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_AwardsCloseToMnpiDiscTableTextBlock": {
     "auth_ref": [
      "r994"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table Text Block]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures, Table"
       }
      }
     },
     "localname": "AwardsCloseToMnpiDiscTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_ChangedPeerGroupFnTextBlock": {
     "auth_ref": [
      "r973"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changed Peer Group, Footnote [Text Block]",
        "terseLabel": "Changed Peer Group, Footnote"
       }
      }
     },
     "localname": "ChangedPeerGroupFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_CoSelectedMeasureAmt": {
     "auth_ref": [
      "r974"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Amount",
        "terseLabel": "Company Selected Measure Amount"
       }
      }
     },
     "localname": "CoSelectedMeasureAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "decimalItemType"
    },
    "ecd_CoSelectedMeasureName": {
     "auth_ref": [
      "r974"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Name",
        "terseLabel": "Company Selected Measure Name"
       }
      }
     },
     "localname": "CoSelectedMeasureName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock": {
     "auth_ref": [
      "r979"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Company Selected Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Company Selected Measure"
       }
      }
     },
     "localname": "CompActuallyPaidVsCoSelectedMeasureTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_CompActuallyPaidVsNetIncomeTextBlock": {
     "auth_ref": [
      "r978"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Net Income [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Net Income"
       }
      }
     },
     "localname": "CompActuallyPaidVsNetIncomeTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_CompActuallyPaidVsOtherMeasureTextBlock": {
     "auth_ref": [
      "r980"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Other Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Other Measure"
       }
      }
     },
     "localname": "CompActuallyPaidVsOtherMeasureTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock": {
     "auth_ref": [
      "r977"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Total Shareholder Return [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Total Shareholder Return"
       }
      }
     },
     "localname": "CompActuallyPaidVsTotalShareholderRtnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_EquityValuationAssumptionDifferenceFnTextBlock": {
     "auth_ref": [
      "r976"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Valuation Assumption Difference, Footnote [Text Block]",
        "terseLabel": "Equity Valuation Assumption Difference, Footnote"
       }
      }
     },
     "localname": "EquityValuationAssumptionDifferenceFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_ErrCompAnalysisTextBlock": {
     "auth_ref": [
      "r866",
      "r878",
      "r959",
      "r986"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneous Compensation Analysis [Text Block]",
        "terseLabel": "Erroneous Compensation Analysis"
       }
      }
     },
     "localname": "ErrCompAnalysisTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_ErrCompRecoveryTable": {
     "auth_ref": [
      "r863",
      "r875",
      "r956",
      "r983"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneously Awarded Compensation Recovery [Table]",
        "terseLabel": "Erroneously Awarded Compensation Recovery"
       }
      }
     },
     "localname": "ErrCompRecoveryTable",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_ExecutiveCategoryAxis": {
     "auth_ref": [
      "r982"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Executive Category [Axis]",
        "terseLabel": "Executive Category:"
       }
      }
     },
     "localname": "ExecutiveCategoryAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt": {
     "auth_ref": [
      "r870",
      "r882",
      "r963",
      "r990"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Disqualification of Tax Benefits, Amount",
        "terseLabel": "Forgone Recovery due to Disqualification of Tax Benefits, Amount"
       }
      }
     },
     "localname": "ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt": {
     "auth_ref": [
      "r870",
      "r882",
      "r963",
      "r990"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Expense of Enforcement, Amount",
        "terseLabel": "Forgone Recovery due to Expense of Enforcement, Amount"
       }
      }
     },
     "localname": "ForgoneRecoveryDueToExpenseOfEnforcementAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt": {
     "auth_ref": [
      "r870",
      "r882",
      "r963",
      "r990"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Violation of Home Country Law, Amount",
        "terseLabel": "Forgone Recovery due to Violation of Home Country Law, Amount"
       }
      }
     },
     "localname": "ForgoneRecoveryDueToViolationOfHomeCountryLawAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock": {
     "auth_ref": [
      "r870",
      "r882",
      "r963",
      "r990"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Explanation of Impracticability [Text Block]",
        "terseLabel": "Forgone Recovery, Explanation of Impracticability"
       }
      }
     },
     "localname": "ForgoneRecoveryExplanationOfImpracticabilityTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_ForgoneRecoveryIndName": {
     "auth_ref": [
      "r870",
      "r882",
      "r963",
      "r990"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "localname": "ForgoneRecoveryIndName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_IndividualAxis": {
     "auth_ref": [
      "r873",
      "r882",
      "r963",
      "r982",
      "r990",
      "r994",
      "r1002"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Individual [Axis]",
        "terseLabel": "Individual:"
       }
      }
     },
     "localname": "IndividualAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_InsiderTradingArrLineItems": {
     "auth_ref": [
      "r1000"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Arrangements [Line Items]",
        "terseLabel": "Insider Trading Arrangements:"
       }
      }
     },
     "localname": "InsiderTradingArrLineItems",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "xbrltype": "stringItemType"
    },
    "ecd_InsiderTradingPoliciesProcLineItems": {
     "auth_ref": [
      "r862",
      "r1006"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures [Line Items]",
        "terseLabel": "Insider Trading Policies and Procedures:"
       }
      }
     },
     "localname": "InsiderTradingPoliciesProcLineItems",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "xbrltype": "stringItemType"
    },
    "ecd_InsiderTrdPoliciesProcAdoptedFlag": {
     "auth_ref": [
      "r862",
      "r1006"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Adopted [Flag]",
        "terseLabel": "Insider Trading Policies and Procedures Adopted"
       }
      }
     },
     "localname": "InsiderTrdPoliciesProcAdoptedFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock": {
     "auth_ref": [
      "r862",
      "r1006"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Not Adopted [Text Block]",
        "terseLabel": "Insider Trading Policies and Procedures Not Adopted"
       }
      }
     },
     "localname": "InsiderTrdPoliciesProcNotAdoptedTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_MeasureAxis": {
     "auth_ref": [
      "r974"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure [Axis]",
        "terseLabel": "Measure:"
       }
      }
     },
     "localname": "MeasureAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_MeasureName": {
     "auth_ref": [
      "r974"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure Name",
        "terseLabel": "Name"
       }
      }
     },
     "localname": "MeasureName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "ecd_MnpiDiscTimedForCompValFlag": {
     "auth_ref": [
      "r993"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MNPI Disclosure Timed for Compensation Value [Flag]",
        "terseLabel": "MNPI Disclosure Timed for Compensation Value"
       }
      }
     },
     "localname": "MnpiDiscTimedForCompValFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_MtrlTermsOfTrdArrTextBlock": {
     "auth_ref": [
      "r1001"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Terms of Trading Arrangement [Text Block]",
        "terseLabel": "Material Terms of Trading Arrangement"
       }
      }
     },
     "localname": "MtrlTermsOfTrdArrTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_NamedExecutiveOfficersFnTextBlock": {
     "auth_ref": [
      "r975"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Named Executive Officers, Footnote [Text Block]",
        "terseLabel": "Named Executive Officers, Footnote"
       }
      }
     },
     "localname": "NamedExecutiveOfficersFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_NonGaapMeasureDescriptionTextBlock": {
     "auth_ref": [
      "r974"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-GAAP Measure Description [Text Block]",
        "terseLabel": "Non-GAAP Measure Description"
       }
      }
     },
     "localname": "NonGaapMeasureDescriptionTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_NonNeosMember": {
     "auth_ref": [
      "r870",
      "r882",
      "r963",
      "r982",
      "r990"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-NEOs [Member]",
        "terseLabel": "Non-NEOs"
       }
      }
     },
     "localname": "NonNeosMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_NonPeoNeoAvgCompActuallyPaidAmt": {
     "auth_ref": [
      "r972"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Compensation Actually Paid Amount",
        "terseLabel": "Non-PEO NEO Average Compensation Actually Paid Amount"
       }
      }
     },
     "localname": "NonPeoNeoAvgCompActuallyPaidAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_NonPeoNeoAvgTotalCompAmt": {
     "auth_ref": [
      "r971"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Total Compensation Amount",
        "terseLabel": "Non-PEO NEO Average Total Compensation Amount"
       }
      }
     },
     "localname": "NonPeoNeoAvgTotalCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_NonPeoNeoMember": {
     "auth_ref": [
      "r982"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO [Member]",
        "terseLabel": "Non-PEO NEO"
       }
      }
     },
     "localname": "NonPeoNeoMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_NonRule10b51ArrAdoptedFlag": {
     "auth_ref": [
      "r1001"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "localname": "NonRule10b51ArrAdoptedFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_NonRule10b51ArrTrmntdFlag": {
     "auth_ref": [
      "r1001"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "localname": "NonRule10b51ArrTrmntdFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_OtherPerfMeasureAmt": {
     "auth_ref": [
      "r974"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Performance Measure, Amount",
        "terseLabel": "Other Performance Measure, Amount"
       }
      }
     },
     "localname": "OtherPerfMeasureAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "decimalItemType"
    },
    "ecd_OutstandingAggtErrCompAmt": {
     "auth_ref": [
      "r868",
      "r880",
      "r961",
      "r988"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Aggregate Erroneous Compensation Amount",
        "terseLabel": "Outstanding Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "localname": "OutstandingAggtErrCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_OutstandingRecoveryCompAmt": {
     "auth_ref": [
      "r871",
      "r883",
      "r964",
      "r991"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery Compensation Amount",
        "terseLabel": "Compensation Amount"
       }
      }
     },
     "localname": "OutstandingRecoveryCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_OutstandingRecoveryIndName": {
     "auth_ref": [
      "r871",
      "r883",
      "r964",
      "r991"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "localname": "OutstandingRecoveryIndName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_PayVsPerformanceDisclosureLineItems": {
     "auth_ref": [
      "r970"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Line Items]",
        "terseLabel": "Pay vs Performance Disclosure"
       }
      }
     },
     "localname": "PayVsPerformanceDisclosureLineItems",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "xbrltype": "stringItemType"
    },
    "ecd_PeerGroupIssuersFnTextBlock": {
     "auth_ref": [
      "r973"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Issuers, Footnote [Text Block]",
        "terseLabel": "Peer Group Issuers, Footnote"
       }
      }
     },
     "localname": "PeerGroupIssuersFnTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_PeerGroupTotalShareholderRtnAmt": {
     "auth_ref": [
      "r973"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Total Shareholder Return Amount",
        "terseLabel": "Peer Group Total Shareholder Return Amount"
       }
      }
     },
     "localname": "PeerGroupTotalShareholderRtnAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_PeoActuallyPaidCompAmt": {
     "auth_ref": [
      "r972"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Actually Paid Compensation Amount",
        "terseLabel": "PEO Actually Paid Compensation Amount"
       }
      }
     },
     "localname": "PeoActuallyPaidCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_PeoMember": {
     "auth_ref": [
      "r982"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO [Member]",
        "terseLabel": "PEO"
       }
      }
     },
     "localname": "PeoMember",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "ecd_PeoName": {
     "auth_ref": [
      "r975"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Name",
        "terseLabel": "PEO Name"
       }
      }
     },
     "localname": "PeoName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "ecd_PeoTotalCompAmt": {
     "auth_ref": [
      "r971"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Total Compensation Amount",
        "terseLabel": "PEO Total Compensation Amount"
       }
      }
     },
     "localname": "PeoTotalCompAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_PvpTable": {
     "auth_ref": [
      "r970"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Table]",
        "terseLabel": "Pay vs Performance Disclosure"
       }
      }
     },
     "localname": "PvpTable",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_PvpTableTextBlock": {
     "auth_ref": [
      "r970"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance [Table Text Block]",
        "terseLabel": "Pay vs Performance Disclosure, Table"
       }
      }
     },
     "localname": "PvpTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_RecoveryOfErrCompDisclosureLineItems": {
     "auth_ref": [
      "r863",
      "r875",
      "r956",
      "r983"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recovery of Erroneously Awarded Compensation Disclosure [Line Items]",
        "terseLabel": "Recovery of Erroneously Awarded Compensation Disclosure"
       }
      }
     },
     "localname": "RecoveryOfErrCompDisclosureLineItems",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "xbrltype": "stringItemType"
    },
    "ecd_RestatementDateAxis": {
     "auth_ref": [
      "r864",
      "r876",
      "r957",
      "r984"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date [Axis]",
        "terseLabel": "Restatement Determination Date:"
       }
      }
     },
     "localname": "RestatementDateAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_RestatementDeterminationDate": {
     "auth_ref": [
      "r865",
      "r877",
      "r958",
      "r985"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date",
        "terseLabel": "Restatement Determination Date"
       }
      }
     },
     "localname": "RestatementDeterminationDate",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "dateItemType"
    },
    "ecd_RestatementDoesNotRequireRecoveryTextBlock": {
     "auth_ref": [
      "r872",
      "r884",
      "r965",
      "r992"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Does Not Require Recovery [Text Block]",
        "terseLabel": "Restatement does not require Recovery"
       }
      }
     },
     "localname": "RestatementDoesNotRequireRecoveryTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_Rule10b51ArrAdoptedFlag": {
     "auth_ref": [
      "r1001"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "localname": "Rule10b51ArrAdoptedFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_Rule10b51ArrTrmntdFlag": {
     "auth_ref": [
      "r1001"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "localname": "Rule10b51ArrTrmntdFlag",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "booleanItemType"
    },
    "ecd_StkPrcOrTsrEstimationMethodTextBlock": {
     "auth_ref": [
      "r867",
      "r879",
      "r960",
      "r987"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Price or TSR Estimation Method [Text Block]",
        "terseLabel": "Stock Price or TSR Estimation Method"
       }
      }
     },
     "localname": "StkPrcOrTsrEstimationMethodTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_TabularListTableTextBlock": {
     "auth_ref": [
      "r981"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tabular List [Table Text Block]",
        "terseLabel": "Tabular List, Table"
       }
      }
     },
     "localname": "TabularListTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_TotalShareholderRtnAmt": {
     "auth_ref": [
      "r973"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Amount",
        "terseLabel": "Total Shareholder Return Amount"
       }
      }
     },
     "localname": "TotalShareholderRtnAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ecd_TotalShareholderRtnVsPeerGroupTextBlock": {
     "auth_ref": [
      "r980"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Vs Peer Group [Text Block]",
        "terseLabel": "Total Shareholder Return Vs Peer Group"
       }
      }
     },
     "localname": "TotalShareholderRtnVsPeerGroupTextBlock",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ecd_TradingArrAxis": {
     "auth_ref": [
      "r1000"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement [Axis]",
        "terseLabel": "Trading Arrangement:"
       }
      }
     },
     "localname": "TradingArrAxis",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_TradingArrByIndTable": {
     "auth_ref": [
      "r1002"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangements, by Individual [Table]",
        "terseLabel": "Trading Arrangements, by Individual"
       }
      }
     },
     "localname": "TradingArrByIndTable",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_TrdArrAdoptionDate": {
     "auth_ref": [
      "r1003"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Adoption Date",
        "terseLabel": "Adoption Date"
       }
      }
     },
     "localname": "TrdArrAdoptionDate",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_TrdArrDuration": {
     "auth_ref": [
      "r1004"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Duration",
        "terseLabel": "Arrangement Duration"
       }
      }
     },
     "localname": "TrdArrDuration",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "durationItemType"
    },
    "ecd_TrdArrIndName": {
     "auth_ref": [
      "r1002"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "localname": "TrdArrIndName",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_TrdArrIndTitle": {
     "auth_ref": [
      "r1002"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Title",
        "terseLabel": "Title"
       }
      }
     },
     "localname": "TrdArrIndTitle",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_TrdArrSecuritiesAggAvailAmt": {
     "auth_ref": [
      "r1005"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Securities Aggregate Available Amount",
        "terseLabel": "Aggregate Available"
       }
      }
     },
     "localname": "TrdArrSecuritiesAggAvailAmt",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "sharesItemType"
    },
    "ecd_TrdArrTerminationDate": {
     "auth_ref": [
      "r1003"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Termination Date",
        "terseLabel": "Termination Date"
       }
      }
     },
     "localname": "TrdArrTerminationDate",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "xbrltype": "stringItemType"
    },
    "ecd_UndrlygSecurityMktPriceChngPct": {
     "auth_ref": [
      "r999"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underlying Security Market Price Change, Percent",
        "terseLabel": "Underlying Security Market Price Change"
       }
      }
     },
     "localname": "UndrlygSecurityMktPriceChngPct",
     "nsuri": "http://xbrl.sec.gov/ecd/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "pureItemType"
    },
    "srt_CounterpartyNameAxis": {
     "auth_ref": [
      "r196",
      "r197",
      "r304",
      "r335",
      "r447",
      "r811",
      "r813"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]"
       }
      }
     },
     "localname": "CounterpartyNameAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CurrencyAxis": {
     "auth_ref": [
      "r1082"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Currency [Axis]"
       }
      }
     },
     "localname": "CurrencyAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [
      "r267",
      "r268",
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [
      "r235",
      "r829",
      "r1070",
      "r1098",
      "r1099"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Axis]"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r287",
      "r288",
      "r289",
      "r290",
      "r358",
      "r482",
      "r519",
      "r574",
      "r575",
      "r667",
      "r686",
      "r692",
      "r693",
      "r750",
      "r805",
      "r806",
      "r818",
      "r827",
      "r835",
      "r839",
      "r1066",
      "r1086",
      "r1087",
      "r1088",
      "r1089",
      "r1090",
      "r1091"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r287",
      "r288",
      "r289",
      "r290",
      "r358",
      "r482",
      "r519",
      "r574",
      "r575",
      "r667",
      "r686",
      "r692",
      "r693",
      "r750",
      "r805",
      "r806",
      "r818",
      "r827",
      "r835",
      "r839",
      "r1066",
      "r1086",
      "r1087",
      "r1088",
      "r1089",
      "r1090",
      "r1091"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [
      "r235",
      "r829",
      "r1070",
      "r1098",
      "r1099"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Domain]"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Axis]"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Domain]"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r287",
      "r288",
      "r289",
      "r290",
      "r350",
      "r358",
      "r382",
      "r383",
      "r384",
      "r457",
      "r482",
      "r519",
      "r574",
      "r575",
      "r667",
      "r686",
      "r692",
      "r693",
      "r750",
      "r805",
      "r806",
      "r818",
      "r827",
      "r835",
      "r839",
      "r842",
      "r1062",
      "r1066",
      "r1087",
      "r1088",
      "r1089",
      "r1090",
      "r1091"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r287",
      "r288",
      "r289",
      "r290",
      "r350",
      "r358",
      "r382",
      "r383",
      "r384",
      "r457",
      "r482",
      "r519",
      "r574",
      "r575",
      "r667",
      "r686",
      "r692",
      "r693",
      "r750",
      "r805",
      "r806",
      "r818",
      "r827",
      "r835",
      "r839",
      "r842",
      "r1062",
      "r1066",
      "r1087",
      "r1088",
      "r1089",
      "r1090",
      "r1091"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "auth_ref": [
      "r196",
      "r197",
      "r304",
      "r335",
      "r447",
      "r812",
      "r813"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Domain]"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r213",
      "r359",
      "r1020",
      "r1048"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r267",
      "r268",
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Axis]",
        "terseLabel": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [
      "r233",
      "r234",
      "r564",
      "r568",
      "r570",
      "r673",
      "r688",
      "r709",
      "r769",
      "r796",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r807",
      "r828",
      "r842",
      "r1070",
      "r1098"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Domain]"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r233",
      "r234",
      "r564",
      "r568",
      "r570",
      "r673",
      "r688",
      "r709",
      "r769",
      "r791",
      "r796",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r807",
      "r828",
      "r842",
      "r1070",
      "r1098"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Axis]"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r213",
      "r359",
      "r1020",
      "r1021",
      "r1048"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_WeightedAverageMember": {
     "auth_ref": [
      "r805",
      "r806",
      "r1086",
      "r1088",
      "r1091"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted average"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "http://fasb.org/srt/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 10.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",
        "totalLabel": "Accounts Payable and Accrued Liabilities, Total"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing accounts payable and accrued liabilities.",
        "label": "Accounts Payable and Accrued Liabilities [Member]",
        "terseLabel": "Accounts payable and accrued expenses"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedAmortizationDeferredFinanceCosts": {
     "auth_ref": [
      "r91"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated amortization of debt issuance costs.",
        "label": "Accumulated Amortization, Debt Issuance Costs",
        "terseLabel": "Accumulated amortization"
       }
      }
     },
     "localname": "AccumulatedAmortizationDeferredFinanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r106",
      "r838",
      "r1111"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid in Capital",
        "terseLabel": "Paid in capital in excess of par value",
        "totalLabel": "Additional Paid in Capital, Total"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "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 from operations to net cash used in operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdministrativeFeesExpense": {
     "auth_ref": [
      "r93",
      "r612",
      "r1119"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for administrative fee from service provided, including, but not limited to, salary, rent, or overhead cost.",
        "label": "Administrative Fees Expense",
        "terseLabel": "Expense incurred"
       }
      }
     },
     "localname": "AdministrativeFeesExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AerospaceSectorMember": {
     "auth_ref": [
      "r1128",
      "r1131",
      "r1133",
      "r1136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to aerospace.",
        "label": "Aerospace Sector [Member]",
        "terseLabel": "Aerospace and Defense"
       }
      }
     },
     "localname": "AerospaceSectorMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AmortizationOfDebtDiscountPremium": {
     "auth_ref": [
      "r6",
      "r89",
      "r120",
      "r322"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense.",
        "label": "Amortization of Debt Discount (Premium)",
        "terseLabel": "Accretion of original issue discount",
        "verboseLabel": "Accretion of discounts and amortization of premiums"
       }
      }
     },
     "localname": "AmortizationOfDebtDiscountPremium",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityInterestExpenseDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r116",
      "r322",
      "r438",
      "r1040"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 10.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 debt issuance cost",
        "verboseLabel": "Amortization of deferred financing costs and debt issuance costs"
       }
      }
     },
     "localname": "AmortizationOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r141",
      "r165",
      "r193",
      "r225",
      "r229",
      "r231",
      "r270",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r403",
      "r407",
      "r431",
      "r500",
      "r605",
      "r838",
      "r855",
      "r1064",
      "r1065",
      "r1084"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "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",
        "terseLabel": "Total Assets",
        "totalLabel": "Total Assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNet": {
     "auth_ref": [
      "r9"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net assets (liabilities).",
        "label": "Net Assets",
        "terseLabel": "Net assets at end of period",
        "verboseLabel": "Net assets"
       }
      }
     },
     "localname": "AssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AutomotiveSectorMember": {
     "auth_ref": [
      "r1128",
      "r1131",
      "r1133",
      "r1136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to motor vehicle.",
        "label": "Automotive Sector [Member]",
        "terseLabel": "Automotive"
       }
      }
     },
     "localname": "AutomotiveSectorMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r68",
      "r73"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r401",
      "r833",
      "r834"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r56",
      "r58",
      "r401",
      "r833",
      "r834"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired": {
     "auth_ref": [
      "r57"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of voting equity interests acquired at the acquisition date in the business combination.",
        "label": "Business Acquisition, Percentage of Voting Interests Acquired",
        "terseLabel": "Membership equity interest acquired"
       }
      }
     },
     "localname": "BusinessAcquisitionPercentageOfVotingInterestsAcquired",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_Cash": {
     "auth_ref": [
      "r151",
      "r502",
      "r560",
      "r598",
      "r838",
      "r855",
      "r1032"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "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. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "Cash",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r35",
      "r163",
      "r808"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 1.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",
        "totalLabel": "Cash and Cash Equivalents, at Carrying Value, Total"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion 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.",
        "label": "Cash and Cash Equivalents, Fair Value Disclosure",
        "terseLabel": "Cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy": {
     "auth_ref": [
      "r36",
      "r140"
     ],
     "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, Restricted Cash, and Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r35",
      "r122",
      "r188"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. 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, foreign cash, restricted cash and cash equivalents, end of period",
        "periodStartLabel": "Cash, foreign cash, restricted cash and cash equivalents, beginning of period",
        "totalLabel": "Total cash, foreign cash, restricted cash, and cash equivalents shown in the consolidated statements of cash flows"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r2",
      "r122"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect",
        "totalLabel": "Net increase (decrease) in cash, foreign cash, restricted cash and cash equivalents"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashEquivalentsMember": {
     "auth_ref": [
      "r163"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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 Equivalents [Member]"
       }
      }
     },
     "localname": "CashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashHeldInForeignCurrency": {
     "auth_ref": [
      "r560",
      "r855"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents held in foreign currency. Excludes cash within disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalents include, but are not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate.",
        "label": "Cash and Cash Equivalents, Held in Foreign Currency",
        "terseLabel": "Foreign cash (cost of $5,203 and $34,528, respectively)",
        "verboseLabel": "Foreign cash"
       }
      }
     },
     "localname": "CashHeldInForeignCurrency",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashHeldInForeignCurrencyAcquisitionCost": {
     "auth_ref": [
      "r560"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of acquisition cost for cash and cash equivalents held in foreign currency. Excludes cash within disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalents include, but are not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate.",
        "label": "Cash and Cash Equivalents, Held in Foreign Currency, Acquisition Cost",
        "terseLabel": "Foreign cash, cost"
       }
      }
     },
     "localname": "CashHeldInForeignCurrencyAcquisitionCost",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r158",
      "r166",
      "r167",
      "r168",
      "r193",
      "r215",
      "r216",
      "r218",
      "r220",
      "r223",
      "r224",
      "r270",
      "r291",
      "r293",
      "r294",
      "r295",
      "r298",
      "r299",
      "r333",
      "r334",
      "r337",
      "r340",
      "r347",
      "r431",
      "r529",
      "r530",
      "r531",
      "r532",
      "r543",
      "r548",
      "r550",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r561",
      "r590",
      "r622",
      "r654",
      "r779",
      "r780",
      "r781",
      "r782",
      "r783",
      "r1019",
      "r1042",
      "r1049"
     ],
     "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."
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "auth_ref": [
      "r348"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise price per share or per unit of warrants or rights outstanding.",
        "label": "Class of Warrant or Right, Exercise Price of Warrants or Rights",
        "terseLabel": "Exercise price of rights"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of securities into which each warrant or right may be converted. For example, but not limited to, each warrant may be converted into two shares.",
        "label": "Class of Warrant or Right, Number of Securities Called by Each Warrant or Right",
        "terseLabel": "Number of rights held"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r28",
      "r98",
      "r501",
      "r589"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments and Contingencies (See Note 10)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r127",
      "r285",
      "r286",
      "r795",
      "r1063"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommitmentsToExtendCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan commitments are legally binding commitments to extend credit to a counterparty under certain terms and conditions.",
        "label": "Commitments to Extend Credit [Member]"
       }
      }
     },
     "localname": "CommitmentsToExtendCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r840",
      "r841",
      "r842",
      "r844",
      "r845",
      "r846",
      "r847",
      "r1046",
      "r1047",
      "r1076",
      "r1101",
      "r1124"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r105"
     ],
     "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 per share (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r105",
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized (in shares)"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r105"
     ],
     "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"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r11",
      "r105",
      "r590",
      "r611",
      "r1124",
      "r1125"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "periodEndLabel": "Common Stock, Shares, Outstanding, Ending Balance",
        "periodStartLabel": "Common Stock, Shares, Outstanding, Beginning Balance",
        "terseLabel": "Common stock, outstanding",
        "verboseLabel": "Common stock outstanding at end of period"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r105",
      "r503",
      "r838"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Common stock, par value $0.001 per share, 100,000,000,000 and 100,000,000,000 shares authorized, 64,562,265 and 64,562,265 shares issued and outstanding as of June 30, 2023 and December 31, 2022, respectively"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r43",
      "r44",
      "r87",
      "r88",
      "r235",
      "r794"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r43",
      "r44",
      "r87",
      "r88",
      "r235",
      "r524",
      "r794"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r43",
      "r44",
      "r87",
      "r88",
      "r235",
      "r794",
      "r1022"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk Type [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "auth_ref": [
      "r794"
     ],
     "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": "Concentration Risk [Line Items]",
        "terseLabel": "Concentration Risk [Line Items]"
       }
      }
     },
     "localname": "ConcentrationRiskLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskTable": {
     "auth_ref": [
      "r42",
      "r43",
      "r44",
      "r45",
      "r87",
      "r139",
      "r794"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Concentration Risk [Table]"
       }
      }
     },
     "localname": "ConcentrationRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r43",
      "r44",
      "r87",
      "r88",
      "r235",
      "r794"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r61",
      "r814"
     ],
     "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": "Basis of Consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConstructionSectorMember": {
     "auth_ref": [
      "r1128",
      "r1131",
      "r1133",
      "r1136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to construction.",
        "label": "Construction Sector [Member]",
        "terseLabel": "Construction and Building"
       }
      }
     },
     "localname": "ConstructionSectorMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostsAndExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Costs and Expenses [Abstract]",
        "terseLabel": "Expenses"
       }
      }
     },
     "localname": "CostsAndExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtAndEquitySecuritiesAndForeignCurrencyTransactionPriceChangeRealizedGainLossOperatingBeforeTax": {
     "auth_ref": [
      "r636",
      "r637"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of realized gain (loss) on investment in debt and equity securities and foreign currency transaction on investment in debt and equity securities from change in market price, classified as operating.",
        "label": "Realized Gain (Loss), Debt and Equity Securities and Foreign Currency Transaction Price Change, Operating, before Tax",
        "terseLabel": "Net realized gain (loss) on investments"
       }
      }
     },
     "localname": "DebtAndEquitySecuritiesAndForeignCurrencyTransactionPriceChangeRealizedGainLossOperatingBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtAndEquitySecuritiesAndForeignCurrencyTransactionPriceChangeUnrealizedGainLossOperatingBeforeTax": {
     "auth_ref": [
      "r642",
      "r643"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of unrealized gain (loss) on investment in debt and equity securities and foreign currency transaction on investment in debt and equity securities from change in market price, classified as operating.",
        "label": "Unrealized Gain (Loss), Debt and Equity Securities and Foreign Currency Transaction Price Change, Operating, before Tax",
        "terseLabel": "Net change in unrealized appreciation (depreciation) on investments"
       }
      }
     },
     "localname": "DebtAndEquitySecuritiesAndForeignCurrencyTransactionPriceChangeUnrealizedGainLossOperatingBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtAndEquitySecuritiesRealizedGainLoss": {
     "auth_ref": [
      "r636",
      "r637",
      "r754",
      "r755",
      "r756",
      "r1035",
      "r1036"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment in debt and equity securities.",
        "label": "Debt and Equity Securities, Realized Gain (Loss)",
        "terseLabel": "Net realized gain (loss) on investments",
        "totalLabel": "Debt and Equity Securities, Realized Gain (Loss), Total"
       }
      }
     },
     "localname": "DebtAndEquitySecuritiesRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss": {
     "auth_ref": [
      "r642",
      "r643",
      "r757",
      "r758",
      "r759",
      "r1035",
      "r1036"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment in debt and equity securities.",
        "label": "Debt and Equity Securities, Unrealized Gain (Loss)",
        "negatedLabel": "Net change in unrealized appreciation on investments",
        "terseLabel": "Net change in unrealized appreciation on investments",
        "totalLabel": "Debt and Equity Securities, Unrealized Gain (Loss), Total"
       }
      }
     },
     "localname": "DebtAndEquitySecuritiesUnrealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r128",
      "r190",
      "r300",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r316",
      "r323",
      "r324",
      "r326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Debt"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r22",
      "r101",
      "r102",
      "r142",
      "r144",
      "r199",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r307",
      "r312",
      "r313",
      "r314",
      "r315",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r439",
      "r822",
      "r823",
      "r824",
      "r825",
      "r826",
      "r1043"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtRevolvingAdvisorLoanDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityInterestExpenseDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRevolvingAdvisorLoanDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "terseLabel": "Spread rate (as a percent)"
       }
      }
     },
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r22",
      "r144",
      "r327"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-Term Debt, Gross",
        "terseLabel": "Principal amount outstanding",
        "totalLabel": "Total debt obligations",
        "verboseLabel": "Principal amount of debt"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r90",
      "r92",
      "r301",
      "r439",
      "r823",
      "r824"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Total aggregate principal amount committed",
        "verboseLabel": "Principal amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "auth_ref": [
      "r26",
      "r90",
      "r330",
      "r439"
     ],
     "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": "Effective interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r26",
      "r302"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Interest rate (as a percent)"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [
      "r199",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r307",
      "r312",
      "r313",
      "r314",
      "r315",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r325",
      "r439",
      "r822",
      "r823",
      "r824",
      "r825",
      "r826",
      "r1043"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtRevolvingAdvisorLoanDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityInterestExpenseDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r27",
      "r199",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r307",
      "r312",
      "r313",
      "r314",
      "r315",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r439",
      "r822",
      "r823",
      "r824",
      "r825",
      "r826",
      "r1043"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]",
        "terseLabel": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtRevolvingAdvisorLoanDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityInterestExpenseDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRevolvingAdvisorLoanDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentRepurchaseAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value amount of debt instrument that was repurchased.",
        "label": "Debt Instrument, Repurchase Amount",
        "terseLabel": "Repurchase of debt, cost"
       }
      }
     },
     "localname": "DebtInstrumentRepurchaseAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentRepurchasedFaceAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of the original debt instrument that was repurchased.",
        "label": "Debt Instrument, Repurchased Face Amount",
        "terseLabel": "Repurchase of debt"
       }
      }
     },
     "localname": "DebtInstrumentRepurchasedFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r27",
      "r53",
      "r55",
      "r89",
      "r90",
      "r92",
      "r99",
      "r130",
      "r131",
      "r199",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r307",
      "r312",
      "r313",
      "r314",
      "r315",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r325",
      "r439",
      "r822",
      "r823",
      "r824",
      "r825",
      "r826",
      "r1043"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-Term Debt Instruments [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtRevolvingAdvisorLoanDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtScheduleOf20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityInterestExpenseDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r89",
      "r92",
      "r1067"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "negatedLabel": "Original issue discount, net of accretion",
        "totalLabel": "Debt Instrument, Unamortized Discount, Total"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet": {
     "auth_ref": [
      "r91",
      "r312",
      "r328",
      "r823",
      "r824"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unamortized debt discount (premium) and debt issuance costs.",
        "label": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net",
        "terseLabel": "Debt",
        "totalLabel": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net, Total"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecurities": {
     "auth_ref": [
      "r236",
      "r499"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity), and investment in debt security measured at fair value with change in fair value recognized in net income (trading).",
        "label": "Debt Securities",
        "terseLabel": "Debt securities",
        "totalLabel": "Debt Securities, Total"
       }
      }
     },
     "localname": "DebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of debt outstanding.",
        "label": "Debt, Weighted Average Interest Rate",
        "terseLabel": "Weighted average interest rate of debt (as a percent)"
       }
      }
     },
     "localname": "DebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DeferredChargesPolicyTextBlock": {
     "auth_ref": [
      "r164"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for deferral and amortization of significant deferred charges.",
        "label": "Deferred Charges, Policy [Policy Text Block]",
        "terseLabel": "Deferred Financing Costs and Debt Issuance Costs"
       }
      }
     },
     "localname": "DeferredChargesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "auth_ref": [
      "r91",
      "r1067"
     ],
     "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": "Unamortized debt issuance cost",
        "terseLabel": "Unamortized debt issuance costs",
        "totalLabel": "Debt Issuance Costs, Net, Total"
       }
      }
     },
     "localname": "DeferredFinanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredOfferingCosts": {
     "auth_ref": [
      "r1061"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "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",
        "terseLabel": "Deferred financing costs"
       }
      }
     },
     "localname": "DeferredOfferingCosts",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueOfCollateral": {
     "auth_ref": [
      "r174"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of securities received as collateral against derivative assets.",
        "label": "Derivative Asset, Fair Value of Collateral",
        "terseLabel": "Collateral on forward currency exchange contracts"
       }
      }
     },
     "localname": "DerivativeAssetFairValueOfCollateral",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetNotionalAmount": {
     "auth_ref": [
      "r713",
      "r721",
      "r725",
      "r735",
      "r1072",
      "r1073",
      "r1074"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payments on the derivative asset.",
        "label": "Derivative Asset, Notional Amount",
        "terseLabel": "Currency Purchased"
       }
      }
     },
     "localname": "DerivativeAssetNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetTypeExtensibleList": {
     "auth_ref": [
      "r567",
      "r572",
      "r574",
      "r575",
      "r595",
      "r596",
      "r597",
      "r601",
      "r602",
      "r603",
      "r604",
      "r638",
      "r639",
      "r640",
      "r641",
      "r644",
      "r645",
      "r646",
      "r647",
      "r713",
      "r719",
      "r725",
      "r730",
      "r732",
      "r733",
      "r736",
      "r737",
      "r840",
      "r842",
      "r1077"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates type of derivative asset.",
        "label": "Derivative Asset, Type [Extensible Enumeration]",
        "terseLabel": "Derivative Asset, Type [Extensible Enumeration]"
       }
      }
     },
     "localname": "DerivativeAssetTypeExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r172",
      "r173",
      "r430",
      "r562",
      "r563",
      "r564",
      "r566",
      "r567",
      "r569",
      "r570",
      "r572",
      "r574",
      "r575",
      "r596",
      "r597",
      "r713",
      "r722",
      "r730",
      "r731",
      "r737",
      "r738",
      "r813",
      "r842",
      "r1105"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 11.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other 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. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset",
        "terseLabel": "Forward currency exchange contracts (asset)",
        "totalLabel": "Derivative Asset, Total",
        "verboseLabel": "Unrealized appreciation on forward currency exchange contracts"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [
      "r572",
      "r575",
      "r595",
      "r596",
      "r597",
      "r601",
      "r602",
      "r603",
      "r604",
      "r606",
      "r607",
      "r608",
      "r609",
      "r638",
      "r639",
      "r640",
      "r641",
      "r644",
      "r645",
      "r646",
      "r647",
      "r713",
      "r717",
      "r730",
      "r737",
      "r840",
      "r842"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r17",
      "r71",
      "r113",
      "r171",
      "r813"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial asset or other 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. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, before Offset",
        "terseLabel": "Gross amount of assets on the consolidated statements of assets and liabilities"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral": {
     "auth_ref": [
      "r16",
      "r19",
      "r21",
      "r81"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after offset of derivative liability, of financial asset or other 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, before offset against an obligation to return collateral under a master netting arrangement. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, before Offset of Collateral",
        "totalLabel": "Net amount of assets or (liabilities) presented on the consolidated statements of assets and liabilities"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r20",
      "r80"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after effect of master netting arrangement and deduction of obligation to return financial collateral not offset and financial instrument subject to master netting arrangement not offset, of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and contract can be net settled by means outside contract or delivery of asset. Includes derivative not subject to master netting arrangement or similar agreement.",
        "label": "Derivative Asset, Including Not Subject to Master Netting Arrangement, after Offset and Deduction",
        "totalLabel": "Net Amounts"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "auth_ref": [
      "r17",
      "r71",
      "r113",
      "r171",
      "r813"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial liability 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. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, before Offset",
        "negatedLabel": "Gross amount of (liabilities) on the consolidated statements of assets and liabilities"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r69",
      "r72",
      "r74",
      "r75",
      "r572",
      "r575",
      "r595",
      "r596",
      "r597",
      "r601",
      "r602",
      "r603",
      "r604",
      "r606",
      "r607",
      "r608",
      "r609",
      "r638",
      "r639",
      "r640",
      "r641",
      "r644",
      "r645",
      "r646",
      "r647",
      "r713",
      "r717",
      "r730",
      "r737",
      "r813",
      "r840",
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r136",
      "r410",
      "r417"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "terseLabel": "Derivatives"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivatives"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r172",
      "r173",
      "r430",
      "r562",
      "r563",
      "r564",
      "r566",
      "r569",
      "r570",
      "r572",
      "r574",
      "r575",
      "r606",
      "r608",
      "r609",
      "r717",
      "r718",
      "r722",
      "r730",
      "r731",
      "r737",
      "r738",
      "r813",
      "r1105"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability 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. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability",
        "negatedLabel": "Forward currency exchange contracts (liability)",
        "totalLabel": "Derivative Liability, Total",
        "verboseLabel": "Unrealized depreciation on forward currency exchange contracts"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueOfCollateral": {
     "auth_ref": [
      "r174"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 9.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of securities pledged as collateral against derivative liabilities.",
        "label": "Derivative Liability, Fair Value of Collateral",
        "terseLabel": "Collateral on forward currency exchange contracts",
        "verboseLabel": "Collateral on foreign currency exchange contracts"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueOfCollateral",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityNotionalAmount": {
     "auth_ref": [
      "r715",
      "r721",
      "r724",
      "r735",
      "r1072",
      "r1073",
      "r1074"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payments on the derivative liability.",
        "label": "Derivative Liability, Notional Amount",
        "terseLabel": "Currency Sold"
       }
      }
     },
     "localname": "DerivativeLiabilityNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityTypeExtensibleList": {
     "auth_ref": [
      "r572",
      "r574",
      "r575",
      "r606",
      "r607",
      "r608",
      "r609",
      "r714",
      "r717",
      "r719",
      "r724",
      "r730",
      "r732",
      "r733",
      "r736",
      "r737",
      "r840",
      "r1077"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates type of derivative liability.",
        "label": "Derivative Liability, Type [Extensible Enumeration]",
        "terseLabel": "Derivative Liability, Type [Extensible Enumeration]"
       }
      }
     },
     "localname": "DerivativeLiabilityTypeExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_DerivativeLineItems": {
     "auth_ref": [
      "r417"
     ],
     "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": "Derivative [Line Items]"
       }
      }
     },
     "localname": "DerivativeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeMaturityDates": {
     "auth_ref": [
      "r574",
      "r575",
      "r713",
      "r716",
      "r720",
      "r727",
      "r734",
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date derivative contract ends, in YYYY-MM-DD format.",
        "label": "Derivative, Contract End Date",
        "terseLabel": "Settlement Date"
       }
      }
     },
     "localname": "DerivativeMaturityDates",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r12",
      "r64",
      "r65",
      "r66",
      "r67",
      "r70",
      "r74",
      "r77",
      "r79",
      "r82",
      "r417"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Derivative [Table]"
       }
      }
     },
     "localname": "DerivativeTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r12",
      "r64",
      "r65",
      "r67",
      "r78",
      "r198"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]",
        "terseLabel": "Forward Currency Exchange Contracts"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DistributionPayable": {
     "auth_ref": [
      "r580",
      "r778"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 13.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of distribution payable to ownership interest holder from investment income and return of capital.",
        "label": "Distribution Payable",
        "terseLabel": "Distributions payable"
       }
      }
     },
     "localname": "DistributionPayable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendIncomeOperatingPaidInCash": {
     "auth_ref": [
      "r625",
      "r760",
      "r763"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend income from investment paid in cash, classified as operating.",
        "label": "Dividend Income, Operating, Paid in Cash",
        "terseLabel": "Dividend income"
       }
      }
     },
     "localname": "DividendIncomeOperatingPaidInCash",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "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 distributions declared"
       }
      }
     },
     "localname": "DividendsDeclaredTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDistributionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DividendsPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r102",
      "r103",
      "r143",
      "r851",
      "r1094"
     ],
     "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": "Dividend payable"
       }
      }
     },
     "localname": "DividendsPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsReceivable": {
     "auth_ref": [
      "r1033",
      "r1127"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 12.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of dividends declared but not received.",
        "label": "Dividends Receivable",
        "terseLabel": "Dividend receivable"
       }
      }
     },
     "localname": "DividendsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DomesticCountryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of the government that is entitled to levy and collect income taxes from the entity in its country of domicile.",
        "label": "Domestic Tax Authority [Member]",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "DomesticCountryMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "Earnings Per Share"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r182",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r214",
      "r215",
      "r218",
      "r219",
      "r220",
      "r221",
      "r420",
      "r421",
      "r496",
      "r515",
      "r815"
     ],
     "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": "Basic increase (decrease) in net assets resulting from operations per common share",
        "totalLabel": "Earnings Per Share, Basic, Total"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r182",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r215",
      "r218",
      "r219",
      "r220",
      "r221",
      "r420",
      "r421",
      "r496",
      "r515",
      "r815"
     ],
     "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": "Diluted increase (decrease) in net assets resulting from operations per common share",
        "totalLabel": "Earnings Per Share, Diluted, Total"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r433"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) from effect of exchange rate changes on cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; held in foreign currencies. Excludes amounts 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": "Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Continuing Operations",
        "terseLabel": "Effect of foreign currency exchange rates"
       }
      }
     },
     "localname": "EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Employee Stock Option [Member]",
        "terseLabel": "Employee Stock Option"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EnergySectorMember": {
     "auth_ref": [
      "r1128",
      "r1131",
      "r1133",
      "r1136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to energy.",
        "label": "Energy Sector [Member]",
        "terseLabel": "Energy: Oil and Gas"
       }
      }
     },
     "localname": "EnergySectorMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentDividendsOrDistributions": {
     "auth_ref": [
      "r4",
      "r6",
      "r114",
      "r507"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities.",
        "label": "Proceeds from Equity Method Investment, Distribution",
        "terseLabel": "Distribution received"
       }
      }
     },
     "localname": "EquityMethodInvestmentDividendsOrDistributions",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r267"
     ],
     "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",
        "terseLabel": "Ownership percentage"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EquityMethodInvestmentSoldCarryingAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the entity's equity method investment which has been sold.",
        "label": "Equity Method Investment, Amount Sold",
        "terseLabel": "Investments sold",
        "totalLabel": "Equity Method Investment, Amount Sold, Total"
       }
      }
     },
     "localname": "EquityMethodInvestmentSoldCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesByIndustryAxis": {
     "auth_ref": [
      "r564",
      "r568",
      "r571",
      "r673",
      "r688",
      "r709",
      "r769",
      "r819",
      "r842"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquitySecuritiesFvNiRestricted": {
     "auth_ref": [
      "r465",
      "r792",
      "r793"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of restricted investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI, Restricted",
        "terseLabel": "Aggregate fair value of securities"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiRestricted",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesIndustryMember": {
     "auth_ref": [
      "r564",
      "r568",
      "r571",
      "r673",
      "r688",
      "r709",
      "r769",
      "r842"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquitySecuritiesMember": {
     "auth_ref": [
      "r50",
      "r848",
      "r849",
      "r850",
      "r1129"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ownership interest or right to acquire or dispose of ownership interest in corporations and other legal entities for which ownership interest is represented by shares of common or preferred stock, convertible securities, stock rights, or stock warrants.",
        "label": "Equity Securities [Member]",
        "terseLabel": "Equity Interests"
       }
      }
     },
     "localname": "EquitySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EurodollarMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate based on U.S. dollar denominated deposits at foreign banks or foreign branches of U.S. banks.",
        "label": "Eurodollar [Member]",
        "terseLabel": "Euro dollar rate"
       }
      }
     },
     "localname": "EurodollarMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExciseAndSalesTaxes": {
     "auth_ref": [
      "r181"
     ],
     "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": "U. S. federal excise tax"
       }
      }
     },
     "localname": "ExciseAndSalesTaxes",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [
      "r424",
      "r425",
      "r428"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value Measurements"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r424",
      "r425",
      "r428"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock": {
     "auth_ref": [
      "r15",
      "r83",
      "r85",
      "r137"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financial instruments measured at fair value, including those classified in shareholders' equity measured on a recurring or nonrecurring basis. Disclosures include, but are not limited to, fair value measurements recorded and the reasons for the measurements, level within the fair value hierarchy in which the fair value measurements are categorized and transfers between levels 1 and 2. Nonrecurring fair value measurements are those that are required or permitted in the statement of financial position in particular circumstances.",
        "label": "Fair Value Measurements, Recurring and Nonrecurring [Table Text Block]",
        "terseLabel": "Schedule of fair value measurements of investments by major class, cash equivalents and derivatives"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]",
        "terseLabel": "Fair Value Measurements"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r13"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r13"
     ],
     "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"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Fair Value Measurements"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r14",
      "r85"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of assets using significant unobservable inputs (level 3). Such reconciliation, separately presenting changes during the period, at a minimum, may include, but is not limited to: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income, and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r14",
      "r85"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of reconciliation of beginning and ending balances for investments that use Level 3 inputs"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r314",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r425",
      "r454",
      "r455",
      "r456",
      "r823",
      "r824",
      "r830",
      "r831",
      "r832"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r423"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Measurements"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r314",
      "r351",
      "r356",
      "r425",
      "r454",
      "r830",
      "r831",
      "r832"
     ],
     "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"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r314",
      "r351",
      "r356",
      "r425",
      "r455",
      "r823",
      "r824",
      "r830",
      "r831",
      "r832"
     ],
     "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"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r314",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r425",
      "r456",
      "r823",
      "r824",
      "r830",
      "r831",
      "r832"
     ],
     "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"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember": {
     "auth_ref": [
      "r351",
      "r422",
      "r429"
     ],
     "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": "Net asset value"
       }
      }
     },
     "localname": "FairValueMeasuredAtNetAssetValuePerShareMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities.",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "terseLabel": "Valuation of Portfolio Investments"
       }
      }
     },
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "auth_ref": [
      "r84"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases",
        "terseLabel": "Purchases of investments and other adjustments to cost"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales": {
     "auth_ref": [
      "r84"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of sale of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales",
        "terseLabel": "Principal repayments and sales of investments"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3": {
     "auth_ref": [
      "r427"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfer of financial instrument classified as an asset into level 3 of the fair value hierarchy.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Transfers Into Level 3",
        "terseLabel": "Transfers to Level 3"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3": {
     "auth_ref": [
      "r427"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of financial instrument classified as an asset out of level 3 of the fair value hierarchy.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers out of Level 3",
        "negatedLabel": "Transfers out of Level 3"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r14"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance",
        "terseLabel": "Total unobservable inputs"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r314",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r454",
      "r455",
      "r456",
      "r823",
      "r824",
      "r830",
      "r831",
      "r832"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FederalFundsEffectiveSwapRateMember": {
     "auth_ref": [
      "r1075"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed rate on U.S. dollar, constant-notional interest rate swap having its variable-rate leg referenced to Federal Funds effective rate with no additional spread over Federal Funds effective rate on that variable-rate leg.",
        "label": "Fed Funds Effective Rate Overnight Index Swap Rate [Member]",
        "terseLabel": "Fed funds rate"
       }
      }
     },
     "localname": "FederalFundsEffectiveSwapRateMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r325",
      "r345",
      "r417",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r460",
      "r461",
      "r462",
      "r463",
      "r464",
      "r466",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r511",
      "r820",
      "r1025",
      "r1026",
      "r1027",
      "r1028",
      "r1029",
      "r1030",
      "r1031",
      "r1055",
      "r1056",
      "r1057",
      "r1058"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ForeignCurrencyTransactionGainLossRealized": {
     "auth_ref": [
      "r616",
      "r853",
      "r1080",
      "r1081",
      "r1120"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of realized gain (loss) from foreign currency transaction.",
        "label": "Realized Gain (Loss), Foreign Currency Transaction, before Tax",
        "negatedLabel": "Net realized (gain) loss on foreign currency transactions",
        "terseLabel": "Net realized gain (loss) on foreign currency transactions"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionGainLossRealized",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionGainLossUnrealized": {
     "auth_ref": [
      "r124",
      "r618",
      "r853",
      "r1080",
      "r1081",
      "r1121"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of unrealized gain (loss) from foreign currency transaction.",
        "label": "Unrealized Gain (Loss), Foreign Currency Transaction, before Tax",
        "terseLabel": "Net unrealized gain (loss) on foreign contracts"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionGainLossUnrealized",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionGainLossUnrealizedExcludingInvestmentPriceChangeBeforeTax": {
     "auth_ref": [
      "r618",
      "r788",
      "r1121"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of unrealized gain (loss) from foreign currency transaction excluding unrealized gain (loss) from foreign currency transaction on investment and derivative from change in market price. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity.",
        "label": "Unrealized Gain (Loss), Foreign Currency Transaction, Excluding Investment Price Change, before Tax",
        "negatedLabel": "Net change in unrealized appreciation on foreign currency translation",
        "terseLabel": "Net change in unrealized appreciation (depreciation) on foreign currency translation"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionGainLossUnrealizedExcludingInvestmentPriceChangeBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "auth_ref": [
      "r432"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy.",
        "label": "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
        "terseLabel": "Foreign Currency Translation"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ForeignExchangeForwardMember": {
     "auth_ref": [
      "r596",
      "r603",
      "r608",
      "r640",
      "r646",
      "r724",
      "r725",
      "r730",
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign exchange forward traded on an exchange (examples include but are not limited to the International Securities Exchange, Philadelphia Stock Exchange, or the Chicago Mercantile Exchange) for options or future contracts to buy or sell a certain currency, at a specified date, at a fixed exercise exchange rate.",
        "label": "Foreign Exchange Forward [Member]",
        "terseLabel": "Foreign Exchange Forward"
       }
      }
     },
     "localname": "ForeignExchangeForwardMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnForeignCurrencyDerivativesRecordedInEarningsNet": {
     "auth_ref": [
      "r69",
      "r74",
      "r76"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate impact of foreign currency derivatives on earnings for the period. Includes impact of foreign currency cash flow hedge ineffectiveness and the ineffectiveness of fair value hedging derivatives and full change in fair value of the foreign currency derivatives not designated as hedging instruments.",
        "label": "Gain (Loss) on Foreign Currency Derivatives Recorded in Earnings, Net",
        "terseLabel": "Impact of foreign currency on total net gains (losses)"
       }
      }
     },
     "localname": "GainLossOnForeignCurrencyDerivativesRecordedInEarningsNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfDerivatives": {
     "auth_ref": [
      "r6",
      "r148",
      "r638",
      "r639",
      "r640",
      "r641"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The difference between the book value and the sale price of options, swaps, futures, forward contracts, and other derivative instruments. This element refers to the gain (loss) included in earnings.",
        "label": "Gain (Loss) on Sale of Derivatives",
        "terseLabel": "Net realized gain (loss) on forward currency exchange contracts",
        "totalLabel": "Total net realized and unrealized gains (losses) on forward currency exchange contracts"
       }
      }
     },
     "localname": "GainLossOnSaleOfDerivatives",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfInvestments": {
     "auth_ref": [
      "r6"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net realized gain (loss) on investments sold during the period, not including gains (losses) on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity, which, for cash flow reporting, is a component of proceeds from investing activities.",
        "label": "Gain (Loss) on Sale of Investments",
        "terseLabel": "Net realized gain from sale of investment",
        "totalLabel": "Gain (Loss) on Sale of Investments, Total"
       }
      }
     },
     "localname": "GainLossOnSaleOfInvestments",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSecuritizationOfFinancialAssets": {
     "auth_ref": [
      "r453",
      "r1037",
      "r1038",
      "r1040",
      "r1093"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A gain (loss) realized on a transfer, accounted for as a sale, of all or a portion of financial assets in which the transferor surrenders control and receives consideration other than a beneficial interest in the assets transferred. Reflects the amount of sales proceeds in excess of, or deficient from, the sum of the carrying amounts of transferred financial assets plus transaction costs.",
        "label": "Gain (Loss) on Securitization of Financial Assets",
        "terseLabel": "Realized gains (losses) on debt securitization"
       }
      }
     },
     "localname": "GainLossOnSecuritizationOfFinancialAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainsLossesOnExtinguishmentOfDebt": {
     "auth_ref": [
      "r6",
      "r51",
      "r52"
     ],
     "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",
        "terseLabel": "Gain (loss) on extinguishment of debt",
        "totalLabel": "Gain (Loss) on Extinguishment of Debt, Total"
       }
      }
     },
     "localname": "GainsLossesOnExtinguishmentOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r118",
      "r626"
     ],
     "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 expenses",
        "totalLabel": "General and Administrative Expense, Total"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GrossInvestmentIncomeOperating": {
     "auth_ref": [
      "r512",
      "r853",
      "r1117"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before investment expense, of income earned from investments in securities and real estate. Includes, but is not limited to, real estate investment, policy loans, dividends, and interest. Excludes realized gain (loss) on investments.",
        "label": "Gross Investment Income, Operating",
        "totalLabel": "Total investment income (loss)"
       }
      }
     },
     "localname": "GrossInvestmentIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "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"
       }
      }
     },
     "localname": "IPOMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncentiveFeeExpense": {
     "auth_ref": [
      "r93",
      "r1119"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for incentive fee based on performance under arrangement to manage operations, including, but not limited to, investment.",
        "label": "Incentive Fee Expense",
        "terseLabel": "Incentive fee incurred",
        "verboseLabel": "Incentive fee"
       }
      }
     },
     "localname": "IncentiveFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncentiveFeePayable": {
     "auth_ref": [
      "r1109"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 8.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fee payable for management of operations based on performance under arrangement, including, but not limited to, investment.",
        "label": "Incentive Fee Payable",
        "terseLabel": "Incentive fee payable"
       }
      }
     },
     "localname": "IncentiveFeePayable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeApproachValuationTechniqueMember": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach converting future amounts to single current discounted amount.",
        "label": "Valuation, Income Approach [Member]",
        "terseLabel": "Income approach"
       }
      }
     },
     "localname": "IncomeApproachValuationTechniqueMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r283",
      "r284",
      "r631"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r284",
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax jurisdiction.",
        "label": "Income Tax Authority [Axis]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
        "label": "Income Tax Authority [Domain]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r150",
      "r157",
      "r211",
      "r212",
      "r227",
      "r392",
      "r400",
      "r518"
     ],
     "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": "Provision for income taxes",
        "totalLabel": "Income Tax Expense (Benefit), Total"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r177",
      "r390",
      "r391",
      "r394",
      "r395",
      "r396",
      "r397",
      "r528"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r37"
     ],
     "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 income taxes, including excise taxes during the period",
        "totalLabel": "Income Taxes Paid, Net, Total"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 22.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",
        "totalLabel": "Increase (Decrease) in Accounts Payable and Accrued Liabilities, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount due from borrowers for interest payments.",
        "label": "Increase (Decrease) in Accrued Interest Receivable, Net",
        "negatedLabel": "Interest receivable on investments"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedInterestReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDerivativeAssets": {
     "auth_ref": [
      "r1039"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the period in the carrying value of derivative instruments reported as assets that are due to be disposed of within one year (or the normal operating cycle, if longer).",
        "label": "Increase (Decrease) in Derivative Assets",
        "negatedLabel": "Collateral on forward currency exchange contracts"
       }
      }
     },
     "localname": "IncreaseDecreaseInDerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDividendsReceivable": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in cash disbursements due from investments, representing the shareholders' portion of profits.",
        "label": "Increase (Decrease) in Dividends Receivable",
        "negatedLabel": "Dividend receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInDividendsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInIncentiveFeePayable": {
     "auth_ref": [
      "r1126"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in fee payable for management of operations based on performance under arrangement, including, but not limited to, investment.",
        "label": "Increase (Decrease) in Incentive Fee Payable",
        "terseLabel": "Incentive fee payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInIncentiveFeePayable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInterestPayableNet": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 17.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 payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInInterestPayableNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInManagementFeePayable": {
     "auth_ref": [
      "r1126"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in fee payable for management of fund or trust.",
        "label": "Increase (Decrease) in Management Fee Payable",
        "terseLabel": "Base management fee payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInManagementFeePayable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Changes in operating assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidExpense": {
     "auth_ref": [
      "r5"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount of outstanding money paid in advance for goods or services that bring economic benefits for future periods.",
        "label": "Increase (Decrease) in Prepaid Expense",
        "negatedLabel": "Prepaid Insurance"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInReceivableForInvestmentSold": {
     "auth_ref": [
      "r1126"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in receivable from sale of investment.",
        "label": "Increase (Decrease) in Receivable for Investment Sold",
        "negatedLabel": "Increase in investments due to PIK"
       }
      }
     },
     "localname": "IncreaseDecreaseInReceivableForInvestmentSold",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDebtExpense": {
     "auth_ref": [
      "r8"
     ],
     "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",
        "totalLabel": "Total interest and debt financing expenses"
       }
      }
     },
     "localname": "InterestAndDebtExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtRevolvingAdvisorLoanDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityInterestExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDebtExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Debt Expense [Abstract]",
        "terseLabel": "Components of interest expense"
       }
      }
     },
     "localname": "InterestAndDebtExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtRevolvingAdvisorLoanDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityInterestExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperatingPaidInKind": {
     "auth_ref": [
      "r1117"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest and dividend income from investment paid in kind, classified as operating.",
        "label": "Interest and Dividend Income, Operating, Paid in Kind",
        "terseLabel": "PIK income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperatingPaidInKind",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r91",
      "r149",
      "r180",
      "r226",
      "r437",
      "r632",
      "r853",
      "r1113"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "terseLabel": "Interest and debt financing expenses",
        "totalLabel": "Interest Expense, Total",
        "verboseLabel": "Interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDebt": {
     "auth_ref": [
      "r120",
      "r320",
      "r331",
      "r825",
      "r826"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt.",
        "label": "Interest Expense, Debt",
        "terseLabel": "Borrowing interest expense",
        "totalLabel": "Interest Expense, Debt, Total"
       }
      }
     },
     "localname": "InterestExpenseDebt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtRevolvingAdvisorLoanDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityInterestExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeOperating": {
     "auth_ref": [
      "r117",
      "r623",
      "r760",
      "r762",
      "r852",
      "r853",
      "r1138"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including, but not limited to, amortization and accretion of premiums and discounts on securities.",
        "label": "Interest Income, Operating",
        "terseLabel": "Interest Income",
        "totalLabel": "Interest Income, Operating, Total"
       }
      }
     },
     "localname": "InterestIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeOperatingPaidInCash": {
     "auth_ref": [
      "r625",
      "r760",
      "r763"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income from investment paid in cash, classified as operating.",
        "label": "Interest Income, Operating, Paid in Cash",
        "terseLabel": "Interest from investments"
       }
      }
     },
     "localname": "InterestIncomeOperatingPaidInCash",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r183",
      "r186",
      "r187"
     ],
     "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",
        "negatedLabel": "Cash interest paid during the period",
        "terseLabel": "Cash interest paid during the period"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r96",
      "r1094"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables.",
        "label": "Interest Payable",
        "terseLabel": "Interest payable",
        "verboseLabel": "Interest payable on debt"
       }
      }
     },
     "localname": "InterestPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateRiskMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk associated with changes in interest rates that effect the value of an interest-bearing asset or liability, and a servicing asset or liability.",
        "label": "Interest Rate Risk [Member]"
       }
      }
     },
     "localname": "InterestRateRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r1033",
      "r1127"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 7.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 on investments"
       }
      }
     },
     "localname": "InterestReceivable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentAcquisitionDate": {
     "auth_ref": [
      "r675",
      "r684",
      "r700",
      "r768"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date when investment is acquired, in YYYY-MM-DD format.",
        "label": "Investment, Acquisition Date",
        "terseLabel": "Acquisition date"
       }
      }
     },
     "localname": "InvestmentAcquisitionDate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_InvestmentAffiliatedIssuerControlledMember": {
     "auth_ref": [
      "r527",
      "r539",
      "r584",
      "r586",
      "r593",
      "r610",
      "r625",
      "r626",
      "r763"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Controlled affiliated issuer of investment.",
        "label": "Investment, Affiliated Issuer, Controlled [Member]",
        "terseLabel": "Controlled affiliate"
       }
      }
     },
     "localname": "InvestmentAffiliatedIssuerControlledMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember": {
     "auth_ref": [
      "r527",
      "r539",
      "r585",
      "r587",
      "r594",
      "r610",
      "r625",
      "r626",
      "r743",
      "r754",
      "r755",
      "r757",
      "r758",
      "r762",
      "r763",
      "r767",
      "r768",
      "r769"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncontrolled affiliated issuer of investment.",
        "label": "Investment, Affiliated Issuer, Noncontrolled [Member]",
        "terseLabel": "Non-controlled/affiliate investment"
       }
      }
     },
     "localname": "InvestmentAffiliatedIssuerNoncontrolledMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentBasisSpreadVariableRate": {
     "auth_ref": [
      "r668",
      "r687",
      "r691",
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage added to reference rate used to compute variable rate on investment.",
        "label": "Investment, Basis Spread, Variable Rate",
        "terseLabel": "Spread Above Index (as a percent)"
       }
      }
     },
     "localname": "InvestmentBasisSpreadVariableRate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyDistributionOrdinaryIncome": {
     "auth_ref": [
      "r538",
      "r785"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyDividendDistribution",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend distribution by investment company from ordinary income.",
        "label": "Investment Company, Distribution, Ordinary Income",
        "negatedLabel": "Distributions from distributable earnings"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionOrdinaryIncome",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDistributionToShareholdersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Distribution to Shareholders [Abstract]"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionToShareholdersAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyDistributionToShareholdersPerShare": {
     "auth_ref": [
      "r538",
      "r556"
     ],
     "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": "Stockholder distributions from income",
        "terseLabel": "Stockholder distributions from income"
       }
      }
     },
     "localname": "InvestmentCompanyDistributionToShareholdersPerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDistributionsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyDividendDistribution": {
     "auth_ref": [
      "r538",
      "r542",
      "r543",
      "r653"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquityPeriodIncreaseDecrease",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend distribution from ordinary income and capital gain. Excludes distribution for tax return of capital.",
        "label": "Investment Company, Dividend Distribution",
        "negatedTotalLabel": "Net decrease in net assets resulting from stockholder distributions",
        "terseLabel": "Total Distributions",
        "totalLabel": "Investment Company, Dividend Distribution, Total"
       }
      }
     },
     "localname": "InvestmentCompanyDividendDistribution",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDistributionsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyDividendDistributionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Dividend Distribution [Abstract]",
        "terseLabel": "Stockholder distributions:"
       }
      }
     },
     "localname": "InvestmentCompanyDividendDistributionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement": {
     "auth_ref": [
      "r1118"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_NetInvestmentIncome",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after reimbursement and fee waiver, of expense for generation of investment income classified as operating.",
        "label": "Investment Company, Expense, after Reduction of Fee Waiver and Reimbursement",
        "totalLabel": "Total expenses, net of fee waivers"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Expense, after Reduction of Fee Waiver and Reimbursement [Abstract]",
        "terseLabel": "Expenses"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyExpenseRatioExcludingIncentiveFee": {
     "auth_ref": [
      "r545"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage, after deduction of fee waiver and before deduction of incentive fee, of expense to average net assets.",
        "label": "Investment Company, Expense Ratio, after Fee Waiver and before Incentive Fee Deduction",
        "terseLabel": "Ratio of expenses (without incentive fees) to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseRatioExcludingIncentiveFee",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyExpenseRatioVoluntaryFeeWaiver": {
     "auth_ref": [
      "r537"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of voluntary fee waiver to average net assets.",
        "label": "Investment Company, Expense Ratio, Voluntary Fee Waiver",
        "terseLabel": "Ratio of Voluntary incentive fee waiver to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyExpenseRatioVoluntaryFeeWaiver",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Financial Highlights [Abstract]"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsLineItems": {
     "auth_ref": [
      "r548",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559"
     ],
     "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]",
        "terseLabel": "Financial Highlights"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Investment Company, Financial Highlights [Roll Forward]",
        "terseLabel": "Per share data:"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsRollForward",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTable": {
     "auth_ref": [
      "r548",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTableTextBlock": {
     "auth_ref": [
      "r544"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyFinancialHighlightsTextBlock": {
     "auth_ref": [
      "r537",
      "r544",
      "r549",
      "r554"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of financial highlights reported by investment company.",
        "label": "Investment Company, Financial Highlights [Text Block]",
        "terseLabel": "Financial Highlights"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialHighlightsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlights"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyFinancialRatiosAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Financial Ratios [Abstract]",
        "terseLabel": "Ratios:"
       }
      }
     },
     "localname": "InvestmentCompanyFinancialRatiosAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare": {
     "auth_ref": [
      "r554"
     ],
     "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 gain (loss)"
       }
      }
     },
     "localname": "InvestmentCompanyGainLossOnInvestmentPerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyIncentiveFeeToAverageNetAssets": {
     "auth_ref": [
      "r546"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of incentive fee expense to average net assets.",
        "label": "Investment Company, Incentive Fee to Average Net Assets",
        "terseLabel": "Ratio of incentive fees and management fees, net of contractual and voluntary waivers, to average net assets"
       }
      }
     },
     "localname": "InvestmentCompanyIncentiveFeeToAverageNetAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentCompanyIncomeAndExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Income and Expense [Abstract]"
       }
      }
     },
     "localname": "InvestmentCompanyIncomeAndExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare": {
     "auth_ref": [
      "r555"
     ],
     "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",
        "totalLabel": "Investment Company, Investment Income (Loss) from Operations, Per Share, Total"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare": {
     "auth_ref": [
      "r553"
     ],
     "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"
       }
      }
     },
     "localname": "InvestmentCompanyInvestmentIncomeLossPerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_InvestmentCompanyNetAssetsRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Investment Company, Net Assets [Roll Forward]",
        "terseLabel": "Operations:"
       }
      }
     },
     "localname": "InvestmentCompanyNetAssetsRollForward",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyNonconsolidatedSubsidiaryAxis": {
     "auth_ref": [
      "r192",
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by nonconsolidated subsidiary of investment company. Excludes information consolidated by reporting entity.",
        "label": "Investment Company, Nonconsolidated Subsidiary [Axis]"
       }
      }
     },
     "localname": "InvestmentCompanyNonconsolidatedSubsidiaryAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyNonconsolidatedSubsidiaryDomain": {
     "auth_ref": [
      "r192",
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nonconsolidated subsidiary of investment company. Excludes information consolidated by reporting entity.",
        "label": "Investment Company, Nonconsolidated Subsidiary [Domain]"
       }
      }
     },
     "localname": "InvestmentCompanyNonconsolidatedSubsidiaryDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentCompanyNonconsolidatedSubsidiaryLineItems": {
     "auth_ref": [
      "r192"
     ],
     "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, Nonconsolidated Subsidiary [Line Items]",
        "terseLabel": "Investment Company, Nonconsolidated Subsidiary [Line Items]"
       }
      }
     },
     "localname": "InvestmentCompanyNonconsolidatedSubsidiaryLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyNonconsolidatedSubsidiarySummarizedFinancialInformationTableTextBlock": {
     "auth_ref": [
      "r1044"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of summarized financial information for nonconsolidated subsidiary of investment company. Excludes information consolidated by reporting entity.",
        "label": "Investment Company, Nonconsolidated Subsidiary, Summarized Financial Information [Table Text Block]",
        "terseLabel": "Schedule of selected balance sheet and statements of operations information"
       }
      }
     },
     "localname": "InvestmentCompanyNonconsolidatedSubsidiarySummarizedFinancialInformationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentCompanyNonconsolidatedSubsidiaryTable": {
     "auth_ref": [
      "r192"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about nonconsolidated subsidiary of investment company. Excludes information consolidated by reporting entity.",
        "label": "Investment Company, Nonconsolidated Subsidiary [Table]"
       }
      }
     },
     "localname": "InvestmentCompanyNonconsolidatedSubsidiaryTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency": {
     "auth_ref": [
      "r619",
      "r787",
      "r853",
      "r1123"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of realized and unrealized gain (loss) on investment and derivative, classified as operating, and foreign currency transaction. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity.",
        "label": "Gain (Loss), Investment and Derivative, Operating, and Foreign Currency Transaction, before Tax",
        "terseLabel": "Realized and unrealized gains and losses",
        "totalLabel": "Gain (Loss), Investment and Derivative, Operating, and Foreign Currency Transaction, before Tax, Total"
       }
      }
     },
     "localname": "InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentCompanyStatementOfCashFlowsItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Company, Statement of Cash Flows Items [Abstract]"
       }
      }
     },
     "localname": "InvestmentCompanyStatementOfCashFlowsItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentCompanyTotalReturn": {
     "auth_ref": [
      "r534",
      "r547",
      "r550"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentHoldingsScheduleOfInvestmentsTableTextBlock": {
     "auth_ref": [
      "r1102",
      "r1103",
      "r1104",
      "r1105",
      "r1106",
      "r1107"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of data and information required in the supplementary schedule applicable to management investment companies listing holdings of unaffiliated investments.",
        "label": "Investment Holdings, Schedule of Investments [Table Text Block]",
        "terseLabel": "Schedule of portfolio at fair value"
       }
      }
     },
     "localname": "InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentIdentifierAxis": {
     "auth_ref": [
      "r562",
      "r563",
      "r564",
      "r569",
      "r570",
      "r571",
      "r576",
      "r577",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r681",
      "r682",
      "r683",
      "r684",
      "r685",
      "r689",
      "r690",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r697",
      "r698",
      "r699",
      "r700",
      "r701",
      "r702",
      "r703",
      "r704",
      "r706",
      "r707",
      "r708",
      "r711",
      "r712",
      "r741",
      "r742",
      "r743",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753",
      "r755",
      "r756",
      "r758",
      "r759",
      "r760",
      "r761",
      "r763",
      "r764",
      "r765",
      "r766",
      "r768",
      "r770",
      "r771",
      "r772",
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of investment in security, including, but not limited to, name, title, and other identifying information.",
        "label": "Investment, Identifier [Axis]"
       }
      }
     },
     "localname": "InvestmentIdentifierAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentIncomeInterestAndDividend": {
     "auth_ref": [
      "r119"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accretion (amortization) of purchase discount (premium) of interest income and dividend income on nonoperating securities.",
        "label": "Investment Income, Interest and Dividend",
        "terseLabel": "Dividend, Interest, and PIK Income",
        "totalLabel": "Investment Income, Interest and Dividend, Total"
       }
      }
     },
     "localname": "InvestmentIncomeInterestAndDividend",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentIncomeInvestmentExpense": {
     "auth_ref": [
      "r121",
      "r853",
      "r1097"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses related to the generation of investment income.",
        "label": "Investment Income, Investment Expense",
        "terseLabel": "Total expenses",
        "totalLabel": "Total expenses"
       }
      }
     },
     "localname": "InvestmentIncomeInvestmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax": {
     "auth_ref": [
      "r541",
      "r635",
      "r649",
      "r854"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after expense and tax, of investment income classified as operating. Excludes realized and unrealized gain (loss) on investment.",
        "label": "Investment Income, Operating, after Expense and Tax",
        "terseLabel": "Net investment income (loss)",
        "totalLabel": "Net investment income (loss)"
       }
      }
     },
     "localname": "InvestmentIncomeOperatingAfterExpenseAndTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit": {
     "auth_ref": [
      "r613",
      "r614",
      "r621",
      "r634"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) on investment income classified as operating. Excludes realized and unrealized gain (loss) on investment.",
        "label": "Investment Income, Operating, Tax Expense (Benefit)",
        "terseLabel": "Income tax expense, including excise tax"
       }
      }
     },
     "localname": "InvestmentIncomeOperatingTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentInterestRate": {
     "auth_ref": [
      "r667",
      "r668",
      "r686",
      "r687",
      "r691",
      "r692",
      "r750",
      "r751",
      "r842",
      "r1051",
      "r1053"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate of interest on investment.",
        "label": "Investment Interest Rate",
        "terseLabel": "Interest rate"
       }
      }
     },
     "localname": "InvestmentInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentInterestRateFloor": {
     "auth_ref": [
      "r1130",
      "r1132",
      "r1134",
      "r1137"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum rate of interest on investment.",
        "label": "Investment, Interest Rate, Floor"
       }
      }
     },
     "localname": "InvestmentInterestRateFloor",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentInterestRatePaidInKind": {
     "auth_ref": [
      "r668",
      "r687",
      "r691",
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate of interest paid in kind on investment.",
        "label": "Investment, Interest Rate, Paid in Kind",
        "terseLabel": "PIK"
       }
      }
     },
     "localname": "InvestmentInterestRatePaidInKind",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentIssuerAffiliationAxis": {
     "auth_ref": [
      "r527",
      "r539",
      "r567",
      "r578",
      "r593",
      "r594",
      "r625",
      "r626",
      "r627",
      "r628",
      "r636",
      "r637",
      "r642",
      "r643",
      "r673",
      "r674",
      "r680",
      "r705",
      "r709",
      "r710",
      "r754",
      "r755",
      "r757",
      "r758",
      "r762",
      "r763",
      "r767",
      "r768",
      "r769"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by affiliation of issuer of investment.",
        "label": "Investment, Issuer Affiliation [Axis]"
       }
      }
     },
     "localname": "InvestmentIssuerAffiliationAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentIssuerAffiliationDomain": {
     "auth_ref": [
      "r527",
      "r539",
      "r567",
      "r578",
      "r593",
      "r594",
      "r625",
      "r626",
      "r627",
      "r628",
      "r636",
      "r637",
      "r642",
      "r643",
      "r673",
      "r674",
      "r680",
      "r705",
      "r709",
      "r710",
      "r754",
      "r755",
      "r757",
      "r758",
      "r762",
      "r763",
      "r767",
      "r768",
      "r769"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Affiliation of issuer of investment.",
        "label": "Investment, Issuer Affiliation [Domain]"
       }
      }
     },
     "localname": "InvestmentIssuerAffiliationDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentMaturityDate": {
     "auth_ref": [
      "r667",
      "r668",
      "r686",
      "r687",
      "r691",
      "r692",
      "r750",
      "r751",
      "r842",
      "r1052",
      "r1054"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maturity date of investment, in YYYY-MM-DD format.",
        "label": "Investment Maturity Date",
        "terseLabel": "Maturity date"
       }
      }
     },
     "localname": "InvestmentMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_InvestmentOwnedAtCost": {
     "auth_ref": [
      "r527",
      "r569",
      "r570",
      "r677",
      "r685",
      "r702",
      "r768",
      "r842",
      "r855",
      "r1105"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost of the investment.",
        "label": "Investment Owned, Cost",
        "negatedLabel": "Cost",
        "terseLabel": "Investments, amortized cost",
        "verboseLabel": "Cost"
       }
      }
     },
     "localname": "InvestmentOwnedAtCost",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedAtFairValue": {
     "auth_ref": [
      "r527",
      "r562",
      "r563",
      "r564",
      "r566",
      "r568",
      "r569",
      "r570",
      "r573",
      "r578",
      "r581",
      "r593",
      "r594",
      "r664",
      "r673",
      "r674",
      "r683",
      "r695",
      "r696",
      "r709",
      "r710",
      "r711",
      "r745",
      "r748",
      "r767",
      "r769",
      "r772",
      "r842",
      "r855",
      "r1105"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in security owned.",
        "label": "Investment Owned, Fair Value",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance",
        "terseLabel": "Investments at fair value",
        "verboseLabel": "Market Value"
       }
      }
     },
     "localname": "InvestmentOwnedAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpSPortfolioDetailss",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedBalancePrincipalAmount": {
     "auth_ref": [
      "r562",
      "r573",
      "r671",
      "r699",
      "r753",
      "r842"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of principal of investment owned.",
        "label": "Investment Owned, Balance, Principal Amount",
        "terseLabel": "Principal/Shares"
       }
      }
     },
     "localname": "InvestmentOwnedBalancePrincipalAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedPercentOfNetAssets": {
     "auth_ref": [
      "r565",
      "r569",
      "r570",
      "r673",
      "r695",
      "r709",
      "r712",
      "r769",
      "r842",
      "r1105"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of investment owned to net assets.",
        "label": "Investment Owned, Net Assets, Percentage",
        "terseLabel": "% of Member's Equity",
        "verboseLabel": "% of NAV"
       }
      }
     },
     "localname": "InvestmentOwnedPercentOfNetAssets",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_InvestmentTableTextBlock": {
     "auth_ref": [
      "r1023",
      "r1024",
      "r1050"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of investment.",
        "label": "Investment [Table Text Block]",
        "terseLabel": "Schedule of investment portfolio at amortized cost and fair value"
       }
      }
     },
     "localname": "InvestmentTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTextBlock": {
     "auth_ref": [
      "r1023",
      "r1024",
      "r1050"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for investment.",
        "label": "Investment [Text Block]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r563",
      "r565",
      "r566",
      "r569",
      "r573",
      "r664",
      "r673",
      "r688",
      "r696",
      "r709",
      "r739",
      "r740",
      "r769",
      "r773",
      "r774",
      "r775",
      "r776",
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type [Axis]"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r563",
      "r565",
      "r566",
      "r569",
      "r573",
      "r664",
      "r673",
      "r688",
      "r696",
      "r709",
      "r739",
      "r740",
      "r769",
      "r773",
      "r774",
      "r775",
      "r776",
      "r842"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentUnaffiliatedIssuerMember": {
     "auth_ref": [
      "r527",
      "r578",
      "r610",
      "r625",
      "r626",
      "r627",
      "r636",
      "r642",
      "r664",
      "r669",
      "r673",
      "r674",
      "r680",
      "r697",
      "r705",
      "r709",
      "r710"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unaffiliated issuer of investment.",
        "label": "Investment, Unaffiliated Issuer [Member]",
        "terseLabel": "Non-controlled/non-affiliate"
       }
      }
     },
     "localname": "InvestmentUnaffiliatedIssuerMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Abstract]"
       }
      }
     },
     "localname": "InvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LetterOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A document typically issued by a financial institution which acts as a guarantee of payment to a beneficiary, or as the source of payment for a specific transaction (for example, wiring funds to a foreign exporter if and when specified merchandise is accepted pursuant to the terms of the letter of credit).",
        "label": "Letter of Credit [Member]",
        "terseLabel": "Letter of credit"
       }
      }
     },
     "localname": "LetterOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r25",
      "r193",
      "r270",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r404",
      "r407",
      "r408",
      "r431",
      "r588",
      "r816",
      "r855",
      "r1064",
      "r1084",
      "r1085"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "terseLabel": "Total Liabilities",
        "totalLabel": "Total Liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r110",
      "r146",
      "r506",
      "r838",
      "r1045",
      "r1059",
      "r1079"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "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",
        "terseLabel": "Total liabilities and members equity",
        "totalLabel": "Total Liabilities and Total Net Assets",
        "verboseLabel": "Total Liabilities and Total Net assets"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest": {
     "auth_ref": [
      "r41"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage investment held by members or limited partners of limited liability company (LLC) or limited partnership (LP).",
        "label": "Limited Liability Company or Limited Partnership, Members or Limited Partners, Ownership Interest",
        "terseLabel": "Economic ownership interest"
       }
      }
     },
     "localname": "LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r22",
      "r144",
      "r1095"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
        "label": "Long-Term Line of Credit",
        "terseLabel": "Outstanding balance",
        "totalLabel": "Long-Term Line of Credit, Total"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtRevolvingAdvisorLoanDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityAxis": {
     "auth_ref": [
      "r24",
      "r1043"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of lender, which may be a single entity (for example, but not limited to, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit.",
        "label": "Lender Name [Axis]"
       }
      }
     },
     "localname": "LineOfCreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityCommitmentFeeAmount": {
     "auth_ref": [
      "r24"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the fee for available but unused credit capacity under the credit facility.",
        "label": "Line of Credit Facility, Commitment Fee Amount",
        "terseLabel": "Unused facility fee"
       }
      }
     },
     "localname": "LineOfCreditFacilityCommitmentFeeAmount",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtInterestExpenseOn20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityInterestExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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": "Commitment fee (as a percent)"
       }
      }
     },
     "localname": "LineOfCreditFacilityCommitmentFeePercentage",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LineOfCreditFacilityLenderDomain": {
     "auth_ref": [
      "r24",
      "r1043"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the lender, which may be a single entity (for example, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit, including a letter of credit facility.",
        "label": "Line of Credit Facility, Lender [Domain]"
       }
      }
     },
     "localname": "LineOfCreditFacilityLenderDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r24"
     ],
     "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": "Maximum commitment amount",
        "verboseLabel": "Maximum borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtRevolvingAdvisorLoanDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRevolvingAdvisorLoanDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time, and under which borrowings outstanding may be either short-term or long-term, depending upon the particulars.",
        "label": "Line of Credit [Member]",
        "terseLabel": "Line of Credit [Member]"
       }
      }
     },
     "localname": "LineOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNonaccrualLoanAndLeaseStatusPolicy": {
     "auth_ref": [
      "r49"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for when a loan ceases to accrue interest or other revenue because the borrower is in financial difficulty. May also describe the treatment of previously earned but uncollected interest income on loans in nonaccrual status, how cash received from borrowers is recorded on loans that are in nonaccrual status, and the policy for resuming accrual of interest. Also includes the policy for charging off uncollectible loans and trade receivables, and the policy for determining past-due or delinquency status (i.e. whether past-due status is based on how recently payments have been received or on contractual terms).",
        "label": "Loans and Leases Receivable, Nonaccrual Loan and Lease Status, Policy [Policy Text Block]",
        "terseLabel": "Non-Accrual Loans"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNonaccrualLoanAndLeaseStatusPolicy",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r22",
      "r144",
      "r313",
      "r329",
      "r823",
      "r824",
      "r1095"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation.",
        "label": "Long-Term Debt",
        "terseLabel": "Carrying value",
        "totalLabel": "Long-Term Debt, Total"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOutstandingBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Unclassified [Abstract]",
        "terseLabel": "Components of carrying value"
       }
      }
     },
     "localname": "LongTermDebtAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesInterestExpenseAndCarryingValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesInterestExpenseAndCarryingValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermDebtAverageAmountOutstanding": {
     "auth_ref": [
      "r158",
      "r159",
      "r632"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average amount outstanding of long-term debt.",
        "label": "Long-Term Debt, Average Amount Outstanding",
        "terseLabel": "Average principal debt outstanding"
       }
      }
     },
     "localname": "LongTermDebtAverageAmountOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtByMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Maturities of debt obligations"
       }
      }
     },
     "localname": "LongTermDebtByMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermDebtMaturingInYearsFourAndFive": {
     "auth_ref": [
      "r7",
      "r1068"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth and fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Four and Five",
        "terseLabel": "3-5 years",
        "totalLabel": "Long-Term Debt, Maturity, Year Four and Five, Total"
       }
      }
     },
     "localname": "LongTermDebtMaturingInYearsFourAndFive",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturingInYearsTwoAndThree": {
     "auth_ref": [
      "r7",
      "r1068"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second and third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Two and Three",
        "terseLabel": "1-3 years",
        "totalLabel": "Long-Term Debt, Maturity, Year Two and Three, Total"
       }
      }
     },
     "localname": "LongTermDebtMaturingInYearsTwoAndThree",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive": {
     "auth_ref": [
      "r7",
      "r199",
      "r1068"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, after Year Five",
        "terseLabel": "More than 5 years"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMaturitiesOfDebtObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ManagementFeeExpense": {
     "auth_ref": [
      "r93",
      "r626",
      "r853",
      "r1112"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for investment management fee, including, but not limited to, expense in connection with research, selection, supervision, and custody of investment.",
        "label": "Management Fee Expense",
        "terseLabel": "Management fees",
        "verboseLabel": "Base management fee"
       }
      }
     },
     "localname": "ManagementFeeExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ManagementFeePayable": {
     "auth_ref": [
      "r582"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 7.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fee payable for management of fund or trust.",
        "label": "Management Fee Payable",
        "terseLabel": "Base management fee payable"
       }
      }
     },
     "localname": "ManagementFeePayable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketApproachValuationTechniqueMember": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach using price and other relevant information generated by market transaction involving identical or comparable asset, liability, or group of assets and liabilities.",
        "label": "Valuation, Market Approach [Member]",
        "terseLabel": "Market approach"
       }
      }
     },
     "localname": "MarketApproachValuationTechniqueMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputComparabilityAdjustmentMember": {
     "auth_ref": [
      "r1078"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using adjustment to observed price for similar asset or liability when identical transaction does not exist.",
        "label": "Measurement Input, Comparability Adjustment [Member]",
        "terseLabel": "Comparative Yields"
       }
      }
     },
     "localname": "MeasurementInputComparabilityAdjustmentMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "auth_ref": [
      "r1078"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate to determine present value of future cash flows.",
        "label": "Measurement Input, Discount Rate [Member]",
        "terseLabel": "Discount Rate"
       }
      }
     },
     "localname": "MeasurementInputDiscountRateMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputEbitdaMultipleMember": {
     "auth_ref": [
      "r1078"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using earnings before interest, tax, depreciation and amortization (EBITDA) multiple.",
        "label": "Measurement Input, EBITDA Multiple [Member]",
        "terseLabel": "EBITDA Multiple"
       }
      }
     },
     "localname": "MeasurementInputEbitdaMultipleMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r426"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MinorityInterest": {
     "auth_ref": [
      "r29",
      "r145",
      "r193",
      "r270",
      "r291",
      "r293",
      "r294",
      "r295",
      "r298",
      "r299",
      "r431",
      "r505",
      "r592"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of equity (deficit) attributable to noncontrolling interest. Excludes temporary equity.",
        "label": "Equity, Attributable to Noncontrolling Interest",
        "periodEndLabel": "Equity, Attributable to Noncontrolling Interest, Ending Balance",
        "periodStartLabel": "Equity, Attributable to Noncontrolling Interest, Beginning Balance",
        "terseLabel": "Noncontrolling interests",
        "totalLabel": "Equity, Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "MinorityInterest",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MinorityInterestOwnershipPercentageByParent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The parent entity's interest in net assets of the subsidiary, expressed as a percentage.",
        "label": "Subsidiary, Ownership Percentage, Parent",
        "terseLabel": "Membership interests (as a percent)"
       }
      }
     },
     "localname": "MinorityInterestOwnershipPercentageByParent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20181NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_NetAssetValuePerShare": {
     "auth_ref": [
      "r0",
      "r1",
      "r18",
      "r552",
      "r559",
      "r561",
      "r592",
      "r611",
      "r779",
      "r855"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net asset value per share or per unit of investments in certain entities that calculate net asset value per share. Includes, but is not limited to, by unit, membership interest, or other ownership interest. Investment includes, but is not limited to, investment in certain hedge funds, venture capital funds, private equity funds, real estate partnerships or funds. Excludes fair value disclosure.",
        "label": "NAV Per Share",
        "periodEndLabel": "Net asset value at end of period",
        "periodStartLabel": "Net asset value at beginning of period",
        "terseLabel": "Net asset value per share",
        "verboseLabel": "Net asset value per common share"
       }
      }
     },
     "localname": "NetAssetValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r185"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash flows from financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r122",
      "r123",
      "r124"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash used in operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Cash flows from operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r115",
      "r124",
      "r147",
      "r162",
      "r175",
      "r176",
      "r179",
      "r193",
      "r203",
      "r205",
      "r206",
      "r207",
      "r208",
      "r211",
      "r212",
      "r217",
      "r225",
      "r228",
      "r230",
      "r232",
      "r270",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r421",
      "r431",
      "r510",
      "r620",
      "r648",
      "r652",
      "r817",
      "r853",
      "r1064"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityPeriodIncreaseDecrease",
       "weight": 1.0
      },
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss)",
        "terseLabel": "Net Income (Loss)",
        "totalLabel": "Net increase (decrease) in net assets resulting from operations"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r63",
      "r135",
      "r175",
      "r176",
      "r211",
      "r212",
      "r509",
      "r1034"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Net Income (Loss) attributable to noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Noncontrolling Interest",
        "terseLabel": "Less: net increase (decrease) attributable to noncontrolling interests",
        "totalLabel": "Net Income (Loss) Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetInvestmentIncome": {
     "auth_ref": [
      "r152",
      "r513",
      "r514",
      "r633",
      "r853"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after investment expense, of income earned from investments in securities and real estate. Includes, but is not limited to, real estate investment, policy loans, dividends, and interest. Excludes realized gain (loss) on investments.",
        "label": "Net Investment Income",
        "totalLabel": "Net investment income (loss)"
       }
      }
     },
     "localname": "NetInvestmentIncome",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetInvestmentIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Investment Income [Abstract]",
        "terseLabel": "Investment Income"
       }
      }
     },
     "localname": "NetInvestmentIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "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": "Recent Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncashInvestingAndFinancingItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncash Investing and Financing Items [Abstract]",
        "terseLabel": "Supplemental disclosure of non-cash information:"
       }
      }
     },
     "localname": "NoncashInvestingAndFinancingItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NotesPayable": {
     "auth_ref": [
      "r22",
      "r144",
      "r1095"
     ],
     "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": "Subordinated notes payable to members",
        "totalLabel": "Notes Payable, Total",
        "verboseLabel": "Subordinated notes payable to members"
       }
      }
     },
     "localname": "NotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OffsettingAssetsLineItems": {
     "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": "Offsetting Assets [Line Items]"
       }
      }
     },
     "localname": "OffsettingAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OffsettingAssetsTable": {
     "auth_ref": [
      "r111",
      "r112"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about derivative and financial assets that are subject to offsetting, including enforceable master netting arrangements.",
        "label": "Offsetting Assets [Table]"
       }
      }
     },
     "localname": "OffsettingAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesOffsetOfAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OpenForwardForeignCurrencyContractIdentifierAxis": {
     "auth_ref": [
      "r562",
      "r575",
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r731"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of contract for foreign currency transaction at fixed rate at future date, including, but not limited to, description of contract and other identifying information.",
        "label": "Open Forward Foreign Currency Contract, Identifier [Axis]"
       }
      }
     },
     "localname": "OpenForwardForeignCurrencyContractIdentifierAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OpenForwardForeignCurrencyContractLineItems": {
     "auth_ref": [
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731"
     ],
     "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": "Open Forward Foreign Currency Contract [Line Items]",
        "terseLabel": "Forward Foreign Currency Exchange Contracts"
       }
      }
     },
     "localname": "OpenForwardForeignCurrencyContractLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OpenForwardForeignCurrencyContractTable": {
     "auth_ref": [
      "r724",
      "r725",
      "r726",
      "r727",
      "r728",
      "r729",
      "r730",
      "r731"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about contract for foreign currency transaction at fixed rate at future date.",
        "label": "Open Forward Foreign Currency Contract [Table]"
       }
      }
     },
     "localname": "OpenForwardForeignCurrencyContractTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OpenForwardForeignCurrencyContractTableTextBlock": {
     "auth_ref": [
      "r1108",
      "r1135"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of contract for foreign currency transaction at fixed rate at future date.",
        "label": "Open Forward Foreign Currency Contract [Table Text Block]",
        "terseLabel": "Schedule of forward foreign currency exchange contracts"
       }
      }
     },
     "localname": "OpenForwardForeignCurrencyContractTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r100",
      "r134",
      "r525",
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Organization"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganization"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherCommitmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Other Commitments [Line Items]"
       }
      }
     },
     "localname": "OtherCommitmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCommitmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about obligations resulting from other commitments.",
        "label": "Other Commitments [Table]",
        "terseLabel": "Other Commitments [Table]"
       }
      }
     },
     "localname": "OtherCommitmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherGeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r118",
      "r1119"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of general and administrative expense classified as other.",
        "label": "Other General and Administrative Expense",
        "terseLabel": "Other general and administrative expenses"
       }
      }
     },
     "localname": "OtherGeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherIncome": {
     "auth_ref": [
      "r517",
      "r624",
      "r761",
      "r762",
      "r764"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_GrossInvestmentIncomeOperating",
       "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilities": {
     "auth_ref": [
      "r97",
      "r498",
      "r584",
      "r585",
      "r855",
      "r1110"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other.",
        "label": "Other Liabilities",
        "terseLabel": "Due to Affiliate",
        "totalLabel": "Other Liabilities, Total"
       }
      }
     },
     "localname": "OtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherReceivables": {
     "auth_ref": [
      "r169",
      "r600"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount due from parties in nontrade transactions, classified as other.",
        "label": "Other Receivables",
        "terseLabel": "Other receivable",
        "verboseLabel": "Due from Affiliate"
       }
      }
     },
     "localname": "OtherReceivables",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountContributions": {
     "auth_ref": [
      "r132",
      "r133"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total contributions made by each class of partners (i.e., general, limited and preferred partners).",
        "label": "Partners' Capital Account, Contributions",
        "terseLabel": "Initial capital contributions"
       }
      }
     },
     "localname": "PartnersCapitalAccountContributions",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PayableInvestmentPurchase": {
     "auth_ref": [
      "r579",
      "r777",
      "r855"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payable for purchase of investment.",
        "label": "Payable, Investment, Purchase",
        "terseLabel": "Payable for investments purchased"
       }
      }
     },
     "localname": "PayableInvestmentPurchase",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity": {
     "auth_ref": [
      "r1126"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for acquisition of investment, classified as operating activity. Includes, but is not limited to, funding, origination, drawdown, and participation in investment.",
        "label": "Payment for Purchase, Investment, Operating Activity",
        "negatedLabel": "Purchases of investments"
       }
      }
     },
     "localname": "PaymentsForPurchaseOfInvestmentOperatingActivity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "auth_ref": [
      "r34"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
        "label": "Payments of Debt Issuance Costs",
        "terseLabel": "Debt issuance costs"
       }
      }
     },
     "localname": "PaymentsOfDebtIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfLoanCosts": {
     "auth_ref": [
      "r32"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for loan origination associated cost which is usually collected through escrow.",
        "label": "Payments of Loan Costs",
        "negatedLabel": "Payments of financing costs"
       }
      }
     },
     "localname": "PaymentsOfLoanCosts",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "auth_ref": [
      "r32"
     ],
     "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",
        "terseLabel": "Underwriting discounts and commissions"
       }
      }
     },
     "localname": "PaymentsOfStockIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireEquityMethodInvestments": {
     "auth_ref": [
      "r30"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of or advances to an equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence.",
        "label": "Payments to Acquire Equity Method Investments",
        "terseLabel": "Joint venture investment"
       }
      }
     },
     "localname": "PaymentsToAcquireEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockLiquidationPreference": {
     "auth_ref": [
      "r53",
      "r54",
      "r104",
      "r1042",
      "r1069"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The per share liquidation preference (or restrictions) of nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share.",
        "label": "Preferred Stock Liquidating Preference"
       }
      }
     },
     "localname": "PreferredStockLiquidationPreference",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockMember": {
     "auth_ref": [
      "r840",
      "r841",
      "r844",
      "r845",
      "r846",
      "r847",
      "r1101",
      "r1124"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company.",
        "label": "Preferred Stock [Member]",
        "terseLabel": "Preferred Equity"
       }
      }
     },
     "localname": "PreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r104",
      "r333"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "terseLabel": "Preferred stock, par value per share (in dollars per share)"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r104",
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred stock, shares authorized (in shares)"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PrepaidExpenseCurrent": {
     "auth_ref": [
      "r170",
      "r281",
      "r282",
      "r809"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense, Current",
        "terseLabel": "Prepaid expenses",
        "totalLabel": "Prepaid Expense, Current, Total"
       }
      }
     },
     "localname": "PrepaidExpenseCurrent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidInsurance": {
     "auth_ref": [
      "r810",
      "r821",
      "r1060"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 10.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for insurance that provides economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Insurance",
        "terseLabel": "Prepaid Insurance"
       }
      }
     },
     "localname": "PrepaidInsurance",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrivatePlacementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A private placement is a direct offering of securities to a limited number of sophisticated investors such as insurance companies, pension funds, mezzanine funds, stock funds and trusts.",
        "label": "Private Placement [Member]"
       }
      }
     },
     "localname": "PrivatePlacementMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity": {
     "auth_ref": [
      "r1126"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from sale of investment, classified as operating activity. Includes, but is not limited to, repayment, principal payment, paydown, and maturity of investment.",
        "label": "Proceeds from Disposition of Investment, Operating Activity",
        "terseLabel": "Proceeds from principal payments and sales of investments"
       }
      }
     },
     "localname": "ProceedsFromDispositionOfInvestmentOperatingActivity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r3"
     ],
     "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": "Aggregate amount"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfLongTermDebt": {
     "auth_ref": [
      "r31",
      "r529"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a debt initially having maturity due after one year or beyond the operating cycle, if longer.",
        "label": "Proceeds from Issuance of Long-Term Debt",
        "terseLabel": "Borrowings on debt",
        "totalLabel": "Proceeds from Issuance of Long-Term Debt, Total"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfUnsecuredDebt": {
     "auth_ref": [
      "r31"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the issuance of long-term debt that is not secured by collateral. Excludes proceeds from tax exempt unsecured debt.",
        "label": "Proceeds from Issuance of Unsecured Debt",
        "terseLabel": "Net proceeds from issuance of unsecured notes"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfUnsecuredDebt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt2023NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtMarch2026NotesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtOctober2026NotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfessionalFees": {
     "auth_ref": [
      "r853",
      "r1114",
      "r1119"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement",
       "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",
        "verboseLabel": "Professional fees and other expenses"
       }
      }
     },
     "localname": "ProfessionalFees",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r162",
      "r175",
      "r176",
      "r184",
      "r193",
      "r203",
      "r211",
      "r212",
      "r225",
      "r228",
      "r230",
      "r232",
      "r270",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r298",
      "r299",
      "r402",
      "r405",
      "r406",
      "r421",
      "r431",
      "r497",
      "r508",
      "r541",
      "r620",
      "r648",
      "r652",
      "r817",
      "r836",
      "r837",
      "r854",
      "r1034",
      "r1064"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net increase(decrease) in net assets resulting from operations",
        "totalLabel": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest, Total",
        "verboseLabel": "Net increase (decrease) in members' equity resulting from operations"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax": {
     "auth_ref": [
      "r619",
      "r1122"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of realized and unrealized gain (loss) on investment, derivative, and foreign currency transaction on investment and derivative from change in market price, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity.",
        "label": "Gain (Loss), Investment, Derivative, and Foreign Currency Transaction Price Change, Operating, before Tax",
        "terseLabel": "Net gain (loss) on investments",
        "totalLabel": "Total net gains (losses)"
       }
      }
     },
     "localname": "RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (Loss), Investment, Derivative, and Foreign Currency Transaction Price Change, Operating, before Tax [Abstract]",
        "terseLabel": "Net realized and unrealized gain (losses)"
       }
      }
     },
     "localname": "RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax": {
     "auth_ref": [
      "r541",
      "r650",
      "r789",
      "r854",
      "r1115"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax, of realized gain (loss) on investment and derivative, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity.",
        "label": "Realized Gain (Loss), Investment and Derivative, Operating, after Tax",
        "terseLabel": "Net realized gain (loss)"
       }
      }
     },
     "localname": "RealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingBeforeTax": {
     "auth_ref": [
      "r615",
      "r787",
      "r853",
      "r1120"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of realized gain (loss) on investment and derivative, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity.",
        "label": "Realized Gain (Loss), Investment and Derivative, Operating, before Tax",
        "terseLabel": "Net realized gain (loss) on forward contracts",
        "totalLabel": "Realized Gain (Loss), Investment and Derivative, Operating, before Tax, Total"
       }
      }
     },
     "localname": "RealizedGainLossInvestmentAndDerivativeOperatingBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealizedInvestmentGainsLosses": {
     "auth_ref": [
      "r516"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 6.0,
       "parentTag": "us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax",
       "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 loss from investments",
        "terseLabel": "Net realized gain (loss)",
        "totalLabel": "Realized Investment Gains (Losses), Total"
       }
      }
     },
     "localname": "RealizedInvestmentGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RealizedInvestmentGainsLossesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Realized Investment Gains (Losses) [Abstract]",
        "terseLabel": "Net realized and unrealized gains (losses)"
       }
      }
     },
     "localname": "RealizedInvestmentGainsLossesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReceivableInvestmentSale": {
     "auth_ref": [
      "r599",
      "r662",
      "r855"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 9.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of receivable from sale of investment.",
        "label": "Receivable, Investment, Sale",
        "terseLabel": "Receivable for sales and paydowns of investments"
       }
      }
     },
     "localname": "ReceivableInvestmentSale",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedAndNonrelatedPartyStatusAxis": {
     "auth_ref": [
      "r194",
      "r195",
      "r444",
      "r445",
      "r446",
      "r447",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r610",
      "r612",
      "r843"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by related and nonrelated party status.",
        "label": "Related and Nonrelated Party Status [Axis]"
       }
      }
     },
     "localname": "RelatedAndNonrelatedPartyStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedAndNonrelatedPartyStatusDomain": {
     "auth_ref": [
      "r194",
      "r195",
      "r444",
      "r445",
      "r446",
      "r447",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r610",
      "r612",
      "r843"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related and nonrelated party status.",
        "label": "Related and Nonrelated Party Status [Domain]"
       }
      }
     },
     "localname": "RelatedAndNonrelatedPartyStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r357",
      "r444",
      "r445",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r610",
      "r612",
      "r663"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party, Type [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRelatedPartyCommitmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsResourceSharingAgreementDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRevolvingAdvisorLoanDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyMember": {
     "auth_ref": [
      "r194",
      "r195",
      "r444",
      "r445",
      "r446",
      "r447",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r610",
      "r612",
      "r663"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Party related to reporting entity. Includes, but is not limited to, affiliate, entity for which investment is accounted for by equity method, trust for benefit of employees, and principal owner, management, and members of immediate family.",
        "label": "Related Party [Member]",
        "terseLabel": "Related Party"
       }
      }
     },
     "localname": "RelatedPartyMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpStatementOfOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r444",
      "r445",
      "r1083"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [
      "r627",
      "r628",
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRelatedPartyCommitmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsResourceSharingAgreementDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRevolvingAdvisorLoanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r357",
      "r444",
      "r445",
      "r484",
      "r485",
      "r486",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r610",
      "r612",
      "r663",
      "r1083"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party, Type [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRelatedPartyCommitmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsResourceSharingAgreementDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRevolvingAdvisorLoanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r441",
      "r442",
      "r443",
      "r445",
      "r448",
      "r534",
      "r535",
      "r536",
      "r629",
      "r630",
      "r631",
      "r659",
      "r661"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related Party Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfLongTermDebt": {
     "auth_ref": [
      "r33",
      "r532"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer.",
        "label": "Repayments of Long-Term Debt",
        "negatedLabel": "Repayments on debt",
        "totalLabel": "Repayments of Long-Term Debt, Total"
       }
      }
     },
     "localname": "RepaymentsOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCash": {
     "auth_ref": [
      "r1032",
      "r1041",
      "r1092",
      "r1096"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
        "label": "Restricted Cash",
        "terseLabel": "Restricted cash",
        "totalLabel": "Restricted Cash, Total"
       }
      }
     },
     "localname": "RestrictedCash",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalents": {
     "auth_ref": [
      "r35",
      "r140",
      "r163",
      "r188",
      "r502"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Restricted Cash and Cash Equivalents",
        "terseLabel": "Restricted cash and cash equivalents",
        "totalLabel": "Restricted Cash and Cash Equivalents, Total"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetailMember": {
     "auth_ref": [
      "r1071"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of product directly to consumer.",
        "label": "Retail [Member]"
       }
      }
     },
     "localname": "RetailMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetailSectorMember": {
     "auth_ref": [
      "r842",
      "r1128",
      "r1131",
      "r1133",
      "r1136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sector of economy consisting of companies engaged in business activity related to sale of goods to public for use or consumption.",
        "label": "Retail Sector [Member]",
        "terseLabel": "Retail Sector"
       }
      }
     },
     "localname": "RetailSectorMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r107",
      "r133",
      "r504",
      "r522",
      "r523",
      "r533",
      "r591",
      "r838"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated undistributed earnings (deficit).",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Total distributable loss",
        "totalLabel": "Retained Earnings (Accumulated Deficit), Total"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Abstract]",
        "terseLabel": "Income"
       }
      }
     },
     "localname": "RevenuesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "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]",
        "terseLabel": "Sale of Stock [Domain]"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SalesAndExciseTaxPayableCurrent": {
     "auth_ref": [
      "r23"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 12.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. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Sales and Excise Tax Payable, Current",
        "terseLabel": "Excise tax payable"
       }
      }
     },
     "localname": "SalesAndExciseTaxPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule of Debt [Table Text Block]",
        "terseLabel": "Schedule of outstanding borrowings"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "auth_ref": [
      "r69",
      "r74",
      "r409"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Derivative Instruments, Gain (Loss) [Table Text Block]",
        "terseLabel": "Effect of transactions in derivative instruments"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock": {
     "auth_ref": [
      "r70"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Schedule of Derivative Instruments in Statement of Financial Position, Fair Value [Table Text Block]",
        "terseLabel": "Offset of assets and liabilities"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTextBlock": {
     "auth_ref": [
      "r86",
      "r138"
     ],
     "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": "Summary of unfunded commitments under loan and financing agreements"
       }
      }
     },
     "localname": "ScheduleOfFairValueOffBalanceSheetRisksTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Investments [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "auth_ref": [
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r685",
      "r689",
      "r690",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r701",
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r707",
      "r708",
      "r709",
      "r710",
      "r711",
      "r712",
      "r741",
      "r742",
      "r743",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753",
      "r767",
      "r768",
      "r769",
      "r770",
      "r771",
      "r772"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule of Investments [Line Items]",
        "terseLabel": "Consolidated Schedule of Investments"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "auth_ref": [
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r685",
      "r689",
      "r690",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r701",
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r707",
      "r708",
      "r709",
      "r710",
      "r711",
      "r712",
      "r741",
      "r742",
      "r743",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753",
      "r767",
      "r768",
      "r769",
      "r770",
      "r771",
      "r772"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about investments owned by investment company.",
        "label": "Schedule of Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByGeographicRegionDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentsByIndustryDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsTables",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContractsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r7"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
        "label": "Schedule of Maturities of Long-Term Debt [Table Text Block]",
        "terseLabel": "Schedule of contractual maturities of debt obligations"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r93",
      "r94",
      "r627",
      "r628",
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsAdministrationAgreementDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsIncentiveFeeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRelatedPartyCommitmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsResourceSharingAgreementDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsRevolvingAdvisorLoanDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners and (d) affiliates.",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "terseLabel": "Schedule of transactions related to investments in affiliated companies"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember": {
     "auth_ref": [
      "r1075"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed rate on U.S. dollar, constant-notional interest rate swap that has its variable-rate leg referenced to Secured Overnight Financing Rate (SOFR) with no additional spread over SOFR on variable-rate leg.",
        "label": "Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member]",
        "terseLabel": "SOFR"
       }
      }
     },
     "localname": "SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeniorSubordinatedNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior subordinated note is a bond that takes priority over other debt securities sold by the issuer. In the event the issuer goes bankrupt, senior subordinated debt holders receive priority for [must receive] repayment [prior] relative to junior and unsecured (general) creditors. However senior subordinated notes are junior to Senior Notes and Senior bond holders.",
        "label": "Senior Subordinated Notes [Member]",
        "terseLabel": "Subordinated Note Investment Vehicles"
       }
      }
     },
     "localname": "SeniorSubordinatedNotesMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "All Award Types",
        "terseLabel": "All Award Types"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price of a single share of a number of saleable stocks of a company.",
        "label": "Share Price",
        "terseLabel": "Per share market value at end of period"
       }
      }
     },
     "localname": "SharePrice",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails",
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "perShareItemType"
    },
    "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": "Public offering price",
        "verboseLabel": "Share price"
       }
      }
     },
     "localname": "SharesIssuedPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "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",
        "periodEndLabel": "Shares, Outstanding, Ending Balance",
        "periodStartLabel": "Shares, Outstanding, Beginning Balance",
        "terseLabel": "Shares outstanding at end of period"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r125",
      "r189"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Summary of Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r158",
      "r166",
      "r167",
      "r168",
      "r193",
      "r215",
      "r216",
      "r218",
      "r220",
      "r223",
      "r224",
      "r270",
      "r291",
      "r293",
      "r294",
      "r295",
      "r298",
      "r299",
      "r333",
      "r334",
      "r337",
      "r340",
      "r347",
      "r431",
      "r529",
      "r530",
      "r531",
      "r532",
      "r543",
      "r548",
      "r550",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r561",
      "r590",
      "r622",
      "r654",
      "r779",
      "r780",
      "r781",
      "r782",
      "r783",
      "r1019",
      "r1042",
      "r1049"
     ],
     "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/2023",
     "presentation": [
      "http://xbrl.sec.gov/cef/role/N2"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [
      "r200",
      "r201",
      "r202",
      "r222",
      "r483",
      "r527",
      "r561",
      "r578",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r590",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r601",
      "r602",
      "r603",
      "r604",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r612",
      "r625",
      "r626",
      "r636",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r654",
      "r843"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r200",
      "r201",
      "r202",
      "r222",
      "r483",
      "r527",
      "r561",
      "r578",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r590",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r601",
      "r602",
      "r603",
      "r604",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r612",
      "r625",
      "r626",
      "r636",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r643",
      "r644",
      "r645",
      "r646",
      "r647",
      "r654",
      "r843"
     ],
     "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/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilitiesParenthetical",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockAppreciationRightsSARSMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right to receive cash or shares equal to appreciation of predetermined number of grantor's shares during predetermined time period.",
        "label": "Stock Appreciation Rights (SARs) [Member]",
        "terseLabel": "Stock Appreciation Rights (SARs)"
       }
      }
     },
     "localname": "StockAppreciationRightsSARSMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan": {
     "auth_ref": [
      "r11",
      "r654",
      "r781"
     ],
     "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": "Shares issued under dividend reinvestment plan",
        "verboseLabel": "Dividend reinvestment, Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesDividendReinvestmentPlan",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalSharesIssuedAndAmountReceivedDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r11",
      "r104",
      "r105",
      "r133",
      "r529",
      "r654",
      "r780"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Shares issued",
        "verboseLabel": "Aggregate purchase of shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalSharesIssuedAndAmountReceivedDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchaseProgramAuthorizedAmount1": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stock repurchase plan authorized.",
        "label": "Stock Repurchase Program, Authorized Amount",
        "terseLabel": "Stock repurchase amount"
       }
      }
     },
     "localname": "StockRepurchaseProgramAuthorizedAmount1",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "auth_ref": [
      "r11",
      "r104",
      "r105",
      "r133",
      "r532",
      "r654",
      "r782"
     ],
     "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": "Number of shares repurchased during period",
        "verboseLabel": "Total capital drawdowns, Shares"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalSharesIssuedAndAmountReceivedDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r105",
      "r108",
      "r109",
      "r126",
      "r592",
      "r611",
      "r656",
      "r657",
      "r838",
      "r855",
      "r1045",
      "r1059",
      "r1079",
      "r1124"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest.",
        "label": "Equity, Attributable to Parent",
        "periodEndLabel": "Equity, Attributable to Parent, Ending Balance",
        "periodStartLabel": "Equity, Attributable to Parent, Beginning Balance",
        "terseLabel": "Members equity",
        "totalLabel": "Member's equity (deficit)",
        "verboseLabel": "Total Net Assets"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity, Attributable to Parent [Abstract]",
        "terseLabel": "Net Assets"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfAssetsAndLiabilities"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r59",
      "r60",
      "r62",
      "r160",
      "r161",
      "r178",
      "r200",
      "r201",
      "r202",
      "r204",
      "r210",
      "r271",
      "r272",
      "r349",
      "r386",
      "r387",
      "r388",
      "r398",
      "r399",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r419",
      "r434",
      "r435",
      "r436",
      "r440",
      "r520",
      "r521",
      "r540",
      "r592",
      "r611",
      "r656",
      "r657",
      "r784",
      "r854",
      "r1045",
      "r1059",
      "r1079",
      "r1124"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of equity (deficit) attributable to parent and noncontrolling interest. Excludes temporary equity.",
        "label": "Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Net assets at end of period",
        "periodStartLabel": "Net assets at beginning of period",
        "terseLabel": "Net assets",
        "totalLabel": "Equity, Including Portion Attributable to Noncontrolling Interest, Total",
        "verboseLabel": "Total members' equity"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpBalanceSheetDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsParentheticalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Note [Abstract]"
       }
      }
     },
     "localname": "StockholdersEquityNoteAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r129",
      "r191",
      "r332",
      "r334",
      "r336",
      "r337",
      "r338",
      "r339",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r346",
      "r349",
      "r418",
      "r658",
      "r660",
      "r786"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for equity.",
        "label": "Equity [Text Block]",
        "terseLabel": "Common Stock/Capital"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapital"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StockholdersEquityPeriodIncreaseDecrease": {
     "auth_ref": [
      "r11",
      "r133",
      "r655",
      "r783",
      "r854",
      "r1100"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in stockholders' equity during the period.",
        "label": "Stockholders' Equity, Period Increase (Decrease)",
        "totalLabel": "Total increase (decrease) in net assets"
       }
      }
     },
     "localname": "StockholdersEquityPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubordinatedDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents domestic or foreign subordinated debt. Subordinated debt has a lower priority of repayment in liquidation of the entity's assets.",
        "label": "Subordinated Debt [Member]",
        "terseLabel": "Subordinated Debt"
       }
      }
     },
     "localname": "SubordinatedDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r449",
      "r450"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Different names of stock transactions and the different attributes of each transaction.",
        "label": "Subsidiary or Equity Method Investee, Sale of Stock by Subsidiary or Equity Investee [Table]",
        "terseLabel": "Subsidiary or Equity Method Investee, Sale of Stock by Subsidiary or Equity Investee [Table]"
       }
      }
     },
     "localname": "SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]",
        "terseLabel": "Sale of Stock [Axis]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFinancialHighlightsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsidiarySaleOfStockLineItems": {
     "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": "Subsidiary, Sale of Stock [Line Items]",
        "terseLabel": "Organization"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommonStockCapitalDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureOrganizationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SummaryOfInvestmentHoldingsLineItems": {
     "auth_ref": [
      "r539",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r576",
      "r577",
      "r622",
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Summary of Investment Holdings [Line Items]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "SummaryOfInvestmentHoldingsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpScheduleOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SummaryOfInvestmentHoldingsTable": {
     "auth_ref": [
      "r539",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r576",
      "r577",
      "r622",
      "r842"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The summary of investment holding table is used for any listing of investment in a summary form. Table lists the 50 largest investments and any other investment the value of which exceeded 1 percent of net asset value of the registrant as of the close of the period.",
        "label": "Summary of Investment Holdings [Table]"
       }
      }
     },
     "localname": "SummaryOfInvestmentHoldingsTable",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpScheduleOfInvestmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental disclosure of cash flow information:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TransferToInvestments": {
     "auth_ref": [
      "r38",
      "r39",
      "r40"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of investments transferred to the entity's investments in noncash transactions.",
        "label": "Transfer to Investments",
        "terseLabel": "Company investment into Bain Capital Senior Loan Program, LLC"
       }
      }
     },
     "localname": "TransferToInvestments",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r325",
      "r345",
      "r417",
      "r451",
      "r452",
      "r453",
      "r454",
      "r455",
      "r456",
      "r457",
      "r458",
      "r459",
      "r460",
      "r461",
      "r462",
      "r463",
      "r464",
      "r466",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r511",
      "r1025",
      "r1026",
      "r1027",
      "r1028",
      "r1029",
      "r1030",
      "r1031",
      "r1055",
      "r1056",
      "r1057",
      "r1058"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax": {
     "auth_ref": [
      "r541",
      "r651",
      "r790",
      "r854",
      "r1116"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax, of unrealized gain (loss) from investment and derivative, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity.",
        "label": "Unrealized Gain (Loss), Investment and Derivative, Operating, after Tax",
        "terseLabel": "Net change in unrealized appreciation"
       }
      }
     },
     "localname": "UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfChangesInNetAssets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax": {
     "auth_ref": [
      "r617",
      "r787",
      "r1121"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax, of unrealized gain (loss) on investment, derivative, and foreign currency transaction on investment and derivative from change in market price, classified as operating. Investment includes, but is not limited to, debt and equity securities, security sold short, real estate, and commodity.",
        "label": "Unrealized Gain (Loss), Investment, Derivative, and Foreign Currency Transaction Price Change, Operating, before Tax",
        "terseLabel": "Net change in unrealized appreciation on foreign currency translation",
        "totalLabel": "Unrealized Gain (Loss), Investment, Derivative, and Foreign Currency Transaction Price Change, Operating, before Tax, Total"
       }
      }
     },
     "localname": "UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrealizedGainLossOnDerivatives": {
     "auth_ref": [
      "r6",
      "r644",
      "r645",
      "r646",
      "r647",
      "r723"
     ],
     "calculation": {
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_GainLossOnSaleOfDerivatives",
       "weight": 1.0
      },
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period.",
        "label": "Unrealized Gain (Loss) on Derivatives",
        "negatedLabel": "Net change in unrealized appreciation on forward currency exchange contracts",
        "terseLabel": "Unrealized Appreciation",
        "verboseLabel": "Net change in unrealized appreciation on forward currency exchange contracts"
       }
      }
     },
     "localname": "UnrealizedGainLossOnDerivatives",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDerivativesEffectOfTransactionsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpForwardForeignCurrencyExchangeContractsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestmentsForwardForeignCurrencyExchangeContracts",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts": {
     "auth_ref": [
      "r6"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of open derivatives, commodity, or energy contracts, held at each balance sheet date, that was included in earnings for the period.",
        "label": "Unrealized Gain (Loss) on Derivatives and Commodity Contracts",
        "terseLabel": "Net change in unrealized appreciation on forward contracts",
        "totalLabel": "Unrealized Gain (Loss) on Derivatives and Commodity Contracts, Total"
       }
      }
     },
     "localname": "UnrealizedGainLossOnDerivativesAndCommodityContracts",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrealizedGainLossOnInvestments": {
     "auth_ref": [
      "r6"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment.",
        "label": "Unrealized Gain (Loss) on Investments",
        "terseLabel": "Change in unrealized Appreciation",
        "verboseLabel": "Net change in unrealized appreciation on investments"
       }
      }
     },
     "localname": "UnrealizedGainLossOnInvestments",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsIslpStatementsOfOperationsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureRelatedPartyTransactionsNonControlledAffiliateAndControlledAffiliateInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefits": {
     "auth_ref": [
      "r389",
      "r393"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrecognized tax benefits.",
        "label": "Unrecognized Tax Benefits",
        "periodEndLabel": "Unrecognized Tax Benefits, Ending Balance",
        "periodStartLabel": "Unrecognized Tax Benefits, Beginning Balance",
        "terseLabel": "Unrecognized tax benefits"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefits",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnusedCommitmentsToExtendCredit": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unused amount of commitments to extend credit to customers.",
        "label": "Unused Commitments to Extend Credit",
        "terseLabel": "Unfunded Commitments"
       }
      }
     },
     "localname": "UnusedCommitmentsToExtendCredit",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureCommitmentsAndContingenciesSummaryOfUnfundedCommitmentsUnderLoanAndFinancingAgreementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r46",
      "r47",
      "r48",
      "r153",
      "r154",
      "r155",
      "r156"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationTechniqueAxis": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by valuation approach and technique.",
        "label": "Valuation Approach and Technique [Axis]"
       }
      }
     },
     "localname": "ValuationTechniqueAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationTechniqueDiscountedCashFlowMember": {
     "auth_ref": [
      "r1078"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation technique calculating present value of future cash flows.",
        "label": "Valuation Technique, Discounted Cash Flow [Member]",
        "terseLabel": "Discounted cash flows"
       }
      }
     },
     "localname": "ValuationTechniqueDiscountedCashFlowMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValuationTechniqueDomain": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach and technique.",
        "label": "Valuation Approach and Technique [Domain]"
       }
      }
     },
     "localname": "ValuationTechniqueDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]",
        "terseLabel": "Variable Rate [Axis]"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]",
        "terseLabel": "Variable Rate [Domain]"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebt20191DebtDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureDebtSumitomoCreditFacilityDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInternationalSeniorLoanProgramLlcDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsSlpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantMember": {
     "auth_ref": [
      "r840",
      "r841",
      "r844",
      "r845",
      "r846",
      "r847"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Security that gives the holder the right to purchase shares of stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
        "label": "Warrant [Member]",
        "terseLabel": "Warrants"
       }
      }
     },
     "localname": "WarrantMember",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsReconciliationOfInvestmentsDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfInvestmentsByFairValueHierarchyDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureFairValueMeasurementsSignificantUnobservableInputsAndFairValueOfDebtIfCarriedAtFairValueDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/DisclosureInvestmentsInvestmentByTypeDetails",
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedScheduleOfInvestments"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r214",
      "r220"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Basic weighted average common shares outstanding",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "presentation": [
      "http://www.baincapital.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 13
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482134/820-10-35-54B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "59",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482134/820-10-35-59",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-15",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "https://asc.fasb.org//205/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1000": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Publisher": "SEC",
   "Section": "408",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1001": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "408",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1002": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "408",
   "Subparagraph": "A",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1003": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "408",
   "Subparagraph": "B",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1004": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "408",
   "Subparagraph": "C",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1005": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "408",
   "Subparagraph": "D",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1006": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "408",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1007": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "313",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1008": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1009": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1010": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "413",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1011": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1012": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "c",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1013": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "d",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1014": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "462",
   "Subsection": "e",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1015": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "486",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1016": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "486",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1017": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1018": {
   "Name": "Securities Act",
   "Publisher": "SEC",
   "Section": "8",
   "Subsection": "c",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r1019": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org//1943274/2147483014/272-10-45-3",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1020": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-10",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r1021": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-3",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r1022": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479383/944-825-50-1B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1023": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "321",
   "URI": "https://asc.fasb.org//321/tableOfContent",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1024": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "325",
   "URI": "https://asc.fasb.org//325/tableOfContent",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1025": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1026": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1027": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1028": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1029": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r103": {
   "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//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1030": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1031": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1032": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1033": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1034": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1035": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(7)(c))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1036": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(9)(a))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1037": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(7)(c))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1038": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(9)(a))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1039": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1040": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1041": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-8",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1042": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1043": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1044": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(i))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1045": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1046": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-23",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1047": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1048": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1049": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-55",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1050": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org//320/tableOfContent",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1051": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1052": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1053": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1054": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1055": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-9",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1056": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1057": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1058": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1059": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1060": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "https://asc.fasb.org//1943274/2147483032/340-10-45-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1061": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.A)",
   "Topic": "340",
   "URI": "https://asc.fasb.org//1943274/2147480341/340-10-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1062": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org//1943274/2147481931/410-30-50-10",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1063": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "https://asc.fasb.org//450/tableOfContent",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1064": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1065": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1066": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1067": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1068": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1069": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1070": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-5",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1071": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1072": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1073": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1074": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1075": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480682/815-20-25-6A",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1076": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1077": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1078": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1079": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-28",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1080": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481956/830-20-45-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1081": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481926/830-20-50-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1082": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147479424/830-30-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1083": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1084": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org//1943274/2147481404/852-10-50-7",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1085": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org//1943274/2147481404/852-10-50-7",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1086": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1087": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1088": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1089": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1090": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1091": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1092": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1093": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1094": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1095": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1096": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1097": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2)(c))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1098": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479432/944-30-50-2B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1099": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-13H",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "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//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(3)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(4)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(f)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(18))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(i)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(k)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(b)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(8))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480369/946-230-45-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(ii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-7",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13B)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(12))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r116": {
   "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//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1(e))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r119": {
   "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//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "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//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-24",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org//235/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147480418/310-10-S99-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org//440/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org//470/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "https://asc.fasb.org//505/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-6",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-7",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.F)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "https://asc.fasb.org//810/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "https://asc.fasb.org//815/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-10",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-21",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r146": {
   "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//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13(h))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r149": {
   "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//1943274/2147483589/942-220-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2C",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482659/740-20-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480555/946-210-45-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-12",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r157": {
   "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//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r158": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r159": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4D",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(7))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-10",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-12",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r181": {
   "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//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-17",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-10",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(i))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r198": {
   "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//1943274/2147480678/235-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481877/830-230-45-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-13",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-23",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-9",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org//1943274/2147480530/250-10-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-10",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "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//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org//1943274/2147483014/272-10-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org//1943274/2147482987/272-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org//1943274/2147482987/272-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r23": {
   "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//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-41",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-41",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-42",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481830/320-10-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aaa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(3)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(4)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-14",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-16",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479106/326-30-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "https://asc.fasb.org//1943274/2147482955/340-10-05-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "https://asc.fasb.org//1943274/2147483032/340-10-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "https://asc.fasb.org//1943274/2147482017/420-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "https://asc.fasb.org//1943274/2147482648/440-10-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "https://asc.fasb.org//1943274/2147482648/440-10-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-13",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-16",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482525/740-10-45-10B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482525/740-10-45-25",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482525/740-10-45-28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-10",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-15A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-17",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-19",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21D",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-21D",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-5",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r400": {
   "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//1943274/2147479360/740-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org//1943274/2147479907/805-20-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-19",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-25",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-25",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4E",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org//1943274/2147482987/272-10-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)(iii)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(h)(1)(iv)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(i)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480237/815-40-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480237/815-40-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-16",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482134/820-10-35-54B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-18",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-10",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "830",
   "URI": "https://asc.fasb.org//830/tableOfContent",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481877/830-230-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-17",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org//1943274/2147481674/830-30-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147483013/835-20-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482900/835-30-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-20",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org//850/tableOfContent",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org//855/tableOfContent",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-21",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481444/860-30-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481420/860-30-50-1A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481420/860-30-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-9",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org//1943274/2147481229/860-50-50-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org//1943274/2147482546/910-10-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org//1943274/2147479941/924-10-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-15",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-20",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b,d)",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-15",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-33",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-33",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-35A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-35A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479557/942-235-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1)(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "https://asc.fasb.org//320/tableOfContent",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(22))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(24))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r506": {
   "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//1943274/2147479440/944-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(17))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481303/470-50-40-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2)(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2)(d))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r516": {
   "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//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480081/944-40-50-7A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481303/470-50-40-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147479383/944-825-50-1B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480424/946-10-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480424/946-10-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(h)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(i)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(i)(2)(i))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(i)(2)(ii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.6-03(i)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-11",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-8",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-9",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-13",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-14",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-18",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "27",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-27",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(e)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(f)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(g)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "205",
   "Subparagraph": "(h)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org//1943274/2147479328/805-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480555/946-210-45-21",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480555/946-210-45-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-12",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org//1943274/2147479328/805-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(3)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(4)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(e)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(f)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(g)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(g)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(10)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org//1943274/2147479328/805-10-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(10)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(11))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(13)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(13)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(14))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(15))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-15",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(16)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(17))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(19))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(2)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(2)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(3)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(3)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(3)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(5)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-16",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(5)(a)(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(6)(e))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(8))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(9)(e))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-05(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-05(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(g)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(a)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(b)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(b)(2)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481175/810-10-55-4I",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483580/946-220-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "220",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483580/946-220-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(1)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(1)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(i))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(ii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481175/810-10-55-4J",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(e))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(2)(g)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(a)(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r644": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r645": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r646": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(7)(c)(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07(9))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(1)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(1)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(1)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-09(7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(e)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(ii))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 10))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(b)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(b)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 9))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-19",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(3)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-19",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column C)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 10))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481544/470-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r702": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(b)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(b)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 12))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 13))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 9))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r711": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r713": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r714": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r715": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r716": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column F))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r717": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column G)(Footnote 8))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r718": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13(Column G))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r719": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13A(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r720": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13A(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r721": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13A(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r722": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13A(Column E))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r723": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13A(Column F))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5A",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r724": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13B(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r725": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13B(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r726": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13B(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r727": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13B(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r728": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13B(Column E)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r729": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13B(Column E)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r730": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13B(Column E)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r731": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13B(Column E))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5B",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r732": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column A)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r733": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r735": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column E))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r736": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column G))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r737": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column H)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r738": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13C(Column H))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5C",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r739": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4C",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r740": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5D",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r741": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r742": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r743": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r744": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r745": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r746": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r747": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r748": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(5))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r749": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4D",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r750": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r751": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 3))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r752": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r753": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r754": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column C)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r755": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column C)(Footnote 6)(e))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r756": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r757": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column D)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r758": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column D)(Footnote 6)(f))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r759": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4D",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r760": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r761": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r762": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r763": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r764": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(b))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r765": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r766": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(d))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r767": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 4))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r768": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 5)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r769": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-5",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r770": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 8))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r771": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 9))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r772": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column F))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r773": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r774": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r775": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r776": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r777": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480191/946-405-45-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r778": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480191/946-405-45-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r779": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-7",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r780": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r781": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r782": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(c)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r783": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r784": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-3",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r785": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-5",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r786": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-6",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r787": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "36",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-36",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r788": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "37",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-37",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r789": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "37",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "830",
   "Subparagraph": "(a)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-37",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r790": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "37",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "830",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-37",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r791": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org//1943274/2147479851/948-310-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r792": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org//1943274/2147480632/954-210-45-4",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r793": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "https://asc.fasb.org//1943274/2147480602/954-210-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r794": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org//1943274/2147481027/954-310-50-2",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r795": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "https://asc.fasb.org//1943274/2147480327/954-440-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r796": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r797": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r798": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r799": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147483013/835-20-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r800": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r801": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r802": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r803": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r804": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r805": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org//1943274/2147482856/976-310-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r806": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org//1943274/2147482707/978-310-50-1",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r807": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-13H",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r808": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r809": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r810": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)(1)",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r811": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-16",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r812": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-21",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r813": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-22",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r814": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-4",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r815": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-52",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r816": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r817": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-31",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r818": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org//1943274/2147481933/310-10-55-12A",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r819": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "https://asc.fasb.org//1943274/2147480238/815-25-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r820": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org//1943274/2147479081/326-30-55-8",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r821": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "340",
   "URI": "https://asc.fasb.org//1943274/2147482955/340-10-05-5",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r822": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r823": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69B",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r824": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69C",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r825": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69E",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r826": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69F",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r827": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r828": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r829": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r830": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r831": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r832": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480482/715-20-55-17",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r833": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-11",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r834": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-6",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r835": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org//1943274/2147480547/715-80-55-8",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r836": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481175/810-10-55-4J",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r837": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org//1943274/2147481175/810-10-55-4K",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r838": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org//1943274/2147481372/852-10-55-10",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r839": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-29F",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r840": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r841": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(a)(1)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r842": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480493/946-210-55-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r843": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Subparagraph": "(d)",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r844": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r845": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r846": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r847": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r848": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r849": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r850": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-7",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r851": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480191/946-405-45-2",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r852": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "39",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480228/946-830-45-39",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r853": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-10",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r854": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-11",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r855": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "830",
   "Topic": "946",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-12",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r856": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r857": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r858": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r859": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-11",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r860": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r861": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r862": {
   "Name": "Form 20-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "16",
   "Subsection": "J",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r863": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r864": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r865": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Sentence": "A",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r866": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Sentence": "B",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r867": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Sentence": "C",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r868": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Sentence": "D",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r869": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Sentence": "E",
   "Subparagraph": "i",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-20",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r870": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Subparagraph": "ii",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r871": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Subparagraph": "iii",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r872": {
   "Name": "Form 20-F",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "6",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r873": {
   "Name": "Form 20-F",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "6",
   "Subparagraph": "ii",
   "Subsection": "F",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r874": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r875": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r876": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r877": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Sentence": "i",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r878": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Sentence": "ii",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r879": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Sentence": "iii",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-21",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r880": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Sentence": "iv",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r881": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Sentence": "v",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r882": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Subparagraph": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r883": {
   "Name": "Form 40-F",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "19",
   "Subparagraph": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r884": {
   "Name": "Form 40-F",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "19",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r885": {
   "Name": "Form F-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r886": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r887": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r888": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r889": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "1",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-1A",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r890": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r891": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r892": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r893": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "5",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r894": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "6",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r895": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "Instruction 2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r896": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "1",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r897": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subparagraph": "2",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r898": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r899": {
   "Name": "Form N-2",
   "Paragraph": "d",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "205",
   "URI": "https://asc.fasb.org//1943274/2147479910/205-30-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-2",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r900": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r901": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r902": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r903": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r904": {
   "Name": "Form N-2",
   "Paragraph": "e",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r905": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r906": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r907": {
   "Name": "Form N-2",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r908": {
   "Name": "Form N-2",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r909": {
   "Name": "Form N-2",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r910": {
   "Name": "Form N-2",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "Item 10",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r911": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r912": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 1",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r913": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r914": {
   "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"
  },
  "r915": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "f",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r916": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "g",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r917": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 10",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "i",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r918": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 11",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r919": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 4",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org//1943274/2147482949/835-30-55-8",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r920": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 5",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r921": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 6",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r922": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 7",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "a",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r923": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 7",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subparagraph": "b",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r924": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 8",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r925": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 9",
   "Publisher": "SEC",
   "Section": "Item 3",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r926": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r927": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r928": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 3",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r929": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 8",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r930": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r931": {
   "Name": "Form N-2",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r932": {
   "Name": "Form N-2",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subparagraph": "Instruction 2",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r933": {
   "Name": "Form N-2",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subparagraph": "Instruction 3",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r934": {
   "Name": "Form N-2",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r935": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 1",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r936": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 4",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r937": {
   "Name": "Form N-2",
   "Paragraph": "Instruction 5",
   "Publisher": "SEC",
   "Section": "Item 4",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r938": {
   "Name": "Form N-2",
   "Publisher": "SEC",
   "Section": "Item 8",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r939": {
   "Name": "Form N-2",
   "Paragraph": "b, d",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r940": {
   "Name": "Form N-2",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r941": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r942": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "1",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r943": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "2",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r944": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "3",
   "Subsection": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r945": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r946": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "4",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r947": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 2",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r948": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 3",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r949": {
   "Name": "Form N-2",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subparagraph": "Instruction 4",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(1),(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r950": {
   "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"
  },
  "r951": {
   "Name": "Form N-2",
   "Paragraph": "c",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r952": {
   "Name": "Form N-2",
   "Paragraph": "e",
   "Publisher": "SEC",
   "Section": "Item 8",
   "Subsection": "5",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r953": {
   "Name": "Form N-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r954": {
   "Name": "Form N-4",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r955": {
   "Name": "Form N-6",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r956": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r957": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r958": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Sentence": "i",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r959": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Sentence": "ii",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r960": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Sentence": "iii",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r961": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Sentence": "iv",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r962": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Sentence": "v",
   "Subparagraph": "1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r963": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Subparagraph": "2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r964": {
   "Name": "Form N-CSR",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "18",
   "Subparagraph": "3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r965": {
   "Name": "Form N-CSR",
   "Paragraph": "b",
   "Publisher": "SEC",
   "Section": "18",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r966": {
   "Name": "Form S-3",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r967": {
   "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"
  },
  "r968": {
   "Name": "Investment Company Act",
   "Number": "270",
   "Publisher": "SEC",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r969": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r970": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r971": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "ii",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r972": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "iii",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r973": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "iv",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r974": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "vi",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r975": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r976": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "4",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r977": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "i",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r978": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "ii",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r979": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "iii",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r980": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "5",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "iv",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r981": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "6",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r982": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "6",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "i",
   "Subsection": "v",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r983": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r984": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r985": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "A",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r986": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "B",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r987": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "C",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r988": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "D",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r989": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "E",
   "Subparagraph": "i",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-3",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r990": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "ii",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r991": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subparagraph": "iii",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r992": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "w",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r993": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r994": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r995": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "A",
   "Subparagraph": "ii",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r996": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "C",
   "Subparagraph": "ii",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r997": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "D",
   "Subparagraph": "ii",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r998": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "E",
   "Subparagraph": "ii",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r999": {
   "Name": "Regulation S-K",
   "Number": "229",
   "Paragraph": "2",
   "Publisher": "SEC",
   "Section": "402",
   "Sentence": "F",
   "Subparagraph": "ii",
   "Subsection": "x",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  }
 },
 "version": "2.2"
}
