{
 "version": "2.2",
 "instance": {
  "by-20260630.htm": {
   "nsprefix": "by",
   "nsuri": "http://www.bylinebank.com/20260630",
   "dts": {
    "inline": {
     "local": [
      "by-20260630.htm"
     ]
    },
    "schema": {
     "local": [
      "by-20260630.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/lrr/arcrole/esma-arcrole-2018-11-21.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/2023/calculation-1.1.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2024-01-31/types.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-roles-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-types-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-types-2025.xsd",
      "https://xbrl.sec.gov/country/2025/country-2025.xsd",
      "https://xbrl.sec.gov/dei/2025/dei-2025.xsd",
      "https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd",
      "https://xbrl.sec.gov/ecd/2025/ecd-sub-2025.xsd",
      "https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd"
     ]
    }
   },
   "keyStandard": 462,
   "keyCustom": 140,
   "axisStandard": 41,
   "axisCustom": 0,
   "memberStandard": 74,
   "memberCustom": 66,
   "hidden": {
    "total": 18,
    "http://fasb.org/us-gaap/2025": 14,
    "http://xbrl.sec.gov/dei/2025": 4
   },
   "contextCount": 809,
   "entityCount": 1,
   "segmentCount": 140,
   "elementCount": 1188,
   "unitCount": 6,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2025": 3274,
    "http://xbrl.sec.gov/dei/2025": 30,
    "http://xbrl.sec.gov/ecd/2025": 4,
    "http://fasb.org/srt/2025": 2
   },
   "report": {
    "R1": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "longName": "75000 - Document - Document And Entity Information",
     "shortName": "Document And Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED",
     "longName": "75010 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (UNAUDITED)",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (UNAUDITED)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:CashAndDueFromBanks",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITEDParenthetical",
     "longName": "75020 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (UNAUDITED) (Parenthetical)",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (UNAUDITED) (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R4": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
     "longName": "75030 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS (UNAUDITED)",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS (UNAUDITED)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "4",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:InterestIncomeSecuritiesTaxable",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED",
     "longName": "75040 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (UNAUDITED)",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (UNAUDITED)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "5",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited",
     "longName": "75050 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "6",
     "firstAnchor": {
      "contextRef": "C_6986ba72-79f3-476a-9249-8ddd2770b3c6",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_efc989f9-104d-4c8a-9e96-2874ef4bae84",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical",
     "longName": "75060 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED) (Parenthetical)",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED) (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "7",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
     "longName": "75070 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "8",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:DepreciationAmortizationAndAccretionNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R9": {
     "role": "http://xbrl.sec.gov/ecd/role/PvpDisclosure",
     "longName": "995410 - Disclosure - Pay vs Performance Disclosure",
     "shortName": "Pay vs Performance Disclosure",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R10": {
     "role": "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
     "longName": "995445 - Disclosure - Insider Trading Arrangements",
     "shortName": "Insider Trading Arrangements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "ecd:Rule10b51ArrAdoptedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "ecd:Rule10b51ArrAdoptedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureBasisOfPresentation",
     "longName": "995455 - Disclosure - Basis of Presentation",
     "shortName": "Basis of Presentation",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssued",
     "longName": "995465 - Disclosure - Accounting Pronouncements Recently Adopted or Issued",
     "shortName": "Accounting Pronouncements Recently Adopted or Issued",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusiness",
     "longName": "995475 - Disclosure - Acquisition of a Business",
     "shortName": "Acquisition of a Business",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecurities",
     "longName": "995485 - Disclosure - Securities",
     "shortName": "Securities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLosses",
     "longName": "995495 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssets",
     "longName": "995505 - Disclosure - Servicing Assets",
     "shortName": "Servicing Assets",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwned",
     "longName": "995515 - Disclosure - Other Real Estate Owned",
     "shortName": "Other Real Estate Owned",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "17",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:RealEstateOwnedTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:RealEstateOwnedTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeases",
     "longName": "995525 - Disclosure - Leases",
     "shortName": "Leases",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssets",
     "longName": "995535 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets",
     "shortName": "Goodwill, Core Deposit Intangible and Other Intangible Assets",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureIncomeTaxes",
     "longName": "995545 - Disclosure - Income Taxes",
     "shortName": "Income Taxes",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDeposits",
     "longName": "995555 - Disclosure - Deposits",
     "shortName": "Deposits",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowings",
     "longName": "995565 - Disclosure - Other Borrowings",
     "shortName": "Other Borrowings",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "22",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebentures",
     "longName": "995575 - Disclosure - Subordinated Notes and Junior Subordinated Debentures",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "23",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilities",
     "longName": "995585 - Disclosure - Commitments and Contingent Liabilities",
     "shortName": "Commitments and Contingent Liabilities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "24",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurement",
     "longName": "995595 - Disclosure - Fair Value Measurement",
     "shortName": "Fair Value Measurement",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "25",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivities",
     "longName": "995605 - Disclosure - Derivative Instruments and Hedge Activities",
     "shortName": "Derivative Instruments and Hedge Activities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "26",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensation",
     "longName": "995615 - Disclosure - Share-Based Compensation",
     "shortName": "Share-Based Compensation",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "27",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShare",
     "longName": "995625 - Disclosure - Earnings per Share",
     "shortName": "Earnings per Share",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "28",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquity",
     "longName": "995635 - Disclosure - Stockholders' Equity",
     "shortName": "Stockholders' Equity",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "29",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLoss",
     "longName": "995645 - Disclosure - Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss)",
     "shortName": "Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "30",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformation",
     "longName": "995655 - Disclosure - Segment Information",
     "shortName": "Segment Information",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "31",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureBasisOfPresentationPolicies",
     "longName": "995665 - Disclosure - Basis of Presentation (Policies)",
     "shortName": "Basis of Presentation (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "32",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessTables",
     "longName": "995685 - Disclosure - Acquisition of a Business (Tables)",
     "shortName": "Acquisition of a Business (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "33",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesTables",
     "longName": "995695 - Disclosure - Securities (Tables)",
     "shortName": "Securities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "34",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:SummaryInvestmentHoldingsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:SummaryInvestmentHoldingsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables",
     "longName": "995705 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses (Tables)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "35",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R36": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsTables",
     "longName": "995715 - Disclosure - Servicing Assets (Tables)",
     "shortName": "Servicing Assets (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "36",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R37": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedTables",
     "longName": "995725 - Disclosure - Other Real Estate Owned (Tables)",
     "shortName": "Other Real Estate Owned (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "37",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R38": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesTables",
     "longName": "995735 - Disclosure - Leases (Tables)",
     "shortName": "Leases (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "38",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R39": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsTables",
     "longName": "995745 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets (Tables)",
     "shortName": "Goodwill, Core Deposit Intangible and Other Intangible Assets (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "39",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R40": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsTables",
     "longName": "995755 - Disclosure - Deposits (Tables)",
     "shortName": "Deposits (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "40",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:ScheduleOfDepositsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:ScheduleOfDepositsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R41": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsTables",
     "longName": "995765 - Disclosure - Other Borrowings (Tables)",
     "shortName": "Other Borrowings (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "41",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R42": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesTables",
     "longName": "995775 - Disclosure - Subordinated Notes and Junior Subordinated Debentures (Tables)",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "42",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R43": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesTables",
     "longName": "995785 - Disclosure - Commitments and Contingent Liabilities (Tables)",
     "shortName": "Commitments and Contingent Liabilities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "43",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R44": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementTables",
     "longName": "995795 - Disclosure - Fair Value Measurement (Tables)",
     "shortName": "Fair Value Measurement (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "44",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R45": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables",
     "longName": "995805 - Disclosure - Derivative Instruments and Hedge Activities (Tables)",
     "shortName": "Derivative Instruments and Hedge Activities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "45",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R46": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables",
     "longName": "995815 - Disclosure - Share-Based Compensation (Tables)",
     "shortName": "Share-Based Compensation (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "46",
     "firstAnchor": {
      "contextRef": "C_6ab21ea0-cc6b-4f81-a025-99531409d6f8",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_6ab21ea0-cc6b-4f81-a025-99531409d6f8",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R47": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareTables",
     "longName": "995825 - Disclosure - Earnings per Share (Tables)",
     "shortName": "Earnings per Share (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "47",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R48": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityTables",
     "longName": "995835 - Disclosure - Stockholders' Equity (Tables)",
     "shortName": "Stockholders' Equity (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "48",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfStockByClassTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfStockByClassTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R49": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossTables",
     "longName": "995845 - Disclosure - Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) (Tables)",
     "shortName": "Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "49",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R50": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationTables",
     "longName": "995855 - Disclosure - Segment Information (Tables)",
     "shortName": "Segment Information (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "50",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R51": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails",
     "longName": "995865 - Disclosure - Basis of Presentation - Additional Information (Details)",
     "shortName": "Basis of Presentation - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "51",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:NumberOfReportableSegments",
      "unitRef": "U_Segment",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R52": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
     "longName": "995875 - Disclosure - Acquisition of a Business - Additional Information (Details)",
     "shortName": "Acquisition of a Business - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "52",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:Goodwill",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_8cebdd7c-3474-4be5-83a0-1a5d4487210b",
      "name": "us-gaap:BusinessAcquisitionDateOfAcquisitionAgreement1",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R53": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
     "longName": "995885 - Disclosure - Acquisition of a Business - Summary of Fair Values of Assets Acquired and Liabilities Assumed as of Acquisition Date (Details)",
     "shortName": "Acquisition of a Business - Summary of Fair Values of Assets Acquired and Liabilities Assumed as of Acquisition Date (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "53",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:ForeclosedAssets",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_793496eb-1286-45d6-8fc8-7dd13b2454d6",
      "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R54": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfPreliminaryEstimatesOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParenth",
     "longName": "995905 - Disclosure - Acquisition of a Business - Summary of Preliminary Estimates of Fair Values of Assets Acquired and Liabilities Assumed as of Acquisition Date (Parenthetical) (Details)",
     "shortName": "Acquisition of a Business - Summary of Preliminary Estimates of Fair Values of Assets Acquired and Liabilities Assumed as of Acquisition Date (Parenthetical) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "54",
     "firstAnchor": {
      "contextRef": "C_74727bd6-823a-426d-a947-3592864d8fd5",
      "name": "us-gaap:BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_793496eb-1286-45d6-8fc8-7dd13b2454d6",
      "name": "us-gaap:BusinessAcquisitionSharePrice",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R55": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
     "longName": "995915 - Disclosure - Acquisition of a Business - Summary of Fair Value and Gross Contractual Amounts Receivable and Respective Expected Contractual Cash Flows (Detail)",
     "shortName": "Acquisition of a Business - Summary of Fair Value and Gross Contractual Amounts Receivable and Respective Expected Contractual Cash Flows (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "55",
     "firstAnchor": {
      "contextRef": "C_793496eb-1286-45d6-8fc8-7dd13b2454d6",
      "name": "us-gaap:BusinessCombinationAcquiredReceivablesFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_793496eb-1286-45d6-8fc8-7dd13b2454d6",
      "name": "us-gaap:BusinessCombinationAcquiredReceivablesFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R56": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfProFormaInformationForResultsOfOperationsDetails",
     "longName": "995925 - Disclosure - Acquisition of a Business - Summary of Pro Forma Information for Results of Operations (Details)",
     "shortName": "Acquisition of a Business - Summary of Pro Forma Information for Results of Operations (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "56",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R57": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
     "longName": "995935 - Disclosure - Securities - Summary of Amortized Cost and Fair Values of Securities Available-for-sale (Details)",
     "shortName": "Securities - Summary of Amortized Cost and Fair Values of Securities Available-for-sale (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "57",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryInvestmentHoldingsTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R58": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
     "longName": "995955 - Disclosure - Securities - Additional Information (Details)",
     "shortName": "Securities - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "58",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:LoansAndLeasesReceivableAllowanceCovered",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:AccruedInterestReceivableOnSecurities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R59": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
     "longName": "995965 - Disclosure - Securities - Summary of Gross Unrealized Losses and Fair Values, Aggregated by Investment Category and Length of Individual Securities Continuous Unrealized Loss Position Available-for-sale (Details)",
     "shortName": "Securities - Summary of Gross Unrealized Losses and Fair Values, Aggregated by Investment Category and Length of Individual Securities Continuous Unrealized Loss Position Available-for-sale (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "59",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
      "unitRef": "U_Security",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:UnrealizedGainLossOnInvestmentsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
      "unitRef": "U_Security",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:UnrealizedGainLossOnInvestmentsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R60": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfProceedsFromSalesAndCallsOfSecuritiesAvailableforsaleAndAssociatedGainsAndLossesDetails",
     "longName": "995975 - Disclosure - Securities - Summary of Proceeds From Sales and Calls of Securities Available-for-sale and Associated Gains and Losses (Details)",
     "shortName": "Securities - Summary of Proceeds From Sales and Calls of Securities Available-for-sale and Associated Gains and Losses (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "60",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R61": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails",
     "longName": "995985 - Disclosure - Securities - Summary of Securities are Posted and Pledged as Collateral (Details)",
     "shortName": "Securities - Summary of Securities are Posted and Pledged as Collateral (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "61",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:InvestmentSecuritiesPledgedCarryingAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFinancialInstrumentsOwnedAndPledgedAsCollateralTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:InvestmentSecuritiesPledgedCarryingAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFinancialInstrumentsOwnedAndPledgedAsCollateralTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R62": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
     "longName": "995995 - Disclosure - Securities - Schedule of Amortized Cost and Fair Value of Debt Securities by Contractual Maturity (Details)",
     "shortName": "Securities - Schedule of Amortized Cost and Fair Value of Debt Securities by Contractual Maturity (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "62",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R63": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
     "longName": "996005 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Schedule of Outstanding Loan and Lease Receivables (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Schedule of Outstanding Loan and Lease Receivables (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "63",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmountCovered",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:FinancingReceivableUnamortizedLoanFeeCost",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R64": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
     "longName": "996025 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Additional Information (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "64",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmountCovered",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:NotesReceivableNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-8",
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R65": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
     "longName": "996035 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Additional Information 1 (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Additional Information 1 (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "65",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:RiskRatingsForLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:RiskRatingsForLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R66": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails",
     "longName": "996045 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Summary of Minimum Annual Lease Payments for Lease Financing Receivables (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Summary of Minimum Annual Lease Payments for Lease Financing Receivables (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "66",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R67": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
     "longName": "996055 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Summary of Balances for Each Respective Loan and Lease Category (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Summary of Balances for Each Respective Loan and Lease Category (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "67",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:NotesReceivableGross",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0f8cbb5d-a838-422d-9f6c-4596f2aad426",
      "name": "us-gaap:NotesReceivableGross",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R68": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
     "longName": "996065 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Summary of Outstanding Balance and Carrying Amount of All Acquired Impaired Loans (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Summary of Outstanding Balance and Carrying Amount of All Acquired Impaired Loans (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "68",
     "firstAnchor": {
      "contextRef": "C_fc4a67a5-7ac5-452d-8bd8-157f1f886dd1",
      "name": "by:UnpaidPrincipalBalanceOfPurchasedCreditDeteriorationLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_fc4a67a5-7ac5-452d-8bd8-157f1f886dd1",
      "name": "by:UnpaidPrincipalBalanceOfPurchasedCreditDeteriorationLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R69": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa",
     "longName": "996075 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Summary of Reconciliation of Acquired Inland Pcd Loans Between Purchase Price and Par Value at Acquisition (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Summary of Reconciliation of Acquired Inland Pcd Loans Between Purchase Price and Par Value at Acquisition (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "69",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParValueAtAcquisitionTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParValueAtAcquisitionTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R70": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
     "longName": "996085 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Schedule of Unpaid Principal Balance and Carrying Value for Acquired Non-impaired Loans and Leases (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Schedule of Unpaid Principal Balance and Carrying Value for Acquired Non-impaired Loans and Leases (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "70",
     "firstAnchor": {
      "contextRef": "C_b80e96b7-07f0-4fc4-a676-8b43c4bf5fff",
      "name": "by:LoansAndLeasesReceivableUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_b80e96b7-07f0-4fc4-a676-8b43c4bf5fff",
      "name": "by:LoansAndLeasesReceivableUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R71": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
     "longName": "996095 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Summary of Risk Rating Categories of Loans and Leases Considered for Inclusion in Allowance for Credit Losses Calculation (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Summary of Risk Rating Categories of Loans and Leases Considered for Inclusion in Allowance for Credit Losses Calculation (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "71",
     "firstAnchor": {
      "contextRef": "C_952271c4-5e90-4796-b1d3-f5e7b820396b",
      "name": "us-gaap:FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_952271c4-5e90-4796-b1d3-f5e7b820396b",
      "name": "us-gaap:FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R72": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
     "longName": "996115 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Summary of Contractual Delinquency Information (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Summary of Contractual Delinquency Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "72",
     "firstAnchor": {
      "contextRef": "C_a8ba8ca2-cb46-4942-beb6-160d9331db2d",
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_a8c411d3-c096-49ac-8eec-e5a5768cfb97",
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R73": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
     "longName": "996125 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Summary of Allowance for Credit Losses and Corresponding Loan and Lease Balances (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Summary of Allowance for Credit Losses and Corresponding Loan and Lease Balances (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "73",
     "firstAnchor": {
      "contextRef": "C_d976fed8-24e2-4f36-9340-6a59ea77902c",
      "name": "us-gaap:LoansAndLeasesReceivableAllowanceCovered",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:AllowanceForCreditLossesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:ProvisionForLoanLossesExpensed",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:AllowanceForCreditLossesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R74": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
     "longName": "996145 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Summary of Loans with Modified Terms (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Summary of Loans with Modified Terms (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "74",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:FinancingReceivableModificationToTotalFinancingReceivablesPercent",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfLoansWithModifiedTermsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R75": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
     "longName": "996155 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Summary Of Collateral Dependent Loans And Leases (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Summary Of Collateral Dependent Loans And Leases (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "75",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:FinancingReceivableCollateralDependentLoansAndLeases",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfCollateralDependentLoansAndLeasesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:FinancingReceivableCollateralDependentLoansAndLeases",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfCollateralDependentLoansAndLeasesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R76": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails",
     "longName": "996165 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Summary of Change in Balance for Reserve for Unfunded Commitments (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Summary of Change in Balance for Reserve for Unfunded Commitments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "76",
     "firstAnchor": {
      "contextRef": "C_d976fed8-24e2-4f36-9340-6a59ea77902c",
      "name": "us-gaap:OffBalanceSheetCreditLossLiability",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfChangeInBalanceForAllowanceForCreditLossesUnfundedCommitmentsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d976fed8-24e2-4f36-9340-6a59ea77902c",
      "name": "us-gaap:OffBalanceSheetCreditLossLiability",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfChangeInBalanceForAllowanceForCreditLossesUnfundedCommitmentsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R77": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails",
     "longName": "996175 - Disclosure - Servicing Assets - Activity for Servicing Assets and Related Changes in Fair Value (Details)",
     "shortName": "Servicing Assets - Activity for Servicing Assets and Related Changes in Fair Value (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "77",
     "firstAnchor": {
      "contextRef": "C_d976fed8-24e2-4f36-9340-6a59ea77902c",
      "name": "us-gaap:ServicingAssetAtFairValueAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:ServicingAssetAtFairValueAdditions",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R78": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails",
     "longName": "996185 - Disclosure - Servicing Assets - Unpaid Principal Balances of Loans Serviced for Others (Details)",
     "shortName": "Servicing Assets - Unpaid Principal Balances of Loans Serviced for Others (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "78",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:PrincipalAmountOutstandingOfLoansHeldInPortfolio",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfUnpaidPrincipalBalancesOfLoansServicedForOthersTableTextBlock",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:PrincipalAmountOutstandingOfLoansHeldInPortfolio",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfUnpaidPrincipalBalancesOfLoansServicedForOthersTableTextBlock",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R79": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
     "longName": "996195 - Disclosure - Servicing Assets - Additional Information (Details)",
     "shortName": "Servicing Assets - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "79",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0ab5baa3-c2f3-4eec-ab17-612dcd1de9db",
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R80": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails",
     "longName": "996205 - Disclosure - Other Real Estate Owned - Change in Other Real Estate Owned (Details)",
     "shortName": "Other Real Estate Owned - Change in Other Real Estate Owned (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "80",
     "firstAnchor": {
      "contextRef": "C_d976fed8-24e2-4f36-9340-6a59ea77902c",
      "name": "us-gaap:OtherRealEstateAndForeclosedAssets",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d976fed8-24e2-4f36-9340-6a59ea77902c",
      "name": "us-gaap:OtherRealEstateAndForeclosedAssets",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R81": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails",
     "longName": "996215 - Disclosure - Other Real Estate Owned - Additional Information (Details)",
     "shortName": "Other Real Estate Owned - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "81",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:MortgageLoansInProcessOfForeclosureAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0fce08b5-b312-43aa-a86d-0d1661750b1e",
      "name": "us-gaap:MortgageLoansInProcessOfForeclosureAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R82": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
     "longName": "996225 - Disclosure - Leases - Additional Information (Details)",
     "shortName": "Leases - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "82",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:LessorOperatingLeaseMaturityYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:LessorOperatingLeaseMaturityYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R83": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails",
     "longName": "996235 - Disclosure - Leases - Schedule of Operating Lease Right-of-use Asset and Liability (Details)",
     "shortName": "Leases - Schedule of Operating Lease Right-of-use Asset and Liability (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "83",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R84": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails",
     "longName": "996245 - Disclosure - Leases - Summary of Lease Costs and Company's Operating Leases (Details)",
     "shortName": "Leases - Summary of Lease Costs and Company's Operating Leases (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "84",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:OperatingLeaseCost",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:OperatingLeaseCost",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R85": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails",
     "longName": "996255 - Disclosure - Leases - Schedule of Future Minimum Lease Payments for Operating Leases (Details)",
     "shortName": "Leases - Schedule of Future Minimum Lease Payments for Operating Leases (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "85",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R86": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails",
     "longName": "996275 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets - Summary of Changes in Goodwill, Core Deposit Intangible Assets and Customer Relationship Intangible Assets (Details)",
     "shortName": "Goodwill, Core Deposit Intangible and Other Intangible Assets - Summary of Changes in Goodwill, Core Deposit Intangible Assets and Customer Relationship Intangible Assets (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "86",
     "firstAnchor": {
      "contextRef": "C_d976fed8-24e2-4f36-9340-6a59ea77902c",
      "name": "us-gaap:Goodwill",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_ab1f930c-95ea-488f-b39b-94a88ae8b4e0",
      "name": "us-gaap:GoodwillAcquiredDuringPeriod",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R87": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails",
     "longName": "996285 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets - Estimated Amortization Expense for Core Deposit Intangible and Customer Relationship Intangible Recognized (Details)",
     "shortName": "Goodwill, Core Deposit Intangible and Other Intangible Assets - Estimated Amortization Expense for Core Deposit Intangible and Customer Relationship Intangible Recognized (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "87",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R88": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
     "longName": "996295 - Disclosure - Income Taxes - Additional Information (Details)",
     "shortName": "Income Taxes - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "88",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R89": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails",
     "longName": "996305 - Disclosure - Deposits - Composition of Deposits (Details)",
     "shortName": "Deposits - Composition of Deposits (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "89",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:NoninterestBearingDomesticDepositDemand",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:InterestBearingDomesticDepositChecking",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfDepositsTableTextBlock",
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R90": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails",
     "longName": "996315 - Disclosure - Deposits - Scheduled maturity of time deposits (Details)",
     "shortName": "Deposits - Scheduled maturity of time deposits (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "90",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:TimeDepositMaturitiesYearOne",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:TimeDepositMaturitiesTableTextBlock",
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:TimeDepositMaturitiesYearOne",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:TimeDepositMaturitiesTableTextBlock",
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R91": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails",
     "longName": "996335 - Disclosure - Other Borrowings - Summary of Other Borrowings (Details)",
     "shortName": "Other Borrowings - Summary of Other Borrowings (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "91",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:AdvancesFromFederalHomeLoanBanks",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R92": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
     "longName": "996345 - Disclosure - Other Borrowings - Additional Information (Details)",
     "shortName": "Other Borrowings - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "92",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:FederalReserveBankDiscountWindowBorrowing",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:FederalReserveBankDiscountWindowBorrowing",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R93": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
     "longName": "996355 - Disclosure - Other Borrowings - Summary of Short-term Credit Lines Available for Use (Details)",
     "shortName": "Other Borrowings - Summary of Short-term Credit Lines Available for Use (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "93",
     "firstAnchor": {
      "contextRef": "C_3481bbbb-796d-47dc-b9a4-10cdaff44be9",
      "name": "by:ShortTermLinesOfCreditAvailableForUse",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfShortTermDebtAvailableForUseTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_3481bbbb-796d-47dc-b9a4-10cdaff44be9",
      "name": "by:ShortTermLinesOfCreditAvailableForUse",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfShortTermDebtAvailableForUseTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R94": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
     "longName": "996365 - Disclosure - Subordinated Notes and Junior Subordinated Debentures - Additional Information (Details)",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "94",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:DebtInstrumentInterestRateDuringPeriod",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "7",
      "ancestors": [
       "span",
       "link:footnote",
       "p",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_607dfbea-99f7-450d-99c4-32c36ce61b77",
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R95": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails",
     "longName": "996375 - Disclosure - Subordinated Notes and Junior Subordinated Debentures - Junior Subordinated Debentures by Issuance (Details)",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures - Junior Subordinated Debentures by Issuance (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "95",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R96": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceParentheticalDetails",
     "longName": "996385 - Disclosure - Subordinated Notes and Junior Subordinated Debentures - Junior Subordinated Debentures by Issuance (Parenthetical) (Details)",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures - Junior Subordinated Debentures by Issuance (Parenthetical) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "96",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:DebtInstrumentInterestRateDuringPeriod",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "7",
      "ancestors": [
       "span",
       "link:footnote",
       "p",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R97": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
     "longName": "996395 - Disclosure - Commitments and Contingent Liabilities - Summary of Contract or Notional Amount of Outstanding Loan and Lease Commitments (Details)",
     "shortName": "Commitments and Contingent Liabilities - Summary of Contract or Notional Amount of Outstanding Loan and Lease Commitments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "97",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:LoansAndLeasesReceivableCommitmentsFixedRates",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:LoansAndLeasesReceivableCommitmentsFixedRates",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R98": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
     "longName": "996405 - Disclosure - Commitments and Contingent Liabilities - Additional Information (Details)",
     "shortName": "Commitments and Contingent Liabilities - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "98",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:FixedRateLoanCommitmentsMaturitiesEndingYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "by:FixedRateLoanCommitmentsMaturitiesEndingYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R99": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
     "longName": "996415 - Disclosure - Fair Value Measurement - Summary of Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "shortName": "Fair Value Measurement - Summary of Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "99",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_a3bcaa38-40c8-4299-9b10-e23eddf9a0fa",
      "name": "by:EquityAndOtherSecuritiesAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R100": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
     "longName": "996425 - Disclosure - Fair Value Measurement - Additional Information (Details)",
     "shortName": "Fair Value Measurement - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "100",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:FairValueAssetsToOrFromLevelThreeTransfersAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "by:FairValueAssetsToOrFromLevelThreeTransfersAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R101": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
     "longName": "996435 - Disclosure - Fair Value Measurement - Summary of Financial Assets Measured at Fair Value on Recurring Basis Using Significant Unobservable Inputs (Details)",
     "shortName": "Fair Value Measurement - Summary of Financial Assets Measured at Fair Value on Recurring Basis Using Significant Unobservable Inputs (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "101",
     "firstAnchor": {
      "contextRef": "C_e5bdf9dc-edf2-4593-a410-7afe7f49418e",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_e5bdf9dc-edf2-4593-a410-7afe7f49418e",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R102": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
     "longName": "996445 - Disclosure - Fair Value Measurement - Summary of Unobservable Inputs Used in the Fair Value Measurements on Recurring Basis (Details)",
     "shortName": "Fair Value Measurement - Summary of Unobservable Inputs Used in the Fair Value Measurements on Recurring Basis (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "102",
     "firstAnchor": {
      "contextRef": "C_7428f60c-fa43-4377-89b4-f4132f0c7030",
      "name": "by:FairValueMeasurementChangeInValuationOfInputValueDescription",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7428f60c-fa43-4377-89b4-f4132f0c7030",
      "name": "by:FairValueMeasurementChangeInValuationOfInputValueDescription",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R103": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
     "longName": "996455 - Disclosure - Fair Value Measurement - Summary of Assets Measured at Fair Value on Non-Recurring Basis, Excluding Acquired Impaired Loans (Details)",
     "shortName": "Fair Value Measurement - Summary of Assets Measured at Fair Value on Non-Recurring Basis, Excluding Acquired Impaired Loans (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "103",
     "firstAnchor": {
      "contextRef": "C_eeea3d46-6ae6-4b94-8a91-787e84db336f",
      "name": "us-gaap:AssetsFairValueDisclosure",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_eeea3d46-6ae6-4b94-8a91-787e84db336f",
      "name": "us-gaap:AssetsFairValueDisclosure",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R104": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
     "longName": "996465 - Disclosure - Fair Value Measurement - Summary of Estimated Fair Values of Financial Instruments (Details)",
     "shortName": "Fair Value Measurement - Summary of Estimated Fair Values of Financial Instruments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "104",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:CashAndDueFromBanks",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_da3b908b-9279-4e72-b440-aec052b0c514",
      "name": "us-gaap:CashAndDueFromBanks",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R105": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
     "longName": "996475 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Derivative Financial Instruments and Classification on Consolidated Statements of Financial Condition (Details)",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Derivative Financial Instruments and Classification on Consolidated Statements of Financial Condition (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "105",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:DerivativeNotionalAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_ee03b2c7-b227-4c83-9017-fb7c3677c1f9",
      "name": "us-gaap:DerivativeFairValueOfDerivativeLiability",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R106": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
     "longName": "996485 - Disclosure - Derivative Instruments and Hedge Activities - Additional Information (Details)",
     "shortName": "Derivative Instruments and Hedge Activities - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "106",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:DerivativeNotionalAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0fce08b5-b312-43aa-a86d-0d1661750b1e",
      "name": "us-gaap:HedgedAssetFairValueHedgeLastOfLayerCumulativeIncreaseDecrease",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R107": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
     "longName": "996495 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Cash Flow Hedges (Details)",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Cash Flow Hedges (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "107",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:DerivativeNotionalAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7c97262e-46d5-4e48-8491-35be263a73b7",
      "name": "us-gaap:DerivativeAverageRemainingMaturity1",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfCashFlowHedgesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R108": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
     "longName": "996505 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Net Gains (Losses) Recorded in Accumulated Other Comprehensive Income (Loss) and Consolidated Statements of Operations Relating to Cash Flow and Fair Value Derivative Instruments (Details)",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Net Gains (Losses) Recorded in Accumulated Other Comprehensive Income (Loss) and Consolidated Statements of Operations Relating to Cash Flow and Fair Value Derivative Instruments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "108",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_66f92ca3-c7fe-4b31-b773-2a5837ac82e9",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R109": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfFairValueHedgesDetails",
     "longName": "996515 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Fair Value Hedges (Details)",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Fair Value Hedges (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "109",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:DerivativeNotionalAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_429d27b9-2c3c-4ce2-a8ee-638c6ffa5ab4",
      "name": "us-gaap:DerivativeAverageRemainingMaturity1",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfFairValueHedgesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R110": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails",
     "longName": "996525 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Other Interest Rate Derivatives (Details)",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Other Interest Rate Derivatives (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "110",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:DerivativeNotionalAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_00cef02c-31a2-40c8-8099-0e98de655f13",
      "name": "us-gaap:DerivativeAverageRemainingMaturity1",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfOtherInterestRateDerivativesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R111": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
     "longName": "996535 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Amounts Included in Non-Interest Income in Consolidated Statements of Operations (Details)",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Amounts Included in Non-Interest Income in Consolidated Statements of Operations (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "111",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R112": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
     "longName": "996545 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Company's Interest Rate Derivative and Offsetting Positions (Details)",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Company's Interest Rate Derivative and Offsetting Positions (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "112",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:DerivativeAssetFairValueGrossLiability",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R113": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
     "longName": "996555 - Disclosure - Share-Based Compensation - Additional Information (Details)",
     "shortName": "Share-Based Compensation - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "113",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0ba57724-3eae-4416-91d8-a9b301a04f05",
      "name": "by:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestGrantsInPeriod",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R114": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
     "longName": "996565 - Disclosure - Share-Based Compensation - Summary of fair value of the total stock return performance-based awards granted (Details)",
     "shortName": "Share-Based Compensation - Summary of fair value of the total stock return performance-based awards granted (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "114",
     "firstAnchor": {
      "contextRef": "C_5e370be3-b823-4d89-b419-c378893f288b",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R115": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
     "longName": "996575 - Disclosure - Share-Based Compensation - Summary of Changes in Restricted Shares (Details)",
     "shortName": "Share-Based Compensation - Summary of Changes in Restricted Shares (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "115",
     "firstAnchor": {
      "contextRef": "C_c9980ae9-a87e-48e9-9628-d63bf8f1cd3b",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_1685d178-06cb-4eee-ae58-44c38c68d418",
      "name": "by:ShareBasedCompensationArrangementByShareBasedPaymentAwardIncrementalPerformanceSharesVested",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R116": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
     "longName": "996585 - Disclosure - Share-Based Compensation - Summary of Stock Compensation Expense (Details)",
     "shortName": "Share-Based Compensation - Summary of Stock Compensation Expense (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "116",
     "firstAnchor": {
      "contextRef": "C_6ab21ea0-cc6b-4f81-a025-99531409d6f8",
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_6ab21ea0-cc6b-4f81-a025-99531409d6f8",
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R117": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
     "longName": "996595 - Disclosure - Share-Based Compensation - Summary Activity in shares Subjected to Options and Weighted Average Exercise Prices (Details)",
     "shortName": "Share-Based Compensation - Summary Activity in shares Subjected to Options and Weighted Average Exercise Prices (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "117",
     "firstAnchor": {
      "contextRef": "C_f58a7613-b604-4d0b-b25c-d8bca75291e7",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_6c663a47-1ecc-4b32-827a-cb232014702c",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R118": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
     "longName": "996605 - Disclosure - Earnings per Share - Additional Information (Details)",
     "shortName": "Earnings per Share - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "118",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:WeightedAverageNumberOfSharesOutstandingBasic",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R119": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
     "longName": "996615 - Disclosure - Earnings per Share - Schedule of Calculation of Basic and Diluted Earnings per Share (Details)",
     "shortName": "Earnings per Share - Schedule of Calculation of Basic and Diluted Earnings per Share (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "119",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R120": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
     "longName": "996625 - Disclosure - Stockholders' Equity - Summary of Preferred and Common Stock (Details)",
     "shortName": "Stockholders' Equity - Summary of Preferred and Common Stock (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "120",
     "firstAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockByClassTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7067a97a-9325-4f32-9b81-a2b9160a060a",
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockByClassTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R121": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
     "longName": "996635 - Disclosure - Stockholders' Equity - Additional Information (Details)",
     "shortName": "Stockholders' Equity - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "121",
     "firstAnchor": {
      "contextRef": "C_d5750166-a8db-47d1-b1cc-5f81982a2f5a",
      "name": "srt:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d5750166-a8db-47d1-b1cc-5f81982a2f5a",
      "name": "srt:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true,
      "unique": true
     }
    },
    "R122": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
     "longName": "996645 - Disclosure - Consolidated Statements of Change in Accumulated Other Comprehensive Income (Loss) - Schedule of Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) (Details)",
     "shortName": "Consolidated Statements of Change in Accumulated Other Comprehensive Income (Loss) - Schedule of Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "122",
     "firstAnchor": {
      "contextRef": "C_d976fed8-24e2-4f36-9340-6a59ea77902c",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_da319372-73e2-433e-b3ce-2bb40f1448c1",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "div",
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R123": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationAdditionalInformationDetails",
     "longName": "996655 - Disclosure - Segment Information - Additional Information (Details)",
     "shortName": "Segment Information - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "123",
     "firstAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:NumberOfReportableSegments",
      "unitRef": "U_Segment",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9aa909f0-52e7-4912-9f18-182e9d0e06e0",
      "name": "us-gaap:SegmentReportingCodmProfitLossMeasureHowUsedDescription",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    },
    "R124": {
     "role": "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails",
     "longName": "996665 - Disclosure - Segment Information - Schedule of Segment Reporting Information (Details)",
     "shortName": "Segment Information - Schedule of Segment Reporting Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "124",
     "firstAnchor": {
      "contextRef": "C_0327ce46-d81a-452b-8a66-8309d9dde8fe",
      "name": "us-gaap:InterestAndDividendIncomeOperating",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_5a035343-3ccb-46c1-9047-12383fc9ef4b",
      "name": "us-gaap:InterestAndDividendIncomeOperating",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20260630.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "by_ATMAndInterchangeFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ATMAndInterchangeFees",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ATM and interchange fees",
        "label": "A T M And Interchange Fees",
        "documentation": "ATM and interchange fees."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingChangesAndErrorCorrectionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccountingChangesAndErrorCorrectionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Changes and Error Corrections [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccountingPoliciesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingStandardsUpdateExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccountingStandardsUpdateExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update [Extensible Enumeration]",
        "documentation": "Indicates amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r231",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r286",
      "r287",
      "r288",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r381",
      "r382",
      "r431",
      "r434",
      "r435",
      "r484",
      "r485",
      "r488",
      "r528",
      "r529",
      "r532",
      "r533",
      "r624",
      "r625",
      "r626",
      "r627",
      "r646",
      "r647",
      "r648",
      "r649",
      "r655",
      "r656",
      "r657",
      "r658",
      "r659",
      "r660",
      "r662",
      "r663",
      "r664",
      "r708",
      "r709",
      "r710",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r809",
      "r810",
      "r825",
      "r826",
      "r827",
      "r828",
      "r829",
      "r830",
      "r831",
      "r833",
      "r834",
      "r835",
      "r836",
      "r863",
      "r864",
      "r888",
      "r907",
      "r909",
      "r910",
      "r911",
      "r912",
      "r913",
      "r1024",
      "r1025",
      "r1026",
      "r1027",
      "r1028",
      "r1029",
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1034",
      "r1035"
     ]
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounts Notes And Loans Receivable [Line Items]",
        "label": "Accounts, Notes, Loans and Financing Receivable [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r384",
      "r1611"
     ]
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accretion (Amortization) of Discounts and Premiums, Investments",
        "negatedLabel": "Net accretion of securities",
        "documentation": "The sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method."
       }
      }
     },
     "auth_ref": [
      "r98"
     ]
    },
    "us-gaap_AccretionExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccretionExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 28.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accretion of junior subordinated debentures discount",
        "label": "Accretion Expense",
        "documentation": "Amount recognized for the passage of time, typically for liabilities, that have been discounted to their net present values. Excludes accretion associated with asset retirement obligations."
       }
      }
     },
     "auth_ref": [
      "r1294",
      "r1669"
     ]
    },
    "by_AccretionOfPremiumsAndDiscountsOnAcquiredLoansNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AccretionOfPremiumsAndDiscountsOnAcquiredLoansNet",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 21.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Accretion of premiums and discounts on acquired loans, net",
        "label": "Accretion Of Premiums And Discounts On Acquired Loans Net",
        "documentation": "Accretion of premiums and discounts on acquired loans, net."
       }
      }
     },
     "auth_ref": []
    },
    "by_AccruedInterestPayableAndOtherLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AccruedInterestPayableAndOtherLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued interest payable and other liabilities",
        "label": "Accrued Interest Payable And Other Liabilities",
        "documentation": "Accrued interest payable and other liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "by_AccruedInterestPayableAndOtherLiabilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AccruedInterestPayableAndOtherLiabilitiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued Interest Payable and Other Liabilities",
        "label": "Accrued Interest Payable And Other Liabilities [Member]",
        "documentation": "Accrued interest payable and other liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "by_AccruedInterestReceivableAndOtherAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AccruedInterestReceivableAndOtherAssetsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued Interest Receivable and Other Assets",
        "label": "Accrued Interest Receivable And Other Assets [Member]",
        "documentation": "Accrued interest receivable and other assets."
       }
      }
     },
     "auth_ref": []
    },
    "by_AccruedInterestReceivableOnSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AccruedInterestReceivableOnSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Interest Receivable on Securities",
        "documentation": "Accrued interest receivable on securities",
        "terseLabel": "Accrued interest receivable"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccruedLiabilitiesFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccruedLiabilitiesFairValueDisclosure",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued interest payable",
        "label": "Accrued Liabilities, Fair Value Disclosure",
        "documentation": "Fair value portion of accrued expenses."
       }
      }
     },
     "auth_ref": [
      "r68",
      "r1758",
      "r1759",
      "r1769"
     ]
    },
    "us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccumulatedGainLossNetCashFlowHedgeParentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent [Member]",
        "terseLabel": "Unrealized Gains (Losses) on Cash Flow Hedges",
        "documentation": "Accumulated other comprehensive income (loss) from gain (loss) of derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness, attributable to parent."
       }
      }
     },
     "auth_ref": [
      "r269",
      "r278",
      "r279",
      "r738",
      "r819",
      "r820",
      "r821",
      "r822",
      "r1243",
      "r1537"
     ]
    },
    "us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccumulatedNetUnrealizedInvestmentGainLossMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unrealized Gains (Losses) on Available-for-Sale Securities",
        "label": "AOCI, Accumulated Gain (Loss), Debt Securities, Available-for-Sale, Parent [Member]",
        "verboseLabel": "Unrealized Gains (Losses) on Available-for-Sale Securities",
        "documentation": "Accumulated unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), attributable to parent."
       }
      }
     },
     "auth_ref": [
      "r265",
      "r266",
      "r269",
      "r278",
      "r279",
      "r1537"
     ]
    },
    "by_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax1",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated other comprehensive income loss cumulative changes in net gain loss from cash flow hedges effect net of tax 1.",
        "label": "Accumulated Other Comprehensive Income Loss Cumulative Changes In Net Gain Loss From Cash Flow Hedges Effect Net Of Tax 1",
        "terseLabel": "Remaining balance in accumulated other comprehensive income"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccumulatedOtherComprehensiveIncomeLossLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accumulated Other Comprehensive Income Loss [Line Items]",
        "label": "Accumulated Other Comprehensive Income (Loss) [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r277",
      "r278",
      "r819",
      "r820",
      "r821",
      "r822",
      "r878",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883"
     ]
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Accumulated Other Comprehensive Income (Loss), Net of Tax, Total",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Accumulated other comprehensive loss, net of tax",
        "documentation": "Amount, after tax, of accumulated increase (decrease) in equity from transaction and other event and circumstance from nonowner source."
       }
      }
     },
     "auth_ref": [
      "r24",
      "r25",
      "r86",
      "r256",
      "r1000",
      "r1031",
      "r1035",
      "r1755"
     ]
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccumulatedOtherComprehensiveIncomeLossTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accumulated Other Comprehensive Income Loss [Table]",
        "label": "Accumulated Other Comprehensive Income (Loss) [Table]",
        "documentation": "Disclosure of information about components of accumulated other comprehensive income (loss)."
       }
      }
     },
     "auth_ref": [
      "r277",
      "r278",
      "r819",
      "r820",
      "r821",
      "r822",
      "r878",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883"
     ]
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accumulated Other Comprehensive Income (Loss)",
        "label": "AOCI Attributable to Parent [Member]",
        "verboseLabel": "Total Accumulated Other Comprehensive Income (Loss)",
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r13",
      "r25",
      "r812",
      "r815",
      "r913",
      "r1026",
      "r1027",
      "r1537",
      "r1538",
      "r1539",
      "r1593",
      "r1594",
      "r1595",
      "r1596"
     ]
    },
    "by_AcquiredImpairedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AcquiredImpairedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Acquired Impaired Loans",
        "verboseLabel": "Acquired Impaired",
        "label": "Acquired Impaired Loans [Member]",
        "documentation": "Acquired impaired loans."
       }
      }
     },
     "auth_ref": []
    },
    "by_AcquiredNonCreditDeterioratedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AcquiredNonCreditDeterioratedMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquired Non-Credit Deteriorated.",
        "label": "Acquired Non-Credit Deteriorated [Member]",
        "terseLabel": "Acquired Non-Credit-Deteriorated"
       }
      }
     },
     "auth_ref": []
    },
    "by_AcquiredNonImpairedAndOriginatedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AcquiredNonImpairedAndOriginatedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Acquired Non-Impaired and Originated Loans",
        "terseLabel": "Loans Excluding Acquired Impaired Loans",
        "label": "Acquired Non Impaired And Originated Loans [Member]",
        "documentation": "Acquired non-impaired and originated loans."
       }
      }
     },
     "auth_ref": []
    },
    "by_AcquiredNonImpairedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AcquiredNonImpairedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Acquired Non-impaired Loans and Leases",
        "terseLabel": "Acquired Non-Impaired",
        "label": "Acquired Non Impaired Loans [Member]",
        "documentation": "Acquired non-impaired loans."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_Additional402vDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "Additional402vDisclosureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional 402(v) Disclosure [Text Block]",
        "terseLabel": "Additional 402(v) Disclosure"
       }
      }
     },
     "auth_ref": [
      "r1449"
     ]
    },
    "us-gaap_AdditionalPaidInCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdditionalPaidInCapital",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Additional Paid in Capital, Total",
        "periodStartLabel": "Additional Paid in Capital, Beginning Balance",
        "periodEndLabel": "Additional Paid in Capital, Ending Balance",
        "terseLabel": "Additional paid-in capital",
        "label": "Additional Paid in Capital",
        "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."
       }
      }
     },
     "auth_ref": [
      "r79",
      "r1382",
      "r1841"
     ]
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdditionalPaidInCapitalMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additional Paid-In Capital",
        "label": "Additional Paid-in Capital [Member]",
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders."
       }
      }
     },
     "auth_ref": [
      "r1046",
      "r1593",
      "r1594",
      "r1595",
      "r1596",
      "r1756",
      "r1844"
     ]
    },
    "ecd_AdjToCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation Amount",
        "terseLabel": "Adjustment to Compensation, Amount"
       }
      }
     },
     "auth_ref": [
      "r1462"
     ]
    },
    "ecd_AdjToCompAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToCompAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation [Axis]",
        "terseLabel": "Adjustment to Compensation:"
       }
      }
     },
     "auth_ref": [
      "r1462"
     ]
    },
    "ecd_AdjToNonPeoNeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToNonPeoNeoCompFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Non-PEO NEO Compensation Footnote [Text Block]",
        "terseLabel": "Adjustment to Non-PEO NEO Compensation Footnote"
       }
      }
     },
     "auth_ref": [
      "r1462"
     ]
    },
    "ecd_AdjToPeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToPeoCompFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment To PEO Compensation, Footnote [Text Block]",
        "terseLabel": "Adjustment To PEO Compensation, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1462"
     ]
    },
    "by_AdjustmentsAndReconcilingItems": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AdjustmentsAndReconcilingItems",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments and Reconciling Items",
        "documentation": "Adjustments and reconciling items.",
        "totalLabel": "Adjustments and Reconciling Items, Total"
       }
      }
     },
     "auth_ref": []
    },
    "by_AdjustmentsAndReconcilingItems1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AdjustmentsAndReconcilingItems1",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments and Reconciling Items 1",
        "documentation": "Adjustments and Reconciling Items 1.",
        "terseLabel": "Adjustments and reconciling items"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "APIC, Share-based Payment Arrangement, Increase for Cost Recognition, Total",
        "terseLabel": "Share-based compensation expense",
        "label": "APIC, Share-Based Payment Arrangement, Increase for Cost Recognition",
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r588"
     ]
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustments to reconcile net income to net cash from operating activities:",
        "label": "Adjustment to Reconcile Net Income to Cash Provided by (Used in) Operating Activity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdvancesFromFederalHomeLoanBanks": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdvancesFromFederalHomeLoanBanks",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "parentTag": "us-gaap_OtherBorrowings",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal Home Loan Bank advances",
        "label": "Advance from Federal Home Loan Bank",
        "totalLabel": "Advances from Federal Home Loan Banks, Total",
        "documentation": "Amount of borrowings as of the balance sheet date from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and liquidity shortages."
       }
      }
     },
     "auth_ref": [
      "r141"
     ]
    },
    "by_AgencyCommercialMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AgencyCommercialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Agency, Commercial Mortgage-Backed Securities",
        "label": "Agency Commercial Mortgage Backed Securities [Member]",
        "documentation": "Agency commercial mortgage backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "by_AgencyResidentialMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AgencyResidentialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Agency, Residential Mortgage-Backed Securities",
        "label": "Agency Residential Mortgage Backed Securities [Member]",
        "documentation": "Agency residential mortgage backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AgencySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AgencySecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Agency",
        "label": "Agency Securities [Member]",
        "documentation": "Securities issued by government sponsored entities."
       }
      }
     },
     "auth_ref": [
      "r1615",
      "r1622"
     ]
    },
    "by_AggregateSharesInOffering": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AggregateSharesInOffering",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Shares in Offering",
        "documentation": "Aggregate shares in offering.",
        "terseLabel": "Aggregate shares in offering"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtChngPnsnValInSummryCompstnTblForAplblYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table [Member]",
        "terseLabel": "Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table"
       }
      }
     },
     "auth_ref": [
      "r1495"
     ]
    },
    "ecd_AggtErrCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtErrCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Amount",
        "terseLabel": "Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1421",
      "r1431",
      "r1441",
      "r1473"
     ]
    },
    "ecd_AggtErrCompNotYetDeterminedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtErrCompNotYetDeterminedTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Not Yet Determined [Text Block]",
        "terseLabel": "Aggregate Erroneous Compensation Not Yet Determined"
       }
      }
     },
     "auth_ref": [
      "r1424",
      "r1434",
      "r1444",
      "r1476"
     ]
    },
    "ecd_AggtPnsnAdjsSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtPnsnAdjsSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Pension Adjustments Service Cost [Member]",
        "terseLabel": "Aggregate Pension Adjustments Service Cost"
       }
      }
     },
     "auth_ref": [
      "r1496"
     ]
    },
    "ecd_AllAdjToCompMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllAdjToCompMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Adjustments to Compensation [Member]",
        "terseLabel": "All Adjustments to Compensation"
       }
      }
     },
     "auth_ref": [
      "r1462"
     ]
    },
    "ecd_AllExecutiveCategoriesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllExecutiveCategoriesMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Executive Categories [Member]",
        "terseLabel": "All Executive Categories"
       }
      }
     },
     "auth_ref": [
      "r1469"
     ]
    },
    "ecd_AllIndividualsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllIndividualsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Individuals [Member]",
        "terseLabel": "All Individuals"
       }
      }
     },
     "auth_ref": [
      "r1425",
      "r1435",
      "r1445",
      "r1469",
      "r1477",
      "r1481",
      "r1489"
     ]
    },
    "ecd_AllTradingArrangementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllTradingArrangementsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Trading Arrangements [Member]",
        "terseLabel": "All Trading Arrangements"
       }
      }
     },
     "auth_ref": [
      "r1487"
     ]
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AllocatedShareBasedCompensationExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total share-based compensation - restricted stock",
        "label": "Share-Based Payment Arrangement, Expense",
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized."
       }
      }
     },
     "auth_ref": [
      "r619",
      "r628",
      "r629"
     ]
    },
    "by_AllocatedShareBasedCompensationExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AllocatedShareBasedCompensationExpenseBenefit",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total share-based compensation (benefit) - stock options",
        "label": "Allocated Share Based Compensation Expense Benefit",
        "documentation": "Allocated share based compensation expense (benefit)."
       }
      }
     },
     "auth_ref": []
    },
    "by_AllowanceForCreditLossesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AllowanceForCreditLossesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Allowance for Credit Losses",
        "documentation": "Allowance for credit losses.",
        "label": "Allowance for Credit Losses [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "by_AmendedCreditAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AmendedCreditAgreementMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amended Credit Agreement",
        "label": "Amended Credit Agreement [Member]",
        "documentation": "Amended credit agreement."
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Amendment Flag",
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "by_AmerimarkCapitalTrustOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AmerimarkCapitalTrustOneMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "AmeriMark Capital Trust I",
        "label": "AmeriMark Capital Trust One [Member]",
        "documentation": "AmeriMark Capital Trust I."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AmortizationOfAcquisitionCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AmortizationOfAcquisitionCosts",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 25.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net amortization of other acquisition accounting adjustments",
        "label": "Amortization of Acquisition Costs",
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of capitalized costs associated with acquisition of business. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AmortizationOfFinancingCosts",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 27.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amortization of subordinated debt issuance cost",
        "label": "Amortization of Debt Issuance Costs",
        "documentation": "Amount of amortization expense attributable to debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r91",
      "r524",
      "r1583",
      "r1781"
     ]
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AmortizationOfIntangibleAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Amortization",
        "terseLabel": "Other intangible assets amortization expense",
        "label": "Amortization of Intangible Assets",
        "totalLabel": "Amortization of Intangible Assets, Total",
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r285",
      "r473",
      "r480",
      "r1235",
      "r1244",
      "r1245",
      "r1247",
      "r1249"
     ]
    },
    "by_AmountOfGainLossRecognizedInOtherNonInterestIncomeIneffectivePortion": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AmountOfGainLossRecognizedInOtherNonInterestIncomeIneffectivePortion",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amount of Gain (Loss) Recognized in Other Non-Interest Income",
        "label": "Amount Of Gain Loss Recognized In Other Non Interest Income Ineffective Portion",
        "documentation": "Amount of gain (loss) recognized in other non-interest income ineffective portion."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Antidilutive weighted average shares outstanding",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented."
       }
      }
     },
     "auth_ref": [
      "r343"
     ]
    },
    "by_AssessmentOfModifiedLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AssessmentOfModifiedLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assessment of modified loans",
        "label": "Assessment of Modified Loans",
        "terseLabel": "Assessment of modified loans"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset-Backed Securities",
        "label": "Asset-Backed Securities [Member]",
        "documentation": "Securities that are primarily serviced by the cash flows of a discrete pool of receivables or other financial assets for example, but not limited to, credit card receivables, car loans, recreational vehicle loans, and mobile home loans."
       }
      }
     },
     "auth_ref": [
      "r1304",
      "r1306",
      "r1383",
      "r1617",
      "r1623",
      "r1624"
     ]
    },
    "us-gaap_AssetImpairmentCharges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetImpairmentCharges",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Impairment charge related to acquisition",
        "label": "Asset Impairment Charges",
        "totalLabel": "Asset Impairment Charges, Total",
        "documentation": "Amount of write-down of assets recognized in the income statement. Includes, but is not limited to, losses from tangible assets, intangible assets and goodwill."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r45",
      "r1384",
      "r1385"
     ]
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Assets",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total assets",
        "label": "Assets",
        "terseLabel": "Total assets for reportable segment",
        "documentation": "Amount of asset recognized for present right to economic benefit."
       }
      }
     },
     "auth_ref": [
      "r113",
      "r146",
      "r249",
      "r299",
      "r302",
      "r303",
      "r347",
      "r358",
      "r370",
      "r374",
      "r430",
      "r498",
      "r499",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r507",
      "r508",
      "r736",
      "r739",
      "r874",
      "r982",
      "r983",
      "r996",
      "r1093",
      "r1261",
      "r1262",
      "r1300",
      "r1382",
      "r1392",
      "r1393",
      "r1412",
      "r1676",
      "r1677",
      "r1785"
     ]
    },
    "us-gaap_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ASSETS",
        "label": "Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsFairValueDisclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Assets, Fair Value Disclosure, Total",
        "terseLabel": "Assets, Fair Value",
        "label": "Assets, Fair Value Disclosure",
        "documentation": "Fair value portion of asset recognized for present right to economic benefit."
       }
      }
     },
     "auth_ref": [
      "r838",
      "r839",
      "r1367"
     ]
    },
    "by_AvailableFederalFundsLineMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AvailableFederalFundsLineMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available Federal Funds Line",
        "label": "Available Federal Funds Line [Member]",
        "documentation": "Available federal funds line."
       }
      }
     },
     "auth_ref": []
    },
    "by_AvailableForSaleBasisAdjustments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "AvailableForSaleBasisAdjustments",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails": {
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Available For Sale Basis Adjustments",
        "documentation": "Available for sale basis adjustments.",
        "terseLabel": "Available for sale, Basis adjustments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails": {
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Gross Unrealized Gains",
        "label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Gain, before Tax",
        "documentation": "Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r402"
     ]
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails": {
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-Sale, Accumulated Gross Unrealized Loss, before Tax",
        "negatedLabel": "Available-for-sale Securities, Gross Unrealized Losses",
        "documentation": "Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r403"
     ]
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITEDParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Securities available-for-sale, amortized cost",
        "totalLabel": "Available-for-sale Securities, Amortized Cost",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost",
        "verboseLabel": "Amortized cost basis of the closed portfolios of available-for-sale securities used in the hedging relationship",
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r399",
      "r460",
      "r995"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Due from five to ten years, Amortized Cost",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10",
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth 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)."
       }
      }
     },
     "auth_ref": [
      "r1620"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Due from five to ten years, Fair Value",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10",
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth 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)."
       }
      }
     },
     "auth_ref": [
      "r408",
      "r990"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Due from one to five years, Amortized Cost",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through 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)."
       }
      }
     },
     "auth_ref": [
      "r1619"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Due from one to five years, Fair Value",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through 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)."
       }
      }
     },
     "auth_ref": [
      "r407",
      "r989"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Due after ten years, Amortized Cost",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 10",
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth 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)."
       }
      }
     },
     "auth_ref": [
      "r1621"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Due after ten years, Fair Value",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10",
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth 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)."
       }
      }
     },
     "auth_ref": [
      "r409",
      "r991"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities Debt Maturities, Amortized Cost [Abstract]",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Fiscal Year Maturity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities Debt Maturities, Fair Value [Abstract]",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Fiscal Year Maturity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Due in one year or less, Amortized Cost",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, Year One",
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next 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)."
       }
      }
     },
     "auth_ref": [
      "r1618"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Due in one year or less, Fair Value",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, Year One",
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next 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)."
       }
      }
     },
     "auth_ref": [
      "r406",
      "r988"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Not due at single maturity, Amortized Cost",
        "label": "Debt Securities, Available-for-Sale, Maturity, without Single Maturity Date, Amortized Cost",
        "documentation": "Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), without single maturity date and not allocated over maturity grouping."
       }
      }
     },
     "auth_ref": [
      "r1616",
      "r1617"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Not due at single maturity, Fair Value",
        "label": "Debt Securities, Available-for-Sale, Maturity, without Single Maturity Date, Fair Value",
        "documentation": "Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), without single maturity date and not allocated over maturity grouping."
       }
      }
     },
     "auth_ref": [
      "r405",
      "r987",
      "r1616"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails": {
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Available-for-sale Securities, Fair Value",
        "totalLabel": "Available-for-sale Securities, Fair Value, Total",
        "label": "Debt Securities, Available-for-Sale",
        "terseLabel": "Securities available-for-sale",
        "netLabel": "Securities available-for-sale, at fair value (amortized cost at June 30, 2026 - $1,743,352 December 31, 2025 - $1,516,376)",
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r400",
      "r460",
      "r838",
      "r865",
      "r867",
      "r869",
      "r870",
      "r973",
      "r1233",
      "r1367",
      "r1372",
      "r1379",
      "r1613",
      "r1760",
      "r1761",
      "r1762"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableForSaleSecuritiesGrossRealizedGainLossAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-Sale, Realized Gain (Loss) [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AvailableforsaleSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AvailableforsaleSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities",
        "label": "Available-for-Sale Securities [Member]",
        "documentation": "Investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r170"
     ]
    },
    "ecd_AwardExrcPrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardExrcPrice",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Exercise Price",
        "terseLabel": "Exercise Price"
       }
      }
     },
     "auth_ref": [
      "r1484"
     ]
    },
    "ecd_AwardGrantDateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardGrantDateFairValue",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Grant Date Fair Value",
        "terseLabel": "Fair Value as of Grant Date"
       }
      }
     },
     "auth_ref": [
      "r1485"
     ]
    },
    "ecd_AwardTmgDiscLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgDiscLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Disclosures [Line Items]",
        "terseLabel": "Award Timing Disclosures"
       }
      }
     },
     "auth_ref": [
      "r1480"
     ]
    },
    "ecd_AwardTmgHowMnpiCnsdrdTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgHowMnpiCnsdrdTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing, How MNPI Considered [Text Block]",
        "terseLabel": "Award Timing, How MNPI Considered"
       }
      }
     },
     "auth_ref": [
      "r1480"
     ]
    },
    "ecd_AwardTmgMethodTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgMethodTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Method [Text Block]",
        "terseLabel": "Award Timing Method"
       }
      }
     },
     "auth_ref": [
      "r1480"
     ]
    },
    "ecd_AwardTmgMnpiCnsdrdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgMnpiCnsdrdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Considered [Flag]",
        "terseLabel": "Award Timing MNPI Considered"
       }
      }
     },
     "auth_ref": [
      "r1480"
     ]
    },
    "ecd_AwardTmgMnpiDiscTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgMnpiDiscTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Disclosure [Text Block]",
        "terseLabel": "Award Timing MNPI Disclosure"
       }
      }
     },
     "auth_ref": [
      "r1480"
     ]
    },
    "ecd_AwardTmgPredtrmndFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgPredtrmndFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Predetermined [Flag]",
        "terseLabel": "Award Timing Predetermined"
       }
      }
     },
     "auth_ref": [
      "r1480"
     ]
    },
    "us-gaap_AwardTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AwardTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables",
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type",
        "documentation": "Information by type of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r614",
      "r615",
      "r616",
      "r617",
      "r618"
     ]
    },
    "ecd_AwardUndrlygSecuritiesAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardUndrlygSecuritiesAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Underlying Securities Amount",
        "terseLabel": "Underlying Securities"
       }
      }
     },
     "auth_ref": [
      "r1483"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardsCloseToMnpiDiscIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r1482"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardsCloseToMnpiDiscTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures"
       }
      }
     },
     "auth_ref": [
      "r1481"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardsCloseToMnpiDiscTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table Text Block]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures, Table"
       }
      }
     },
     "auth_ref": [
      "r1481"
     ]
    },
    "by_BYBPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BYBPlanMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BYB Plan",
        "label": "B Y B Plan [Member]",
        "documentation": "BYB plan."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BalanceSheetLocationAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Balance Sheet Location",
        "label": "Statement of Financial Position Location, Balance [Axis]",
        "documentation": "Information by location in statement of financial position where disaggregated cumulative balance is reported."
       }
      }
     },
     "auth_ref": [
      "r487",
      "r752",
      "r755",
      "r756",
      "r757",
      "r758",
      "r777",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r783",
      "r873",
      "r1360",
      "r1362",
      "r1507",
      "r1808"
     ]
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BalanceSheetLocationDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Balance Sheet Location",
        "label": "Statement of Financial Position Location, Balance [Domain]",
        "documentation": "Location in statement of financial position where disaggregated cumulative balance is reported."
       }
      }
     },
     "auth_ref": [
      "r487",
      "r752",
      "r755",
      "r756",
      "r757",
      "r758",
      "r777",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r783",
      "r873",
      "r1360",
      "r1362",
      "r1507",
      "r1808"
     ]
    },
    "us-gaap_BankOwnedLifeInsurance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BankOwnedLifeInsurance",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Bank-owned life insurance",
        "label": "Bank Owned Life Insurance",
        "documentation": "The carrying amount of a life insurance policy on an officer, executive or employee for which the reporting entity (a bank) is entitled to proceeds from the policy upon death of the insured or surrender of the insurance policy."
       }
      }
     },
     "auth_ref": [
      "r1798"
     ]
    },
    "us-gaap_BankServicingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BankServicingMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan Servicing Revenue [Member]",
        "label": "Bank Servicing [Member]",
        "documentation": "Collection and processing of payment on mortgage, credit card and other financial asset held by others."
       }
      }
     },
     "auth_ref": [
      "r1687",
      "r1688"
     ]
    },
    "by_BankTermFundingProgramMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BankTermFundingProgramMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank term funding program.",
        "label": "Bank Term Funding Program [Member]",
        "terseLabel": "Bank Term Funding Program"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureBasisOfPresentationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basis of Presentation",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS)."
       }
      }
     },
     "auth_ref": [
      "r1584"
     ]
    },
    "us-gaap_BorrowingsUnderGuaranteedInvestmentAgreements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BorrowingsUnderGuaranteedInvestmentAgreements",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "parentTag": "us-gaap_OtherBorrowings",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Borrowings under Guaranteed Investment Agreements",
        "terseLabel": "Bank Term Funding Program",
        "documentation": "Carrying value as of the balance sheet date of the sum of the obligations to contract holders to provide to them an agreed upon rate of return pursuant to the terms of the underlying contract. These contracts represent lending by the contract holders to the entity in return for a guaranteed (primarily fixed) interest rate until maturity, unless called earlier if the contracts provide that option to the contract holders (usually institutions). There is little or no insurance risk for the entity."
       }
      }
     },
     "auth_ref": [
      "r1805"
     ]
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionAcquireeDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfPreliminaryEstimatesOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParenth",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Business Acquisition, Acquiree",
        "label": "Business Combination [Domain]",
        "documentation": "Business combination or series of individually immaterial business combinations."
       }
      }
     },
     "auth_ref": [
      "r471",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r689",
      "r690",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r727",
      "r728",
      "r729",
      "r1038",
      "r1309",
      "r1310",
      "r1724",
      "r1730",
      "r1732"
     ]
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfPreliminaryEstimatesOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParenth",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Business Acquisition",
        "label": "Business Combination [Axis]",
        "documentation": "Information by business combination or series of individually immaterial business combinations."
       }
      }
     },
     "auth_ref": [
      "r471",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r689",
      "r690",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r723",
      "r724",
      "r725",
      "r727",
      "r728",
      "r729",
      "r1038",
      "r1309",
      "r1310",
      "r1724",
      "r1730",
      "r1732"
     ]
    },
    "by_BusinessAcquisitionCashPaymentPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessAcquisitionCashPaymentPerShare",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business Acquisition Cash Payment Per Share",
        "label": "Business Acquisition Cash Payment Per Share",
        "terseLabel": "Cash payment per share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionCostOfAcquiredEntityTransactionCosts",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Transaction Cost, Excluding Separately Recognized Transaction",
        "terseLabel": "Merger related expenses",
        "documentation": "Amount of transaction cost incurred to effect business combination. Excludes separately recognized transaction and indirect cost."
       }
      }
     },
     "auth_ref": [
      "r1726"
     ]
    },
    "us-gaap_BusinessAcquisitionDateOfAcquisitionAgreement1": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionDateOfAcquisitionAgreement1",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Date of Acquisition Agreement",
        "terseLabel": "Business acquisition date of agreement",
        "documentation": "Date when acquisition agreement is executed in business combination, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r1721",
      "r1726"
     ]
    },
    "us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Consideration Transferred, Equity Interest, Share Issued, Value",
        "terseLabel": "Value of common stock consideration",
        "documentation": "Value of equity interests (such as common shares, preferred shares, or partnership interest) issued or issuable to acquire the entity."
       }
      }
     },
     "auth_ref": [
      "r1735",
      "r1736"
     ]
    },
    "us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfPreliminaryEstimatesOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParenth",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Stock issued (in shares)",
        "label": "Business Combination, Consideration Transferred, Equity Interest, Share Issued, Number of Shares",
        "terseLabel": "Issuance of common shares",
        "documentation": "Number of shares of equity interest issued or issuable by acquirer as part of consideration transferred in business combination."
       }
      }
     },
     "auth_ref": [
      "r1315",
      "r1320",
      "r1321",
      "r1355",
      "r1356"
     ]
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfPreliminaryEstimatesOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParenth"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Business Acquisition [Line Items]",
        "label": "Business Combination [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r471",
      "r666",
      "r667",
      "r668",
      "r669",
      "r675",
      "r676",
      "r677",
      "r678",
      "r684",
      "r689",
      "r690",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r723",
      "r724",
      "r725",
      "r729",
      "r1315",
      "r1325",
      "r1724",
      "r1730",
      "r1732"
     ]
    },
    "by_BusinessAcquisitionOptionToAcquireCommonStockShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessAcquisitionOptionToAcquireCommonStockShares",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Options to acquire common stock shares",
        "label": "Business Acquisition Option To Acquire Common Stock Shares",
        "documentation": "Business acquisition option to acquire common stock shares."
       }
      }
     },
     "auth_ref": []
    },
    "by_BusinessAcquisitionOptionToAcquireCommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessAcquisitionOptionToAcquireCommonStockValue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Option to acquire common stock value",
        "label": "Business Acquisition Option To Acquire Common Stock Value",
        "documentation": "Business acquisition option to acquire common stock value."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionProFormaEarningsPerShareBasic",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings per share - basic",
        "label": "Business Combination, Pro Forma Information, Pro Forma Earnings Per Share, Basic",
        "documentation": "Per basic share amount, after tax, of pro forma income (loss) of combined entity as if acquisition date of business combination occurred as of beginning of period."
       }
      }
     },
     "auth_ref": [
      "r1504",
      "r1505",
      "r1725"
     ]
    },
    "us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionProFormaEarningsPerShareDiluted",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings per share - diluted",
        "label": "Business Combination, Pro Forma Information, Pro Forma Earnings Per Share, Diluted",
        "documentation": "Per diluted share amount, after tax, of pro forma income (loss) of combined entity as if acquisition date of business combination occurred as of beginning of period."
       }
      }
     },
     "auth_ref": [
      "r1504",
      "r1505",
      "r1725"
     ]
    },
    "us-gaap_BusinessAcquisitionProFormaInformationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionProFormaInformationTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Pro Forma Information for Results of Operations",
        "label": "Business Combination, Pro Forma Information [Table Text Block]",
        "documentation": "Tabular disclosure of pro forma revenue and earnings for business combination or aggregate of series of individually immaterial business combinations."
       }
      }
     },
     "auth_ref": [
      "r1315",
      "r1326",
      "r1504",
      "r1505",
      "r1725"
     ]
    },
    "us-gaap_BusinessAcquisitionSharePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionSharePrice",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfPreliminaryEstimatesOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParenth"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Stock issued (in dollars per share)",
        "label": "Business Combination, Price Per Share",
        "terseLabel": "Common stock issued price per share",
        "documentation": "Per share price of saleable stock paid or offered to be paid by acquirer in business combination."
       }
      }
     },
     "auth_ref": [
      "r1357",
      "r1727",
      "r1728",
      "r1735",
      "r1736"
     ]
    },
    "by_BusinessAcquisitionTransactionClosingDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessAcquisitionTransactionClosingDate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business Acquisition Transaction Closing Date",
        "label": "Business Acquisition Transaction Closing Date",
        "terseLabel": "Business acquisition transaction completion Date"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionsProFormaNetIncomeLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net income",
        "label": "Business Combination, Pro Forma Information, Pro Forma Income (Loss), after Tax",
        "documentation": "Amount, after tax, of pro forma income (loss) of combined entity as if acquisition date of business combination occurred as of beginning of period."
       }
      }
     },
     "auth_ref": [
      "r681",
      "r682",
      "r684",
      "r1315",
      "r1326",
      "r1327"
     ]
    },
    "us-gaap_BusinessAcquisitionsProFormaRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessAcquisitionsProFormaRevenue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total revenues (net interest income and non-interest income)",
        "label": "Business Combination, Pro Forma Information, Pro Forma Revenue",
        "documentation": "Amount of pro forma revenue of combined entity as if acquisition date of business combination occurred as of beginning of period."
       }
      }
     },
     "auth_ref": [
      "r681",
      "r682",
      "r684",
      "r1315",
      "r1326"
     ]
    },
    "by_BusinessAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessAssetsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business assets.",
        "label": "Business Assets [member]",
        "terseLabel": "Business Assets"
       }
      }
     },
     "auth_ref": []
    },
    "by_BusinessCombinationAcquiredReceivablesEstimatedCollectible": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessCombinationAcquiredReceivablesEstimatedCollectible",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimate of contractual cash flows expected to be collected",
        "label": "Business Combination Acquired Receivables Estimated Collectible",
        "documentation": "For receivables acquired in a business combination, excluding certain loans and debt securities acquired in a transfer (as defined), this element represents the best estimate at the acquisition date of the contractual cash flows expected to be collected, by major class of receivable, such as loans, direct finance leases (as defined), and any other class of receivables."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationAcquiredReceivablesEstimatedUncollectible",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimate of contractual cash flows not expected to be collected",
        "label": "Business Combination, Acquired Receivable, Purchased without Credit Deterioration, Contractual Cash Flow, Estimated Uncollectible",
        "documentation": "Amount of estimated contractual cash flow not expected to be collected for receivable purchased without credit deterioration, acquired in business combination. Excludes purchased financial asset with credit deterioration."
       }
      }
     },
     "auth_ref": [
      "r694",
      "r700"
     ]
    },
    "us-gaap_BusinessCombinationAcquiredReceivablesFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationAcquiredReceivablesFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value",
        "label": "Business Combination, Acquired Receivable, Purchased without Credit Deterioration, Fair Value",
        "documentation": "Fair value of receivable purchased without credit deterioration, acquired in business combination. Excludes purchased financial asset with credit deterioration."
       }
      }
     },
     "auth_ref": [
      "r692",
      "r700"
     ]
    },
    "us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationAcquiredReceivablesGrossContractualAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross contractual amounts receivable",
        "label": "Business Combination, Acquired Receivable, Purchased without Credit Deterioration, Gross Contractual Amount",
        "documentation": "Amount of gross contractual receivable purchased without credit deterioration, acquired in business combination. Excludes purchased financial asset with credit deterioration."
       }
      }
     },
     "auth_ref": [
      "r692",
      "r700"
     ]
    },
    "us-gaap_BusinessCombinationAcquisitionRelatedCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationAcquisitionRelatedCosts",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Acquisition advisory expenses",
        "label": "Business Combination, Acquisition-Related Cost, Expense",
        "documentation": "Amount of expense for acquisition-related cost incurred to effect business combination. Includes, but is not limited to, finder's fee; advisory, legal, accounting, valuation, and other professional and consulting fees; and general administrative cost, including cost of maintaining internal acquisition department."
       }
      }
     },
     "auth_ref": [
      "r1720",
      "r1726"
     ]
    },
    "us-gaap_BusinessCombinationConsiderationTransferred1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationConsiderationTransferred1",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails2": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total consideration paid",
        "label": "Business Combination, Consideration Transferred",
        "terseLabel": "Total merger consideration",
        "documentation": "Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer."
       }
      }
     },
     "auth_ref": [
      "r713",
      "r725",
      "r1315",
      "r1320"
     ]
    },
    "us-gaap_BusinessCombinationConsiderationTransferredAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationConsiderationTransferredAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consideration paid",
        "label": "Business Combination, Consideration Transferred [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails2": {
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Consideration Transferred, Equity Interest",
        "terseLabel": "Common stock, net (1,586,542 shares issued at $26.16 per share)",
        "documentation": "Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination."
       }
      }
     },
     "auth_ref": [
      "r1315",
      "r1320",
      "r1321",
      "r1355",
      "r1356"
     ]
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusiness"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination [Text Block]",
        "terseLabel": "Acquisition of a Business",
        "documentation": "The entire disclosure for business combination."
       }
      }
     },
     "auth_ref": [
      "r665",
      "r666",
      "r670",
      "r679",
      "r683",
      "r684",
      "r685",
      "r686",
      "r687",
      "r688",
      "r690",
      "r691",
      "r697",
      "r700",
      "r701",
      "r707",
      "r711",
      "r712",
      "r720",
      "r724",
      "r725",
      "r726",
      "r728",
      "r730",
      "r1315",
      "r1316",
      "r1317",
      "r1318",
      "r1322",
      "r1323",
      "r1324"
     ]
    },
    "us-gaap_BusinessCombinationIntegrationRelatedCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationIntegrationRelatedCosts",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Core system conversion expenses",
        "label": "Business Combination, Integration-Related Cost, Expense",
        "documentation": "Amount of expense for integration-related cost incurred in connection with business combination. Includes system integration and conversion costs; severance and other employee-related costs; restructuring and other post-combination costs. Excludes acquisition-related cost incurred to effect business combination; cost to issue debt or equity securities; and cost related to acquisition of asset."
       }
      }
     },
     "auth_ref": [
      "r1726"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total assets acquired",
        "label": "Business Combination, Recognized Asset Acquired, Asset",
        "terseLabel": "Assets",
        "documentation": "Amount of asset acquired in business combination and recognized at acquisition date."
       }
      }
     },
     "auth_ref": [
      "r695",
      "r700"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets",
        "label": "Business Combination, Recognized Asset Acquired, Asset [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedBankOwnedLifeInsurance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedBankOwnedLifeInsurance",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed bank owned life insurance.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Bank Owned Life Insurance",
        "terseLabel": "Bank-owned life insurance"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash and cash equivalents",
        "label": "Business Combination, Recognized Asset Acquired, Cash and Cash Equivalent",
        "documentation": "Amount of cash and cash equivalent acquired in business combination and recognized at acquisition date."
       }
      }
     },
     "auth_ref": [
      "r1731",
      "r1733"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Securities available-for-sale",
        "label": "Business Combination, Recognized Asset Acquired, Investment in Debt and Equity Securities, Current",
        "documentation": "Amount of investment in debt and equity securities acquired in business combination and recognized at acquisition date, classified as current."
       }
      }
     },
     "auth_ref": [
      "r1731",
      "r1733"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans",
        "label": "Business Combination, Recognized Asset Acquired, Receivable, Current",
        "documentation": "Amount of receivable acquired in business combination and recognized at acquisition date, classified as current. Includes, but is not limited to, receivable from customer for product and service."
       }
      }
     },
     "auth_ref": [
      "r1731",
      "r1733"
     ]
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeposits",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed current liabilities deposits.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Liabilities Deposits",
        "terseLabel": "Deposits"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred tax assets, net",
        "label": "Business Combination, Recognized Asset Acquired, Deferred Tax Asset",
        "documentation": "Amount of deferred tax asset acquired in business combination and recognized at acquisition date."
       }
      }
     },
     "auth_ref": [
      "r1731",
      "r1733"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other intangible assets",
        "label": "Business Combination, Recognized Asset Acquired, Identifiable Intangible Asset, Excluding Goodwill",
        "totalLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill, Total",
        "documentation": "Amount of identifiable intangible asset acquired in business combination and recognized at acquisition date. Excludes goodwill and financial asset."
       }
      }
     },
     "auth_ref": [
      "r1315",
      "r1320",
      "r1323",
      "r1731",
      "r1733"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities assumed",
        "label": "Business Combination, Recognized Liability Assumed, Liability",
        "documentation": "Amount of liability assumed in business combination and recognized at acquisition date."
       }
      }
     },
     "auth_ref": [
      "r695",
      "r700"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liabilities",
        "label": "Business Combination, Recognized Liability Assumed, Liability [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesFederalHomeLoanBankAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesFederalHomeLoanBankAdvances",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed liabilities federal home loan bank advances.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Liabilities Federal Home Loan Bank Advances",
        "terseLabel": "Federal Home Loan Bank advances"
       }
      }
     },
     "auth_ref": []
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesOperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesOperatingLeaseLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating lease liability",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Liabilities Operating Lease Liability",
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed liabilities operating lease liability."
       }
      }
     },
     "auth_ref": []
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesSecuritiesSoldUnderAgreementsToRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesSecuritiesSoldUnderAgreementsToRepurchase",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Securities sold under agreements to repurchase",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Liabilities Securities Sold Under Agreements to Repurchase",
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed liabilities securities sold under agreements to repurchase."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net assets acquired",
        "terseLabel": "Net assets acquired",
        "label": "Business Combination, Recognized Asset Acquired to Liability Assumed, Excess (Less)",
        "documentation": "Amount of asset acquired in excess of (less than) liability assumed in business combination and recognized at acquisition date. Excludes goodwill."
       }
      }
     },
     "auth_ref": [
      "r1315",
      "r1320",
      "r1731",
      "r1733"
     ]
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesAccruedExpensesAndOtherLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesAccruedExpensesAndOtherLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed noncurrent liabilities accrued expenses and other liabilities.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Noncurrent Liabilities Accrued Expenses And Other Liabilities",
        "terseLabel": "Accrued expenses and other liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Junior subordinated debentures",
        "label": "Business Combination, Recognized Liability Assumed, Long-Term Debt, Noncurrent",
        "documentation": "Amount of long-term debt assumed in business combination and recognized at acquisition date, classified as noncurrent."
       }
      }
     },
     "auth_ref": [
      "r1731",
      "r1733"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other assets",
        "label": "Business Combination, Recognized Asset Acquired, Other Asset, Noncurrent",
        "documentation": "Amount of asset acquired in business combination and recognized at acquisition date, classified as other and noncurrent."
       }
      }
     },
     "auth_ref": [
      "r1731",
      "r1733"
     ]
    },
    "by_BusinessCombinationRightToReceiveCommonStockUponConversion": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "BusinessCombinationRightToReceiveCommonStockUponConversion",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination, right to receive common stock upon conversion.",
        "label": "Business Combination Right To Receive Common Stock Upon Conversion",
        "terseLabel": "Right to receive common stock upon conversion"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessCombinationsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BusinessDescriptionAndBasisOfPresentationTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureBasisOfPresentation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basis of Presentation",
        "label": "Business Description and Basis of Presentation [Text Block]",
        "documentation": "The entire disclosure for the business description and basis of presentation concepts. Business description describes the nature and type of organization including but not limited to organizational structure as may be applicable to holding companies, parent and subsidiary relationships, business divisions, business units, business segments, affiliates and information about significant ownership of the reporting entity. Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS)."
       }
      }
     },
     "auth_ref": [
      "r1523",
      "r1584"
     ]
    },
    "by_CapitalLeasesNetInvestmentInDirectFinancingLeases1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeases1",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital leases net investment in direct financing leases 1.",
        "label": "Capital Leases Net Investment In Direct Financing Leases 1",
        "totalLabel": "Lease financial receivables before allowance for credits losses - loans and leases"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Leases, Net Investment in Direct Financing Leases [Abstract]",
        "terseLabel": "Lease financing receivables"
       }
      }
     },
     "auth_ref": []
    },
    "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesDeferredIncome1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesDeferredIncome1",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "parentTag": "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital leases net investment in direct financing leases deferred income 1.",
        "label": "Capital Leases Net Investment In Direct Financing Leases Deferred Income 1",
        "negatedLabel": "Unearned income"
       }
      }
     },
     "auth_ref": []
    },
    "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "parentTag": "by_CapitalLeasesNetInvestmentInDirectFinancingLeases1",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total lease financing receivables",
        "label": "Capital Leases Net Investment In Direct Financing Leases Excluding Initial Direct Costs",
        "documentation": "Capital leases net investment in direct financing leases excluding initial direct costs."
       }
      }
     },
     "auth_ref": []
    },
    "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesInitialDirectCosts1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesInitialDirectCosts1",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "parentTag": "by_CapitalLeasesNetInvestmentInDirectFinancingLeases1",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmountCovered",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Initial direct costs",
        "verboseLabel": "Initial direct costs",
        "documentation": "Capital leases net investment in direct financing leases initial direct costs 1.",
        "label": "Capital Leases Net Investment In Direct Financing Leases Initial Direct Costs 1"
       }
      }
     },
     "auth_ref": []
    },
    "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesMinimumPaymentsToBeReceived1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesMinimumPaymentsToBeReceived1",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "parentTag": "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital leases net investment in direct financing leases minimum payments to be received 1.",
        "label": "Capital Leases Net Investment In Direct Financing Leases Minimum Payments To Be Received 1",
        "terseLabel": "Net minimum lease payments",
        "totalLabel": "Capital Leases Net Investment In Direct Financing Leases Minimum Payments To Be Received 1, Total"
       }
      }
     },
     "auth_ref": []
    },
    "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesUnguaranteedResidualValuesOfLeasedProperty1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesUnguaranteedResidualValuesOfLeasedProperty1",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "parentTag": "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital leases net investment in direct financing leases unguaranteed residual values of leased property 1.",
        "label": "Capital Leases Net Investment In Direct Financing Leases Unguaranteed Residual Values Of Leased Property 1",
        "terseLabel": "Unguaranteed residual values"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Carrying Amount",
        "label": "Reported Value Measurement [Member]",
        "documentation": "Measured as reported on the statement of financial position (balance sheet)."
       }
      }
     },
     "auth_ref": [
      "r869",
      "r870",
      "r872",
      "r1233",
      "r1775"
     ]
    },
    "by_CarryingValueOfPurchasedCreditDeteriorationLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CarryingValueOfPurchasedCreditDeteriorationLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Carrying Value",
        "label": "Carrying Value of Purchased Credit Deterioration Loans",
        "documentation": "Carrying value of purchased credit deterioration loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAcquiredFromAcquisition": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashAcquiredFromAcquisition",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 23.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Acquired from Acquisition",
        "terseLabel": "Net cash received in acquisition of business",
        "documentation": "The cash inflow associated with the acquisition of business during the period (for example, cash that was held by the acquired business)."
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Cash and cash equivalents",
        "label": "Cash and Cash Equivalent",
        "periodStartLabel": "Cash and Cash Equivalents, at Carrying Value, Beginning Balance",
        "periodEndLabel": "Cash and Cash Equivalents, at Carrying Value, Ending Balance",
        "documentation": "Amount of cash and cash equivalent. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is 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."
       }
      }
     },
     "auth_ref": [
      "r34",
      "r246",
      "r1236"
     ]
    },
    "us-gaap_CashAndDueFromBanks": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashAndDueFromBanks",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash and due from banks",
        "label": "Cash and Due from Banks",
        "totalLabel": "Cash and Due from Banks, Total",
        "documentation": "For banks and other depository institutions: Includes cash on hand (currency and coin), cash items in process of collection, noninterest bearing deposits due from other financial institutions (including corporate credit unions), and noninterest bearing balances with the Federal Reserve Banks, Federal Home Loan Banks and central banks."
       }
      }
     },
     "auth_ref": [
      "r111"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "CASH AND CASH EQUIVALENTS, beginning of period",
        "periodEndLabel": "CASH AND CASH EQUIVALENTS, end of period",
        "label": "Cash, Cash Equivalent, Restricted Cash, and Restricted Cash Equivalent, Continuing Operation",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Total",
        "documentation": "Amount of cash and cash equivalent, and cash and cash equivalent restricted to withdrawal or usage; attributable to continuing operation. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is 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."
       }
      }
     },
     "auth_ref": [
      "r34",
      "r96",
      "r298"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "NET CHANGE IN CASH AND CASH EQUIVALENTS",
        "label": "Cash, Cash Equivalent, Restricted Cash, and Restricted Cash Equivalent, Period Increase (Decrease), Including Exchange Rate Effect and Discontinued Operation",
        "documentation": "Amount of increase (decrease) in cash and cash equivalent, and cash and cash equivalent restricted to withdrawal or usage; including effect from exchange rate change and including, but not limited to, discontinued operation. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is 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."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r96"
     ]
    },
    "us-gaap_CashFlowHedgingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashFlowHedgingMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Cash Flow Hedging",
        "terseLabel": "Cash Flow Hedges",
        "label": "Cash Flow Hedging [Member]",
        "documentation": "Hedge of the exposure to variability in the cash flows of a recognized asset or liability, or of a forecasted transaction, that is attributable to a particular risk."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SUPPLEMENTAL DISCLOSURES OF NON-CASH INVESTING AND FINANCING ACTIVITIES:",
        "label": "Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail": {
       "parentTag": "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value",
        "label": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Acquired During Period, at Acquisition, at Fair Value",
        "verboseLabel": "Loans acquired",
        "documentation": "Fair value at acquisition of acquired loans accounted for as debt securities with evidence of deterioration of credit quality."
       }
      }
     },
     "auth_ref": [
      "r160"
     ]
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimate of contractual cash flows expected to be collected",
        "label": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Acquired During Period, Cash Flows Expected to be Collected at Acquisition",
        "totalLabel": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Acquired During Period, Cash Flows Expected to be Collected at Acquisition, Total",
        "documentation": "Amount of cash flows expected to be collected at acquisition of acquired loans accounted for as debt securities with evidence of deterioration of credit quality."
       }
      }
     },
     "auth_ref": [
      "r160"
     ]
    },
    "by_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsNotExpectedToBeCollectedAtAcquisition": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsNotExpectedToBeCollectedAtAcquisition",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail": {
       "parentTag": "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimate of contractual cash flows not expected to be collected(1)",
        "documentation": "Amount of cash flows not expected to be collected at acquisition of acquired loans accounted for as debt securities with evidence of deterioration of credit quality.",
        "label": "Certain Loans Acquired In Transfer Accounted For As Debt Securities Acquired During Period Cash Flows Not Expected To Be Collected At Acquisition"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail": {
       "parentTag": "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross contractual amounts receivable",
        "label": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Acquired During Period, Contractually Required Payments Receivable at Acquisition",
        "documentation": "Amount of contractually required payments receivable at acquisition of acquired loans accounted for as debt securities with evidence of deterioration of credit quality."
       }
      }
     },
     "auth_ref": [
      "r160"
     ]
    },
    "by_ChangeInFairValueOfEquitySecuritiesNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ChangeInFairValueOfEquitySecuritiesNet",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Change in Fair Value of Equity Securities, Net",
        "documentation": "Change in fair value of equity securities, net.",
        "negatedLabel": "Change in fair value of equity securities, net"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_ChangedPeerGroupFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ChangedPeerGroupFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changed Peer Group, Footnote [Text Block]",
        "terseLabel": "Changed Peer Group, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1460"
     ]
    },
    "ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year [Member]",
        "terseLabel": "Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year"
       }
      }
     },
     "auth_ref": [
      "r1457"
     ]
    },
    "ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested [Member]",
        "terseLabel": "Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested"
       }
      }
     },
     "auth_ref": [
      "r1455"
     ]
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CityAreaCode",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "City Area Code",
        "label": "City Area Code",
        "documentation": "Area code of city"
       }
      }
     },
     "auth_ref": []
    },
    "by_ClassOfLoansReceivableToTotalFinancingReceivablePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ClassOfLoansReceivableToTotalFinancingReceivablePercent",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Loans Receivable to Total Financing Receivable Percent",
        "terseLabel": "% of Class of Loans and Leases, prior to default",
        "documentation": "Class of loans receivable to total financing receivable percent."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfStockDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ClassOfStockDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of Stock",
        "label": "Class of Stock [Domain]",
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock."
       }
      }
     },
     "auth_ref": [
      "r181",
      "r252",
      "r253",
      "r254",
      "r299",
      "r303",
      "r334",
      "r338",
      "r340",
      "r342",
      "r350",
      "r351",
      "r430",
      "r498",
      "r501",
      "r502",
      "r503",
      "r507",
      "r508",
      "r543",
      "r544",
      "r546",
      "r547",
      "r549",
      "r552",
      "r555",
      "r556",
      "r559",
      "r562",
      "r569",
      "r874",
      "r1040",
      "r1041",
      "r1042",
      "r1043",
      "r1046",
      "r1048",
      "r1049",
      "r1050",
      "r1051",
      "r1052",
      "r1053",
      "r1054",
      "r1055",
      "r1056",
      "r1057",
      "r1058",
      "r1080",
      "r1101",
      "r1119",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1501",
      "r1587",
      "r1589",
      "r1597"
     ]
    },
    "us-gaap_ClassOfStockLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ClassOfStockLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class Of Stock [Line Items]",
        "label": "Class of Stock [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r252",
      "r253",
      "r254",
      "r350",
      "r546",
      "r555",
      "r556",
      "r557",
      "r559",
      "r562",
      "r567",
      "r569",
      "r805",
      "r1040",
      "r1041",
      "r1042",
      "r1043",
      "r1301",
      "r1501",
      "r1585",
      "r1587"
     ]
    },
    "ecd_CoSelectedMeasureAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CoSelectedMeasureAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Amount",
        "terseLabel": "Company Selected Measure Amount"
       }
      }
     },
     "auth_ref": [
      "r1461"
     ]
    },
    "ecd_CoSelectedMeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CoSelectedMeasureName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Name",
        "terseLabel": "Company Selected Measure Name"
       }
      }
     },
     "auth_ref": [
      "r1461"
     ]
    },
    "us-gaap_CollateralAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CollateralAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Collateral Held",
        "label": "Collateral Held [Axis]",
        "documentation": "Information by category of collateral or no collateral, from lender's perspective."
       }
      }
     },
     "auth_ref": [
      "r299",
      "r301",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1386",
      "r1387"
     ]
    },
    "us-gaap_CollateralDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CollateralDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Collateral Held",
        "label": "Collateral Held [Domain]",
        "documentation": "Category of collateral or no collateral, from lender's perspective."
       }
      }
     },
     "auth_ref": [
      "r299",
      "r301",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1386",
      "r1387"
     ]
    },
    "by_CollectivelyEvaluatedForImpairmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CollectivelyEvaluatedForImpairmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collectively evaluated for impairment.",
        "label": "Collectively Evaluated For Impairment [Member]",
        "terseLabel": "Collectively Evaluated For Impairment"
       }
      }
     },
     "auth_ref": []
    },
    "by_CombinationTermModificationAndInterestRateReductionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CombinationTermModificationAndInterestRateReductionMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Combination Term Modification and Interest Rate Reduction [Member]",
        "documentation": "Combination term modification and interest rate reduction.",
        "verboseLabel": "Combination Term Modification and Interest Rate Reduction",
        "terseLabel": "CombinationTermModificationAndInterestRateReductionMember"
       }
      }
     },
     "auth_ref": []
    },
    "by_CombinationTermModificationAndPaymentDelayMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CombinationTermModificationAndPaymentDelayMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Combination Term Modification and Payment Delay [Member]",
        "documentation": "Combination term modification and payment delay.",
        "terseLabel": "Combination Term Modification and Payment Delay"
       }
      }
     },
     "auth_ref": []
    },
    "by_CommercialAndIndustrialPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CommercialAndIndustrialPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commercial and Industrial",
        "label": "Commercial And Industrial Portfolio Segment [Member]",
        "documentation": "Commercial and industrial portfolio segment."
       }
      }
     },
     "auth_ref": []
    },
    "by_CommercialConstructionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CommercialConstructionMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commercial construction.",
        "label": "Commercial Construction [Member]",
        "terseLabel": "Commercial Construction"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommercialMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommercialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage-Backed Securities; Commercial",
        "label": "Commercial Mortgage-Backed Securities [Member]",
        "documentation": "Securities collateralized by commercial real estate mortgage loans."
       }
      }
     },
     "auth_ref": [
      "r1367",
      "r1370",
      "r1372",
      "r1617",
      "r1623",
      "r1624",
      "r1689",
      "r1690"
     ]
    },
    "us-gaap_CommercialRealEstatePortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommercialRealEstatePortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commercial Real Estate",
        "label": "Commercial Real Estate Portfolio Segment [Member]",
        "documentation": "Portfolio segment of the company's total financing receivables related to commercial real estate."
       }
      }
     },
     "auth_ref": [
      "r1633",
      "r1635",
      "r1636",
      "r1637",
      "r1638",
      "r1639",
      "r1640"
     ]
    },
    "us-gaap_CommitmentsAndContingencies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingencies",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "COMMITMENTS AND CONTINGENT LIABILITIES (Note 14)",
        "label": "Commitments and Contingencies",
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur."
       }
      }
     },
     "auth_ref": [
      "r74",
      "r120",
      "r997",
      "r1079"
     ]
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments and Contingent Liabilities",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "documentation": "The entire disclosure for commitments and contingencies."
       }
      }
     },
     "auth_ref": [
      "r101",
      "r490",
      "r491",
      "r1220",
      "r1664",
      "r1670"
     ]
    },
    "by_CommitmentsAndContingenciesLiabilitiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CommitmentsAndContingenciesLiabilitiesLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments And Contingencies Liabilities [Line Items]",
        "label": "Commitments And Contingencies Liabilities [Line Items]",
        "documentation": "Commitments and contingencies liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "by_CommitmentsAndContingenciesLiabilitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CommitmentsAndContingenciesLiabilitiesTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments And Contingencies Liabilities [Table]",
        "label": "Commitments And Contingencies Liabilities [Table]",
        "documentation": "Commitments and contingencies liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "by_CommitmentsOutstandingOnModifiedLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CommitmentsOutstandingOnModifiedLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitments outstanding on modified loans.",
        "label": "Commitments Outstanding on Modified Loans",
        "terseLabel": "Commitments outstanding on modified loans"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsToExtendCreditMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsToExtendCreditMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments to Extend Credit",
        "label": "Commitments to Extend Credit [Member]",
        "documentation": "Loan commitments are legally binding commitments to extend credit to a counterparty under certain terms and conditions."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockCapitalSharesReservedForFutureIssuance",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Number of common stock reserved for issuance",
        "label": "Common Stock, Capital Shares Reserved for Future Issuance",
        "documentation": "Aggregate number of common shares reserved for future issuance."
       }
      }
     },
     "auth_ref": [
      "r77"
     ]
    },
    "by_CommonStockDividendDeclaredButNotPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CommonStockDividendDeclaredButNotPaid",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common dividend declared, not paid",
        "label": "Common Stock Dividend Declared But Not Paid",
        "documentation": "Common stock dividends declared but not paid."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockDividendsPerShareCashPaid": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockDividendsPerShareCashPaid",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Dividends, Per Share, Cash Paid",
        "terseLabel": "Common stock, cash dividends paid",
        "documentation": "Aggregate dividends paid during the period for each share of common stock outstanding."
       }
      }
     },
     "auth_ref": [
      "r105"
     ]
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockDividendsPerShareDeclared",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends per share",
        "label": "Common Stock, Dividends, Per Share, Declared",
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding."
       }
      }
     },
     "auth_ref": [
      "r105"
     ]
    },
    "us-gaap_CommonStockDividendsShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockDividendsShares",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash dividends declared on common stock, Shares",
        "label": "Common Stock Dividends, Shares",
        "documentation": "Number of shares of common stock issued as dividends during the period. Excludes stock splits."
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock",
        "documentation": "Stock that is subordinate to all other stock of the issuer."
       }
      }
     },
     "auth_ref": [
      "r1396",
      "r1397",
      "r1398",
      "r1400",
      "r1401",
      "r1402",
      "r1405",
      "r1593",
      "r1594",
      "r1596",
      "r1756",
      "r1839",
      "r1844"
     ]
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Common stock, voting par value",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock, voting par value",
        "documentation": "Face amount or stated value per share of common stock."
       }
      }
     },
     "auth_ref": [
      "r77"
     ]
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesAuthorized",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Common stock, voting shares authorized",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, voting shares authorized",
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r1080"
     ]
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Common stock, voting shares issued",
        "label": "Common Stock, Shares, Issued",
        "totalLabel": "Common Stock, Shares, Issued, Total",
        "terseLabel": "Common stock, voting shares issued",
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury."
       }
      }
     },
     "auth_ref": [
      "r77"
     ]
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesOutstanding",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Shares outstanding",
        "label": "Common Stock, Shares, Outstanding",
        "periodStartLabel": "Common Stock, Shares, Outstanding, Beginning Balance",
        "periodEndLabel": "Common Stock, Shares, Outstanding, Ending Balance",
        "terseLabel": "Common stock, voting shares outstanding",
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r77",
      "r1080",
      "r1099",
      "r1844",
      "r1845"
     ]
    },
    "by_CommonStockSharesPurchasedInOffering": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CommonStockSharesPurchasedInOffering",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock Shares Purchased in Offering",
        "documentation": "Common stock shares purchased in offering.",
        "terseLabel": "Shares purchased in offering"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockValue",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock",
        "label": "Common Stock, Value, Issued",
        "totalLabel": "Common Stock, Value, Issued, Total",
        "periodStartLabel": "Common Stock, Value, Issued, Beginning Balance",
        "periodEndLabel": "Common Stock, Value, Issued, Ending Balance",
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r544",
      "r551",
      "r999",
      "r1382"
     ]
    },
    "ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsCoSelectedMeasureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Company Selected Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Company Selected Measure"
       }
      }
     },
     "auth_ref": [
      "r1466"
     ]
    },
    "ecd_CompActuallyPaidVsNetIncomeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsNetIncomeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Net Income [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Net Income"
       }
      }
     },
     "auth_ref": [
      "r1465"
     ]
    },
    "ecd_CompActuallyPaidVsOtherMeasureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsOtherMeasureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Other Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Other Measure"
       }
      }
     },
     "auth_ref": [
      "r1467"
     ]
    },
    "ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsTotalShareholderRtnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Total Shareholder Return [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Total Shareholder Return"
       }
      }
     },
     "auth_ref": [
      "r1464"
     ]
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ComprehensiveIncomeNetOfTax",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "totalLabel": "Comprehensive income",
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r274",
      "r276",
      "r281",
      "r978",
      "r1008",
      "r1009"
     ]
    },
    "us-gaap_ComprehensiveIncomeNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ComprehensiveIncomeNoteTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLoss"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss)",
        "label": "Comprehensive Income (Loss) Note [Text Block]",
        "documentation": "The entire disclosure for comprehensive income, which includes, but is not limited to, 1) the amount of income tax expense or benefit allocated to each component of other comprehensive income, including reclassification adjustments, 2) the reclassification adjustments for each classification of other comprehensive income and 3) the ending accumulated balances for each component of comprehensive income."
       }
      }
     },
     "auth_ref": [
      "r85",
      "r280",
      "r977",
      "r1006"
     ]
    },
    "srt_ConsolidationItemsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ConsolidationItemsAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Axis]",
        "documentation": "Information by components, eliminations, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments."
       }
      }
     },
     "auth_ref": [
      "r144",
      "r193",
      "r218",
      "r219",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r225",
      "r226",
      "r299",
      "r300",
      "r305",
      "r308",
      "r347",
      "r360",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r374",
      "r375",
      "r376",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r985",
      "r1261",
      "r1262",
      "r1520",
      "r1521",
      "r1676",
      "r1677"
     ]
    },
    "srt_ConsolidationItemsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ConsolidationItemsDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Domain]",
        "documentation": "Components, elimination, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments."
       }
      }
     },
     "auth_ref": [
      "r144",
      "r193",
      "r218",
      "r219",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r225",
      "r226",
      "r299",
      "r300",
      "r305",
      "r308",
      "r347",
      "r360",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r374",
      "r375",
      "r376",
      "r498",
      "r499",
      "r500",
      "r501",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r985",
      "r1261",
      "r1262",
      "r1520",
      "r1521",
      "r1676",
      "r1677"
     ]
    },
    "by_ConstructionLandDevelopmentAndOtherLandPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ConstructionLandDevelopmentAndOtherLandPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Construction, Land Development, and Other Land",
        "label": "Construction Land Development And Other Land Portfolio Segment [Member]",
        "documentation": "Construction, land development, and other land portfolio segment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ContractualInterestRateReductionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ContractualInterestRateReductionMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contractual Interest Rate Reduction [Member]",
        "terseLabel": "Interest Rate Reduction",
        "documentation": "Loan modification for a reduction of contractual interest rate."
       }
      }
     },
     "auth_ref": [
      "r391",
      "r392",
      "r394",
      "r1268"
     ]
    },
    "by_ConversionCalculationPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ConversionCalculationPercentage",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Conversion calculation percentage",
        "label": "Conversion Calculation Percentage",
        "documentation": "Conversion calculation percentage."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CoreDepositsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CoreDepositsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Core Deposits",
        "label": "Core Deposits [Member]",
        "documentation": "Entity's long-term relationships with depositors, commonly known as core deposit intangibles, which are separate from the financial instruments themselves."
       }
      }
     },
     "auth_ref": [
      "r61",
      "r1653",
      "r1654",
      "r1655",
      "r1656",
      "r1657",
      "r1658",
      "r1661",
      "r1662"
     ]
    },
    "us-gaap_CorporateDebtSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CorporateDebtSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Corporate Securities",
        "label": "Corporate Debt Securities [Member]",
        "documentation": "Debt securities issued by domestic or foreign corporate business, banks and other entities with a promise of repayment."
       }
      }
     },
     "auth_ref": [
      "r1304",
      "r1306",
      "r1308",
      "r1367",
      "r1383",
      "r1394",
      "r1836"
     ]
    },
    "by_CorrespondentBankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CorrespondentBankMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Correspondent Bank",
        "label": "Correspondent Bank [Member]",
        "documentation": "Correspondent bank."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "by_CreditAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CreditAgreementMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit agreement",
        "label": "Credit Agreement [Member]",
        "documentation": "Credit agreement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CreditDerivativesByContractTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditDerivativesByContractTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Derivatives Contract Type",
        "label": "Credit Derivatives Contract Type [Axis]",
        "documentation": "Information by major type of contract of credit derivatives."
       }
      }
     },
     "auth_ref": [
      "r791",
      "r796",
      "r798",
      "r801",
      "r802"
     ]
    },
    "us-gaap_CreditDerivativesContractTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditDerivativesContractTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Derivatives Contract Type",
        "label": "Credit Derivatives Contract Type [Domain]",
        "documentation": "Represents major types of credit derivative contracts."
       }
      }
     },
     "auth_ref": [
      "r791",
      "r796",
      "r798",
      "r801",
      "r802"
     ]
    },
    "us-gaap_CreditFacilityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditFacilityAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Facility [Axis]",
        "terseLabel": "Credit Facility",
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing."
       }
      }
     },
     "auth_ref": [
      "r497",
      "r1673"
     ]
    },
    "us-gaap_CreditFacilityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditFacilityDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Facility",
        "label": "Credit Facility [Domain]",
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing."
       }
      }
     },
     "auth_ref": [
      "r497",
      "r1673"
     ]
    },
    "us-gaap_CreditLossStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditLossStatusAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Loss Status [Axis]",
        "documentation": "Information by credit loss status of financial asset."
       }
      }
     },
     "auth_ref": [
      "r1647"
     ]
    },
    "us-gaap_CreditLossStatusDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditLossStatusDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Loss Status [Domain]",
        "documentation": "Credit loss status of financial asset."
       }
      }
     },
     "auth_ref": [
      "r1647"
     ]
    },
    "by_CumulativeBasisAdjustmentAssociatedWithHedgingRelationshipAmortizedCostBasis": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "CumulativeBasisAdjustmentAssociatedWithHedgingRelationshipAmortizedCostBasis",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Basis Adjustment Associated With Hedging Relationship Amortized Cost Basis",
        "documentation": "Cumulative basis adjustment associated with hedging relationship amortized cost basis.",
        "terseLabel": "Cumulative basis adjustment associated with hedging relationship"
       }
      }
     },
     "auth_ref": []
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption, Adjustment [Member]",
        "terseLabel": "Cumulative-effect adjustment (ASU 2016-13)",
        "documentation": "Increase (decrease) to financial statements for cumulative-effect adjustment in period of adoption of amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r228",
      "r233",
      "r312",
      "r322",
      "r329",
      "r431",
      "r436",
      "r485",
      "r645",
      "r646",
      "r658",
      "r660",
      "r811",
      "r812",
      "r813",
      "r815",
      "r817",
      "r818",
      "r828",
      "r831",
      "r834",
      "r835",
      "r911"
     ]
    },
    "srt_CumulativeEffectPeriodOfAdoptionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "CumulativeEffectPeriodOfAdoptionAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption [Axis]",
        "documentation": "Information by cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r228",
      "r233",
      "r312",
      "r322",
      "r329",
      "r431",
      "r436",
      "r485",
      "r645",
      "r646",
      "r658",
      "r660",
      "r811",
      "r812",
      "r813",
      "r815",
      "r817",
      "r818",
      "r828",
      "r831",
      "r834",
      "r835",
      "r911"
     ]
    },
    "srt_CumulativeEffectPeriodOfAdoptionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "CumulativeEffectPeriodOfAdoptionDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption [Domain]",
        "documentation": "Cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r228",
      "r233",
      "r312",
      "r322",
      "r329",
      "r431",
      "r436",
      "r485",
      "r645",
      "r646",
      "r658",
      "r660",
      "r811",
      "r812",
      "r813",
      "r815",
      "r817",
      "r818",
      "r828",
      "r831",
      "r834",
      "r835",
      "r911"
     ]
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Current Fiscal Year End Date",
        "label": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CustomerRelationshipsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CustomerRelationshipsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Customer Relationships",
        "label": "Customer Relationships [Member]",
        "documentation": "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships."
       }
      }
     },
     "auth_ref": [
      "r1336",
      "r1653",
      "r1654",
      "r1655",
      "r1656",
      "r1657",
      "r1658",
      "r1661",
      "r1662"
     ]
    },
    "by_DataProcessingExpensesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DataProcessingExpensesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Data Processing Expenses [Member]",
        "documentation": "Data processing expenses.",
        "terseLabel": "Data Processing Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtAndEquitySecuritiesGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtAndEquitySecuritiesGainLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Debt and Equity Securities, Gain (Loss), Total",
        "negatedLabel": "Net losses on sales of securities available-for-sale",
        "label": "Debt and Equity Securities, Gain (Loss)",
        "terseLabel": "Net realized gains (losses) on securities available-for-sale",
        "documentation": "Amount of unrealized and realized gain (loss) on investment in debt and equity securities."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r92"
     ]
    },
    "us-gaap_DebtDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument",
        "label": "Debt Instrument [Axis]",
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r67",
      "r68",
      "r117",
      "r119",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r1295",
      "r1296",
      "r1297",
      "r1298",
      "r1299",
      "r1380",
      "r1585",
      "r1586",
      "r1588",
      "r1592",
      "r1665",
      "r1666",
      "r1667",
      "r1780",
      "r1782",
      "r1800"
     ]
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Interest rate spread",
        "terseLabel": "Interest Rate Spread",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentCarryingAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans",
        "label": "Long-Term Debt, Gross",
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r119",
      "r526"
     ]
    },
    "us-gaap_DebtInstrumentDescriptionOfVariableRateBasis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentDescriptionOfVariableRateBasis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Interest Rate Spread, Description",
        "terseLabel": "Debt instrument, description of variable rate basis",
        "label": "Debt Instrument, Description of Variable Rate Basis",
        "documentation": "Description of reference rate used for variable rate of debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentFaceAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt instrument, face amount",
        "label": "Debt Instrument, Face Amount",
        "documentation": "Face (par) amount of debt instrument at time of issuance."
       }
      }
     },
     "auth_ref": [
      "r509",
      "r886",
      "r887",
      "r1296",
      "r1297",
      "r1380"
     ]
    },
    "us-gaap_DebtInstrumentIncreaseAccruedInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentIncreaseAccruedInterest",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Increase, Accrued Interest",
        "terseLabel": "Debt instrument, accrued interest",
        "documentation": "Increase for accrued, but unpaid interest on the debt instrument for the period."
       }
      }
     },
     "auth_ref": [
      "r1585",
      "r1588"
     ]
    },
    "us-gaap_DebtInstrumentInterestRateDuringPeriod": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentInterestRateDuringPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceParentheticalDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustment spread Interest rate",
        "label": "Debt Instrument, Interest Rate During Period",
        "verboseLabel": "Floating rate of subordinated notes",
        "documentation": "The average effective interest rate during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r70",
      "r521",
      "r1780"
     ]
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Contractual rate",
        "terseLabel": "Contractual Rate",
        "label": "Debt Instrument, Interest Rate, Effective Percentage",
        "documentation": "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium."
       }
      }
     },
     "auth_ref": [
      "r70",
      "r527",
      "r886",
      "r887",
      "r1380"
     ]
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt instrument, interest rate",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r70",
      "r510"
     ]
    },
    "us-gaap_DebtInstrumentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument [Line Items]",
        "label": "Debt Instrument [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r805",
      "r985",
      "r1295",
      "r1296",
      "r1297",
      "r1298",
      "r1299",
      "r1380",
      "r1585",
      "r1586",
      "r1588",
      "r1592",
      "r1780",
      "r1782"
     ]
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentMaturityDate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Stated Maturity",
        "terseLabel": "Debt instrument, maturity date",
        "label": "Debt Instrument, Maturity Date",
        "documentation": "Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r251",
      "r1295",
      "r1761",
      "r1762"
     ]
    },
    "us-gaap_DebtInstrumentMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentMeasurementInput",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unobservable Inputs",
        "label": "Debt Instrument, Measurement Input",
        "documentation": "Value of input used to measure debt instrument, including, but not limited to, convertible and non-convertible debt."
       }
      }
     },
     "auth_ref": [
      "r1760",
      "r1761",
      "r1762"
     ]
    },
    "us-gaap_DebtInstrumentMeasurementInputExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentMeasurementInputExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument, Measurement Input [Extensible List]",
        "label": "Debt Instrument, Measurement Input [Extensible Enumeration]",
        "documentation": "Indicates measurement input for debt instrument, including, but not limited to, convertible and non-convertible debt."
       }
      }
     },
     "auth_ref": [
      "r1760"
     ]
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument, Name",
        "label": "Debt Instrument, Name [Domain]",
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r1295",
      "r1296",
      "r1297",
      "r1298",
      "r1299",
      "r1380",
      "r1585",
      "r1586",
      "r1588",
      "r1592",
      "r1665",
      "r1666",
      "r1667",
      "r1780",
      "r1782",
      "r1800"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentRedemptionDescription",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt instrument, redemption, description",
        "label": "Debt Instrument, Redemption, Description",
        "documentation": "Description of debt redemption features under terms of the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of principal amount redeemed",
        "label": "Debt Instrument, Redemption Price, Percentage of Principal Amount Redeemed",
        "documentation": "Percentage of principal amount of debt redeemed."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentRepurchasedFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentRepurchasedFaceAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Repurchased Face Amount",
        "terseLabel": "Debt instrument, redeemed principal amount",
        "documentation": "Face (par) amount of the original debt instrument that was repurchased."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument [Table]",
        "label": "Schedule of Long-Term Debt Instruments [Table]",
        "documentation": "Disclosure of information about long-term debt instrument or arrangement."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r52",
      "r55",
      "r62",
      "r103",
      "r104",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r805",
      "r985",
      "r1295",
      "r1296",
      "r1297",
      "r1298",
      "r1299",
      "r1380",
      "r1585",
      "r1586",
      "r1588",
      "r1592",
      "r1780",
      "r1782"
     ]
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentUnamortizedDiscount",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails": {
       "parentTag": "us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Discount",
        "label": "Debt Instrument, Unamortized Discount",
        "totalLabel": "Debt Instrument, Unamortized Discount, Total",
        "documentation": "Amount, after accumulated amortization, of debt discount."
       }
      }
     },
     "auth_ref": [
      "r1679",
      "r1779",
      "r1780",
      "r1782"
     ]
    },
    "us-gaap_DebtInstrumentValuationTechniqueExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentValuationTechniqueExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument, Valuation Technique [Extensible List]",
        "label": "Debt Instrument, Valuation Technique [Extensible Enumeration]",
        "documentation": "Indicates valuation technique for measuring debt instrument, including, but not limited to, convertible and non-convertible debt."
       }
      }
     },
     "auth_ref": [
      "r1760"
     ]
    },
    "by_DebtIssuanceCostsAmortizationPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DebtIssuanceCostsAmortizationPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt issuance costs, amortization period",
        "label": "Debt Issuance Costs Amortization Period",
        "documentation": "Debt issuance costs, amortization period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Fair Value",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, 12 Months or Longer",
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset."
       }
      }
     },
     "auth_ref": [
      "r169",
      "r465",
      "r1292"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Unrealized Losses",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset."
       }
      }
     },
     "auth_ref": [
      "r169",
      "r465"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Less than 12 Months, Fair Value",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, Less than 12 Months",
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset."
       }
      }
     },
     "auth_ref": [
      "r169",
      "r465",
      "r1292"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Less than 12 Months, Unrealized Losses",
        "label": "Debt Securities, Available-for-Sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset."
       }
      }
     },
     "auth_ref": [
      "r169",
      "r465"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedGain": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesAvailableForSaleRealizedGain",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfProceedsFromSalesAndCallsOfSecuritiesAvailableforsaleAndAssociatedGainsAndLossesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross gains",
        "label": "Debt Securities, Available-for-Sale, Realized Gain",
        "documentation": "Amount of realized gain on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r428"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesAvailableForSaleRealizedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfProceedsFromSalesAndCallsOfSecuritiesAvailableforsaleAndAssociatedGainsAndLossesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross losses",
        "label": "Debt Securities, Available-for-Sale, Realized Loss",
        "documentation": "Amount of realized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r428"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesAvailableForSaleTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-Sale [Table]",
        "documentation": "Disclosure of information about investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Total Fair Value",
        "label": "Debt Securities, Available-for-Sale, Unrealized Loss Position",
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss."
       }
      }
     },
     "auth_ref": [
      "r166",
      "r462",
      "r1292"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTotalLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Total Unrealized Losses",
        "label": "Debt Securities, Available-for-Sale, Unrealized Loss Position, Accumulated Loss",
        "totalLabel": "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss, Total",
        "negatedLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Total Unrealized Losses",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset."
       }
      }
     },
     "auth_ref": [
      "r167",
      "r463"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Number of Securities",
        "label": "Debt Securities, Available-for-Sale, Unrealized Loss Position, Number of Positions",
        "documentation": "Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset."
       }
      }
     },
     "auth_ref": [
      "r168",
      "r464"
     ]
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredFinanceCostsNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt issuance costs",
        "label": "Debt Issuance Costs, Net",
        "totalLabel": "Debt Issuance Costs, Net, Total",
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs."
       }
      }
     },
     "auth_ref": [
      "r1679",
      "r1779",
      "r1780",
      "r1782"
     ]
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredIncomeTaxAssetsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Deferred Income Tax Assets, Net, Total",
        "terseLabel": "Deferred tax assets, net",
        "label": "Deferred Income Tax Assets, Net",
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting."
       }
      }
     },
     "auth_ref": [
      "r632",
      "r633"
     ]
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 30.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Income Tax Expense (Benefit)",
        "totalLabel": "Deferred Income Tax Expense (Benefit), Total",
        "terseLabel": "Deferred tax provision (benefit)",
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r178",
      "r1585",
      "r1591"
     ]
    },
    "us-gaap_DepositLiabilitiesDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DepositLiabilitiesDisclosuresTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDeposits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposit Liabilities Disclosures [Text Block]",
        "terseLabel": "Deposits",
        "documentation": "The entire disclosure for deposit liabilities including data and tables. It may include a description of the entity's deposit liabilities, the aggregate amount of time deposits (including certificates of deposit) in denominations of $100,000 or more at the balance sheet date; the aggregate amount of any demand deposits that have been reclassified as loan balances, such as overdrafts, at the balance sheet date; deposits that are received on terms other than those in the normal course of business, the amount of accrued interest on deposit liabilities; securities, mortgage loans or other financial instruments that serve as collateral for deposits; for time deposits having a remaining term of more than one year, the aggregate amount of maturities for each of the five years following the balance sheet date; and the weighted average interest rate for all deposit liabilities held by the entity."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r114",
      "r191",
      "r192"
     ]
    },
    "us-gaap_DepositLiabilitiesReclassifiedAsLoansReceivable1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DepositLiabilitiesReclassifiedAsLoansReceivable1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Overdraft deposits reclassified as loans",
        "label": "Deposit Liabilities Reclassified as Loans Receivable",
        "documentation": "Amount of deposits held by the entity that have been reclassified as loan balances receivable, for example, but not limited to, overdrafts receivable."
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "us-gaap_Deposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Deposits",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total deposits",
        "label": "Deposits",
        "documentation": "The aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits among others."
       }
      }
     },
     "auth_ref": [
      "r114"
     ]
    },
    "us-gaap_DepositsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DepositsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposits [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_DepositsAndOtherBorrowingsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DepositsAndOtherBorrowingsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deposits and other borrowings.",
        "label": "Deposits and Other Borrowings [Member]",
        "terseLabel": "Deposits And Other Borrowings"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DepreciationAmortizationAndAccretionNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DepreciationAmortizationAndAccretionNet",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Depreciation, Amortization and Accretion, Net, Total",
        "terseLabel": "Depreciation and amortization of premises and equipment",
        "label": "Depreciation, Amortization and Accretion, Net",
        "documentation": "The aggregate net amount of depreciation, amortization, and accretion recognized during an accounting period. As a noncash item, the net amount is added back to net income when calculating cash provided by or used in operations using the indirect method."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "us-gaap_DepreciationAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DepreciationAndAmortization",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Depreciation and amortization",
        "label": "Depreciation, Depletion and Amortization, Nonproduction",
        "totalLabel": "Depreciation, Depletion and Amortization, Nonproduction, Total",
        "documentation": "The current period expense charged against earnings on long-lived, physical assets not used in production, and which are not intended for resale, to allocate or recognize the cost of such assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset; or to reflect consumption during the period of an asset that is not used in production."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r46"
     ]
    },
    "us-gaap_DerivativeAssetFairValueGrossLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssetFairValueGrossLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Less: Amounts offset in the Consolidated Statements of Financial Condition",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, Liability Offset",
        "documentation": "Fair value of liability associated with 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."
       }
      }
     },
     "auth_ref": [
      "r258",
      "r804",
      "r1178",
      "r1179"
     ]
    },
    "us-gaap_DerivativeAssetFairValueNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssetFairValueNetAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Asset, Subject to Master Netting Arrangement, before Offset of Collateral [Abstract]",
        "terseLabel": "Gross amounts not offset in the Consolidated Statements of Financial Condition"
       }
      }
     },
     "auth_ref": []
    },
    "by_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection1",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Asset Fair Value Offset Against Collateral Net of Not Subject to Master Netting Arrangement Policy Election 1",
        "documentation": "Derivative asset fair value offset against collateral net of not subject to master netting arrangement policy election 1",
        "totalLabel": "Net credit exposure"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssetNotOffsetPolicyElectionDeduction",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": "by_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection1",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Asset, Subject to Master Netting Arrangement, Deduction of Financial Instrument Not Offset",
        "negatedLabel": "Collateral posted",
        "documentation": "Fair value 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, subject to master netting arrangement or similar agreement and not elected or qualified to offset, deducted from derivative asset."
       }
      }
     },
     "auth_ref": [
      "r177",
      "r260",
      "r1238",
      "r1240",
      "r1241"
     ]
    },
    "us-gaap_DerivativeAssetStatementOfFinancialPositionExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssetStatementOfFinancialPositionExtensibleEnumeration",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Asset, Statement of Financial Position [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of financial position that includes derivative asset."
       }
      }
     },
     "auth_ref": [
      "r1535"
     ]
    },
    "us-gaap_DerivativeAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": "by_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection1",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net amount presented in the Consolidated Statements of Financial Condition",
        "terseLabel": "Derivative assets",
        "label": "Derivative Asset",
        "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."
       }
      }
     },
     "auth_ref": [
      "r259",
      "r262",
      "r804",
      "r838",
      "r839",
      "r853",
      "r867",
      "r869",
      "r870",
      "r1059",
      "r1060",
      "r1061",
      "r1063",
      "r1064",
      "r1065",
      "r1066",
      "r1067",
      "r1069",
      "r1070",
      "r1086",
      "r1087",
      "r1173",
      "r1176",
      "r1177",
      "r1178",
      "r1180",
      "r1181",
      "r1233",
      "r1238",
      "r1240",
      "r1241",
      "r1242",
      "r1367",
      "r1372",
      "r1379",
      "r1398",
      "r1760",
      "r1761",
      "r1762",
      "r1840"
     ]
    },
    "us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssetsLiabilitiesAtFairValueNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value of derivative assets and liabilities",
        "label": "Derivative Assets (Liabilities), at Fair Value, Net",
        "totalLabel": "Derivative Assets (Liabilities), at Fair Value, Net, Total",
        "documentation": "Fair values as of the balance sheet date of the net amount of all assets and liabilities resulting from contracts that meet the criteria of being accounted for as derivative instruments."
       }
      }
     },
     "auth_ref": [
      "r1760",
      "r1761",
      "r1762"
     ]
    },
    "us-gaap_DerivativeAverageRemainingMaturity1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAverageRemainingMaturity1",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfFairValueHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative, Average Remaining Maturity",
        "terseLabel": "Weighted average remaining maturity",
        "documentation": "Average remaining period until maturity of the derivative contract, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeCollateralObligationToReturnSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeCollateralObligationToReturnSecurities",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": "by_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection1",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Asset, Subject to Master Netting Arrangement, Collateral, Obligation to Return Security Not Offset",
        "negatedLabel": "Offsetting derivative positions",
        "documentation": "Amount of obligation to return securities collateral under master netting arrangements that have not been offset against derivative assets."
       }
      }
     },
     "auth_ref": [
      "r261",
      "r263",
      "r804",
      "r1238"
     ]
    },
    "us-gaap_DerivativeCollateralRightToReclaimSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeCollateralRightToReclaimSecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": "by_DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Liability, Subject to Master Netting Arrangement, Collateral, Right to Reclaim Security Not Offset",
        "negatedLabel": "Offsetting derivative positions",
        "terseLabel": "Offsetting derivative positions",
        "documentation": "Amount of right to receive securities collateral under master netting arrangements that have not been offset against derivative liabilities."
       }
      }
     },
     "auth_ref": [
      "r261",
      "r263",
      "r804",
      "r1238"
     ]
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeContractTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative Contract",
        "label": "Derivative Contract [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r283",
      "r752",
      "r753",
      "r754",
      "r755",
      "r756",
      "r757",
      "r758",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768",
      "r769",
      "r770",
      "r771",
      "r772",
      "r773",
      "r774",
      "r775",
      "r1067",
      "r1070",
      "r1085",
      "r1086",
      "r1087",
      "r1089",
      "r1090",
      "r1091",
      "r1092",
      "r1094",
      "r1095",
      "r1096",
      "r1097",
      "r1107",
      "r1108",
      "r1109",
      "r1110",
      "r1113",
      "r1114",
      "r1115",
      "r1116",
      "r1173",
      "r1174",
      "r1177",
      "r1180",
      "r1238",
      "r1239",
      "r1242",
      "r1360",
      "r1362",
      "r1396",
      "r1398",
      "r1528",
      "r1529",
      "r1530",
      "r1531",
      "r1532",
      "r1533",
      "r1534",
      "r1535",
      "r1536",
      "r1749",
      "r1750",
      "r1751",
      "r1752",
      "r1763",
      "r1764",
      "r1765",
      "r1766",
      "r1767",
      "r1768",
      "r1770",
      "r1771"
     ]
    },
    "by_DerivativeEffectiveHedgesNotionalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DerivativeEffectiveHedgesNotionalAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Effective Hedges Notional Amount",
        "documentation": "Derivative effective hedges notional amount.",
        "terseLabel": "Effective Hedges Notional Amount"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfFairValueHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Assets",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, before Offset",
        "totalLabel": "Derivative Asset, Fair Value, Gross Asset, Total",
        "verboseLabel": "Derivative assets fair value",
        "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."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r257",
      "r804",
      "r1238",
      "r1240",
      "r1241",
      "r1242"
     ]
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfFairValueHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Derivative liabilities fair value",
        "negatedLabel": "Other Liabilities",
        "verboseLabel": "Derivative liabilities fair value",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, before Offset",
        "totalLabel": "Derivative Liability, Fair Value, Gross Liability, Total",
        "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."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r257",
      "r804",
      "r1238",
      "r1240",
      "r1241",
      "r1242"
     ]
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentRiskAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative Instrument",
        "label": "Derivative Instrument [Axis]",
        "documentation": "Information by type of derivative contract."
       }
      }
     },
     "auth_ref": [
      "r283",
      "r752",
      "r753",
      "r754",
      "r755",
      "r756",
      "r757",
      "r758",
      "r759",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r765",
      "r766",
      "r767",
      "r768",
      "r769",
      "r770",
      "r771",
      "r772",
      "r773",
      "r774",
      "r775",
      "r1067",
      "r1070",
      "r1085",
      "r1086",
      "r1087",
      "r1089",
      "r1090",
      "r1091",
      "r1092",
      "r1094",
      "r1095",
      "r1096",
      "r1097",
      "r1107",
      "r1108",
      "r1109",
      "r1110",
      "r1113",
      "r1114",
      "r1115",
      "r1116",
      "r1173",
      "r1174",
      "r1177",
      "r1180",
      "r1238",
      "r1239",
      "r1242",
      "r1360",
      "r1362",
      "r1396",
      "r1398",
      "r1528",
      "r1529",
      "r1530",
      "r1531",
      "r1532",
      "r1533",
      "r1534",
      "r1535",
      "r1536",
      "r1749",
      "r1750",
      "r1751",
      "r1752",
      "r1763",
      "r1764",
      "r1765",
      "r1766",
      "r1767",
      "r1768",
      "r1770",
      "r1771"
     ]
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative Instruments and Hedge Activities",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r741",
      "r742",
      "r743",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r750",
      "r751",
      "r785",
      "r786",
      "r787",
      "r789",
      "r790",
      "r792",
      "r793",
      "r794",
      "r795",
      "r797",
      "r799",
      "r800",
      "r803",
      "r806",
      "r823",
      "r1360",
      "r1362",
      "r1363",
      "r1364",
      "r1365"
     ]
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfFairValueHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hedging Relationship",
        "label": "Hedging Relationship [Axis]",
        "documentation": "Information by type of hedging relationship."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeInstrumentsGainLossReclassificationFromAccumulatedOCIToIncomeEstimatedNetAmountToBeTransferred": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentsGainLossReclassificationFromAccumulatedOCIToIncomeEstimatedNetAmountToBeTransferred",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amount of Net Gain Reclassified from AOCI to Income as an Increase to Net Interest Income",
        "label": "Derivative Instruments, Gain (Loss) Reclassification from Accumulated OCI to Income, Estimated Net Amount to be Transferred",
        "documentation": "The estimated value of gains (losses), net anticipated to be transferred in the future from accumulated other comprehensive income into earnings."
       }
      }
     },
     "auth_ref": [
      "r1754"
     ]
    },
    "us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amounts relating to derivative instruments, not designated in hedging relationship",
        "label": "Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net",
        "totalLabel": "Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net, Total",
        "documentation": "Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments."
       }
      }
     },
     "auth_ref": [
      "r283",
      "r766",
      "r1362"
     ]
    },
    "by_DerivativeInstrumentsTransactionFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DerivativeInstrumentsTransactionFees",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative instruments transaction fees",
        "label": "Derivative Instruments Transaction Fees",
        "documentation": "Derivative instruments transaction fees."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": "by_DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Liability",
        "negatedTotalLabel": "Net amount presented in the Consolidated Statements of Financial Condition",
        "terseLabel": "Derivative liabilities",
        "totalLabel": "Derivative Liability, Total",
        "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."
       }
      }
     },
     "auth_ref": [
      "r259",
      "r262",
      "r804",
      "r838",
      "r839",
      "r853",
      "r867",
      "r869",
      "r870",
      "r1059",
      "r1060",
      "r1061",
      "r1063",
      "r1065",
      "r1066",
      "r1067",
      "r1069",
      "r1070",
      "r1094",
      "r1096",
      "r1097",
      "r1174",
      "r1175",
      "r1176",
      "r1177",
      "r1178",
      "r1180",
      "r1181",
      "r1238",
      "r1240",
      "r1241",
      "r1242",
      "r1760",
      "r1761",
      "r1762",
      "r1840"
     ]
    },
    "us-gaap_DerivativeLiabilityFairValueGrossAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilityFairValueGrossAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Less: Amounts offset in the Consolidated Statements of Financial Condition",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, Asset Offset",
        "documentation": "Fair value of asset associated with 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."
       }
      }
     },
     "auth_ref": [
      "r258",
      "r804",
      "r1178",
      "r1179",
      "r1240",
      "r1241"
     ]
    },
    "us-gaap_DerivativeLiabilityFairValueNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilityFairValueNetAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross amounts not offset in the Consolidated Statements of Financial Condition",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, before Offset of Collateral [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net credit exposure",
        "label": "Derivative Liability Fair Value Offset Against Collateral Net Credit Exposure Of Not Subject To Master Netting Arrangement Policy Election",
        "documentation": "Derivative liability fair value offset against collateral net credit exposure of not subject to master netting arrangement policy election.",
        "negatedTotalLabel": "Net credit exposure"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilityNotOffsetPolicyElectionDeduction",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "parentTag": "by_DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Collateral posted",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, Deduction of Financial Instrument Not Offset",
        "documentation": "Fair value of financial liability or 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, subject to master netting arrangement or similar agreement and not elected or qualified to offset, deducted from derivative liability."
       }
      }
     },
     "auth_ref": [
      "r177",
      "r260",
      "r1238",
      "r1240",
      "r1241"
     ]
    },
    "us-gaap_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Liability, Statement of Financial Position [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of financial position that includes derivative liability."
       }
      }
     },
     "auth_ref": [
      "r1535"
     ]
    },
    "us-gaap_DerivativeLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfFairValueHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative [Line Items]",
        "label": "Derivative [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r823",
      "r1753"
     ]
    },
    "by_DerivativeMaturityDateStartYear": {
     "xbrltype": "gYearMonthItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DerivativeMaturityDateStartYear",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative maturity date, start year",
        "label": "Derivative Maturity Date Start Year",
        "documentation": "Derivative maturity date start year."
       }
      }
     },
     "auth_ref": []
    },
    "by_DerivativeMaturityDatesEndYear": {
     "xbrltype": "gYearMonthItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DerivativeMaturityDatesEndYear",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative maturity date, end year",
        "label": "Derivative Maturity Dates End Year",
        "documentation": "Derivative maturity dates end year."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeNetLiabilityPositionAggregateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeNetLiabilityPositionAggregateFairValue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value of derivatives net liability position",
        "label": "Derivative, Net Liability Position, Aggregate Fair Value",
        "documentation": "The aggregate fair value amounts of derivative instruments that contain credit-risk-related contingent features that are in a net liability position at the end of the reporting period. For nonderivative instruments that are designated and qualify as hedging instruments, the fair value amounts are the carrying value of the nonderivative hedging instrument, including the adjustment for the foreign currency transaction gain (loss) on that instrument."
       }
      }
     },
     "auth_ref": [
      "r788",
      "r1365"
     ]
    },
    "us-gaap_DerivativeNotionalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeNotionalAmount",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfFairValueHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Derivative notional amount",
        "terseLabel": "Notional Amount",
        "label": "Derivative, Notional Amount",
        "documentation": "Nominal or face amount used to calculate payment on derivative."
       }
      }
     },
     "auth_ref": [
      "r1360",
      "r1738",
      "r1739"
     ]
    },
    "us-gaap_DerivativeTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfFairValueHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative [Table]",
        "label": "Derivative [Table]",
        "documentation": "Disclosure of information about derivative instrument or group of derivative instruments, including, but not limited to, type of derivative instrument, risk being hedged, notional amount, hedge designation, related hedged item, inception date, and maturity date."
       }
      }
     },
     "auth_ref": [
      "r823",
      "r1753"
     ]
    },
    "by_DerivativeWeightedAveragePayRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DerivativeWeightedAveragePayRate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average pay rates",
        "label": "Derivative Weighted Average Pay Rate",
        "documentation": "Derivative weighted average pay rate."
       }
      }
     },
     "auth_ref": []
    },
    "by_DerivativeWeightedAverageReceiveRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DerivativeWeightedAverageReceiveRate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average receive rates",
        "label": "Derivative Weighted Average Receive Rate",
        "documentation": "Derivative weighted average receive rate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativesFairValueLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativesFairValueLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivatives Fair Value [Line Items]",
        "label": "Derivatives, Fair Value [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r752",
      "r755",
      "r756",
      "r757",
      "r758",
      "r1362"
     ]
    },
    "us-gaap_DesignatedAsHedgingInstrumentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DesignatedAsHedgingInstrumentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Derivatives Designated as Hedging Instruments",
        "terseLabel": "Designated as Hedging Instrument",
        "label": "Designated as Hedging Instrument [Member]",
        "documentation": "Derivative instrument designated as hedging instrument under Generally Accepted Accounting Principles (GAAP)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share-Based Compensation",
        "label": "Share-Based Payment Arrangement [Text Block]",
        "documentation": "The entire disclosure for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r586",
      "r591",
      "r620",
      "r621",
      "r623",
      "r1312"
     ]
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_DiscountOnTheUnguaranteedPortionOfGovernmentGuaranteedLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "DiscountOnTheUnguaranteedPortionOfGovernmentGuaranteedLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Discount on the unguaranteed portion of government guaranteed loans",
        "label": "Discount On The Unguaranteed Portion Of Government Guaranteed Loans",
        "documentation": "Discount on the unguaranteed portion of government guaranteed loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupClassificationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisposalGroupClassificationAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Disposal Group Classification",
        "label": "Disposal Group Classification [Axis]",
        "documentation": "Information by disposal group classification."
       }
      }
     },
     "auth_ref": [
      "r244"
     ]
    },
    "us-gaap_DisposalGroupClassificationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisposalGroupClassificationDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Disposal Group Classification",
        "label": "Disposal Group Classification [Domain]",
        "documentation": "Component or group of components disposed of, including but not limited to, disposal group held-for-sale or disposed of by sale, disposed of by means other than sale, and discontinued operations."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupHeldforsaleNotDiscontinuedOperationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisposalGroupHeldforsaleNotDiscontinuedOperationsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets Held For Sale",
        "label": "Disposal Group, Held-for-Sale, Not Discontinued Operations [Member]",
        "documentation": "Disposal group that is classified as held-for-sale. Excludes disposals classified as discontinued operations."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r18",
      "r244"
     ]
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendPayableDateToBePaidDayMonthAndYear",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividend payable date",
        "label": "Dividends Payable, Date to be Paid",
        "documentation": "Date the declared dividend will be paid, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "us-gaap_DividendsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends [Axis]",
        "documentation": "Information by event wherein earnings are distributed to shareholder."
       }
      }
     },
     "auth_ref": [
      "r1683",
      "r1685"
     ]
    },
    "us-gaap_DividendsCommonStockCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsCommonStockCash",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Cash dividends declared on common stock",
        "label": "Dividends, Common Stock, Cash",
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash."
       }
      }
     },
     "auth_ref": [
      "r105"
     ]
    },
    "us-gaap_DividendsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends [Domain]",
        "documentation": "Event wherein earnings are distributed to shareholder."
       }
      }
     },
     "auth_ref": [
      "r1683",
      "r1685"
     ]
    },
    "us-gaap_DividendsPayableAmountPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsPayableAmountPerShare",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash dividend declared",
        "verboseLabel": "Cash dividend declared",
        "label": "Dividends Payable, Amount Per Share",
        "documentation": "The per share amount of a dividend declared, but not paid, as of the financial reporting date."
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "us-gaap_DividendsPayableCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsPayableCurrentAndNoncurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends Payable",
        "terseLabel": "Dividends payable",
        "documentation": "Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding."
       }
      }
     },
     "auth_ref": [
      "r68",
      "r73",
      "r118",
      "r1409",
      "r1802"
     ]
    },
    "us-gaap_DividendsPayableDateOfRecordDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsPayableDateOfRecordDayMonthAndYear",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends record date",
        "label": "Dividends Payable, Date of Record",
        "documentation": "Date the holder must own the stock to be entitled to the dividend, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Fiscal Period Focus",
        "label": "Document Fiscal Period Focus",
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3. 1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Fiscal Year Focus",
        "label": "Document Fiscal Year Focus",
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Period End Date",
        "label": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period. The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentQuarterlyReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentQuarterlyReport",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Quarterly Report",
        "label": "Document Quarterly Report",
        "documentation": "Boolean flag that is true only for a form used as an quarterly report."
       }
      }
     },
     "auth_ref": [
      "r1416"
     ]
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Transition Report",
        "label": "Document Transition Report",
        "documentation": "Boolean flag that is true only for a form used as a transition report."
       }
      }
     },
     "auth_ref": [
      "r1448"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentType",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Type",
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year [Member]",
        "terseLabel": "Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year"
       }
      }
     },
     "auth_ref": [
      "r1459"
     ]
    },
    "by_EachAnniversaryDateOfGrantVestOverFourYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "EachAnniversaryDateOfGrantVestOverFourYearsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Each Anniversary of Grant Date Over Four Years",
        "label": "Each Anniversary Date Of Grant Vest Over Four Years [Member]",
        "documentation": "Each anniversary date of grant vest over four years."
       }
      }
     },
     "auth_ref": []
    },
    "by_EachAnniversaryDateOfGrantVestOverThreeYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "EachAnniversaryDateOfGrantVestOverThreeYearsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Each Anniversary of Grant Date Vest Over Three Years",
        "label": "Each Anniversary Date Of Grant Vest Over Three Years [Member]",
        "documentation": "Each anniversary date of grant vest over three years."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EARNINGS PER COMMON SHARE",
        "label": "Earnings Per Share [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basic",
        "totalLabel": "Earnings Per Share, Basic, Total",
        "verboseLabel": "Basic earnings per common share",
        "label": "Earnings Per Share, Basic",
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r241",
      "r282",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r332",
      "r334",
      "r340",
      "r341",
      "r342",
      "r346",
      "r533",
      "r626",
      "r663",
      "r735",
      "r835",
      "r836",
      "r979",
      "r1010",
      "r1253"
     ]
    },
    "us-gaap_EarningsPerShareBasicLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareBasicLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings Per Share Basic [Line Items]",
        "label": "Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r334",
      "r338",
      "r340",
      "r342"
     ]
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Diluted earnings per common share",
        "terseLabel": "Diluted",
        "label": "Earnings Per Share, Diluted",
        "totalLabel": "Earnings Per Share, Diluted, Total",
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r241",
      "r282",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r334",
      "r340",
      "r341",
      "r342",
      "r346",
      "r533",
      "r626",
      "r663",
      "r735",
      "r835",
      "r836",
      "r979",
      "r1010",
      "r1253"
     ]
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShare"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings per Share",
        "label": "Earnings Per Share [Text Block]",
        "documentation": "The entire disclosure for earnings per share."
       }
      }
     },
     "auth_ref": [
      "r331",
      "r343",
      "r344",
      "r345"
     ]
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Effective tax rate",
        "label": "Effective Income Tax Rate Reconciliation, Percent",
        "totalLabel": "Effective Income Tax Rate Reconciliation, Percent, Total",
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r635",
      "r1314"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]",
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r1717"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Unrecognized stock option compensation expenses",
        "terseLabel": "Unrecognized compensation expense",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "totalLabel": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total",
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r622"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted-average remaining amortization period",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r622"
     ]
    },
    "by_EmployeeServiceShareBasedCompensationTaxBenefitExpenseFromCompensationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitExpenseFromCompensationExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income tax benefit (expense)",
        "label": "Employee Service Share Based Compensation Tax Benefit Expense From Compensation Expense",
        "documentation": "Employee service share based compensation tax benefit expense from compensation expense."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income tax benefit",
        "label": "Share-Based Payment Arrangement, Expense, Tax Benefit",
        "documentation": "Amount of tax benefit for recognition of expense of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r619"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Exercise of Option, Tax Benefit",
        "terseLabel": "Tax benefit from exercise of stock options",
        "documentation": "Amount of tax benefit from exercise of option under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r176"
     ]
    },
    "us-gaap_EmployeeStockOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EmployeeStockOptionMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Stock Option [Member]",
        "terseLabel": "Employee Stock Option",
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time."
       }
      }
     },
     "auth_ref": [
      "r1691",
      "r1692",
      "r1693",
      "r1694",
      "r1695",
      "r1696",
      "r1697",
      "r1698",
      "r1699",
      "r1700",
      "r1701",
      "r1702",
      "r1703",
      "r1704",
      "r1705",
      "r1706",
      "r1707",
      "r1708",
      "r1709",
      "r1710",
      "r1711",
      "r1712",
      "r1713",
      "r1714",
      "r1715",
      "r1716"
     ]
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Address, Address Line One",
        "label": "Entity Address, Address Line One",
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine2": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressAddressLine2",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Address, Address Line Two",
        "label": "Entity Address, Address Line Two",
        "documentation": "Address Line 2 such as Street or Suite number"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCityOrTown": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressCityOrTown",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Address, City or Town",
        "label": "Entity Address, City or Town",
        "documentation": "Name of the City or Town"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressPostalZipCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressPostalZipCode",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Entity Address, Postal Zip Code",
        "label": "Entity Address, Postal Zip Code",
        "documentation": "Code for the postal or zip code"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressStateOrProvince": {
     "xbrltype": "stateOrProvinceItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressStateOrProvince",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Address, State or Province",
        "label": "Entity Address, State or Province",
        "documentation": "Name of the state or province."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Central Index Key",
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r1414"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Entity Common Stock, Shares Outstanding",
        "label": "Entity Common Stock, Shares Outstanding",
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCurrentReportingStatus": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCurrentReportingStatus",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Current Reporting Status",
        "label": "Entity Current Reporting Status",
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityEmergingGrowthCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityEmergingGrowthCompany",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Emerging Growth Company",
        "label": "Entity Emerging Growth Company",
        "documentation": "Indicate if registrant meets the emerging growth company criteria."
       }
      }
     },
     "auth_ref": [
      "r1414"
     ]
    },
    "dei_EntityExTransitionPeriod": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityExTransitionPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Ex Transition Period",
        "label": "Entity Ex Transition Period",
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards."
       }
      }
     },
     "auth_ref": [
      "r1499"
     ]
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity File Number",
        "label": "Securities Act File Number",
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityFilerCategory": {
     "xbrltype": "filerCategoryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityFilerCategory",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Filer Category",
        "label": "Entity Filer Category",
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure."
       }
      }
     },
     "auth_ref": [
      "r1414"
     ]
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Incorporation, State or Country Code",
        "label": "Entity Incorporation, State or Country Code",
        "documentation": "Two-character EDGAR code representing the state or country of incorporation."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInteractiveDataCurrent": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityInteractiveDataCurrent",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Interactive Data Current",
        "label": "Entity Interactive Data Current",
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files)."
       }
      }
     },
     "auth_ref": [
      "r1498"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r1414"
     ]
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Shell Company",
        "label": "Entity Shell Company",
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r1414"
     ]
    },
    "dei_EntitySmallBusiness": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntitySmallBusiness",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Small Business",
        "label": "Entity Small Business",
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC)."
       }
      }
     },
     "auth_ref": [
      "r1414"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number",
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS."
       }
      }
     },
     "auth_ref": [
      "r1414"
     ]
    },
    "ecd_EqtyAwrdsAdjFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsAdjFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Awards Adjustments, Footnote [Text Block]",
        "terseLabel": "Equity Awards Adjustments, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1453"
     ]
    },
    "ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Awards Adjustments, Excluding Value Reported in the Compensation Table [Member]",
        "terseLabel": "Equity Awards Adjustments, Excluding Value Reported in Compensation Table"
       }
      }
     },
     "auth_ref": [
      "r1494"
     ]
    },
    "ecd_EqtyAwrdsAdjsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsAdjsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Awards Adjustments [Member]",
        "terseLabel": "Equity Awards Adjustments"
       }
      }
     },
     "auth_ref": [
      "r1494"
     ]
    },
    "ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsInSummryCompstnTblForAplblYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table [Member]",
        "terseLabel": "Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table"
       }
      }
     },
     "auth_ref": [
      "r1494"
     ]
    },
    "us-gaap_EquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_EquityAndOtherSecuritiesAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "EquityAndOtherSecuritiesAtFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity and other securities, at fair value",
        "label": "Equity And Other Securities At Fair Value",
        "documentation": "Equity and other securities, at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityComponentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquityComponentDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Component",
        "label": "Equity Component [Domain]",
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r233",
      "r240",
      "r241",
      "r277",
      "r278",
      "r279",
      "r309",
      "r310",
      "r311",
      "r316",
      "r324",
      "r326",
      "r328",
      "r349",
      "r431",
      "r436",
      "r485",
      "r532",
      "r570",
      "r626",
      "r645",
      "r646",
      "r658",
      "r659",
      "r660",
      "r664",
      "r734",
      "r735",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r818",
      "r819",
      "r820",
      "r821",
      "r822",
      "r834",
      "r878",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r888",
      "r890",
      "r913",
      "r1006",
      "r1026",
      "r1027",
      "r1028",
      "r1046",
      "r1119"
     ]
    },
    "us-gaap_EquitySecuritiesFvNiRealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquitySecuritiesFvNiRealizedGainLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Change in fair value of equity securities, net",
        "label": "Equity Securities, FV-NI, Realized Gain (Loss)",
        "totalLabel": "Equity Securities, FV-NI, Realized Gain (Loss), Total",
        "documentation": "Amount of realized gain (loss) from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": [
      "r1011",
      "r1629"
     ]
    },
    "us-gaap_EquitySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquitySecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Securities",
        "label": "Equity Securities [Member]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r44",
      "r1383",
      "r1406",
      "r1407",
      "r1408",
      "r1847"
     ]
    },
    "ecd_EquityValuationAssumptionDifferenceFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EquityValuationAssumptionDifferenceFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Valuation Assumption Difference, Footnote [Text Block]",
        "terseLabel": "Equity Valuation Assumption Difference, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1463"
     ]
    },
    "ecd_ErrCompAnalysisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ErrCompAnalysisTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneous Compensation Analysis [Text Block]",
        "terseLabel": "Erroneous Compensation Analysis"
       }
      }
     },
     "auth_ref": [
      "r1421",
      "r1431",
      "r1441",
      "r1473"
     ]
    },
    "ecd_ErrCompRecoveryTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ErrCompRecoveryTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneously Awarded Compensation Recovery [Table]",
        "terseLabel": "Erroneously Awarded Compensation Recovery"
       }
      }
     },
     "auth_ref": [
      "r1418",
      "r1428",
      "r1438",
      "r1470"
     ]
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimate of Fair Value Measurement",
        "label": "Estimate of Fair Value Measurement [Member]",
        "documentation": "Measured as an estimate of fair value."
       }
      }
     },
     "auth_ref": [
      "r517",
      "r867",
      "r869",
      "r872",
      "r1233",
      "r1296",
      "r1297"
     ]
    },
    "ecd_ExecutiveCategoryAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ExecutiveCategoryAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Executive Category [Axis]",
        "terseLabel": "Executive Category:"
       }
      }
     },
     "auth_ref": [
      "r1469"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r838",
      "r839",
      "r853",
      "r1367"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis."
       }
      }
     },
     "auth_ref": [
      "r838",
      "r839",
      "r853",
      "r1367"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r840",
      "r841",
      "r842",
      "r1315",
      "r1322",
      "r1372"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Table]",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r840",
      "r841",
      "r842",
      "r1315",
      "r1322",
      "r1372"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Assets Measured at Fair Value on Non-Recurring Basis, Excluding Acquired Impaired Loans",
        "label": "Fair Value Measurements, Nonrecurring [Table Text Block]",
        "documentation": "Tabular disclosure of assets and liabilities by class, including financial instruments measured at fair value that are classified in shareholders' equity, if any, that are measured at fair value on a nonrecurring basis in periods after initial recognition (for example, impaired assets). Disclosures may include, but are not limited to: (a) the fair value measurements recorded and the reasons for the measurements and (b) the level within the fair value hierarchy in which the fair value measurements are categorized in their entirety (levels 1, 2, 3)."
       }
      }
     },
     "auth_ref": [
      "r1758",
      "r1759"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Class",
        "label": "Asset Class [Domain]",
        "documentation": "Class of asset."
       }
      }
     },
     "auth_ref": [
      "r843",
      "r844",
      "r845",
      "r846",
      "r847",
      "r848",
      "r854",
      "r1233",
      "r1370",
      "r1379"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Financial Assets Measured at Fair Value on Recurring Basis Using Significant Unobservable Inputs",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset."
       }
      }
     },
     "auth_ref": [
      "r843",
      "r848",
      "r854",
      "r1370"
     ]
    },
    "by_FairValueAssetsToOrFromLevelThreeTransfersAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FairValueAssetsToOrFromLevelThreeTransfersAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value, assets, to or from level 3 transfers, amount",
        "label": "Fair Value Assets To Or From Level Three Transfers Amount",
        "documentation": "Fair value assets to or from level three transfers amount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r867",
      "r869",
      "r870",
      "r1233",
      "r1379",
      "r1775"
     ]
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByAssetClassAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Class",
        "label": "Asset Class [Axis]",
        "documentation": "Information by class of asset."
       }
      }
     },
     "auth_ref": [
      "r843",
      "r844",
      "r845",
      "r846",
      "r847",
      "r848",
      "r854",
      "r1233",
      "r1370",
      "r1379"
     ]
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByBalanceSheetGroupingTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value By Balance Sheet Grouping [Table]",
        "label": "Fair Value, by Balance Sheet Grouping [Table]",
        "documentation": "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities."
       }
      }
     },
     "auth_ref": [
      "r867",
      "r870",
      "r1233",
      "r1379",
      "r1774",
      "r1775"
     ]
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Estimated Fair Values of Financial Instruments",
        "label": "Fair Value, by Balance Sheet Grouping [Table Text Block]",
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities."
       }
      }
     },
     "auth_ref": [
      "r868",
      "r871",
      "r1233",
      "r1379",
      "r1775"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Hierarchy and NAV",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient."
       }
      }
     },
     "auth_ref": [
      "r517",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r837",
      "r839",
      "r840",
      "r841",
      "r842",
      "r851",
      "r853",
      "r855",
      "r867",
      "r921",
      "r922",
      "r923",
      "r1233",
      "r1296",
      "r1297",
      "r1304",
      "r1305",
      "r1306",
      "r1307",
      "r1308",
      "r1367",
      "r1372",
      "r1379"
     ]
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByLiabilityClassAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liability Class [Axis]",
        "documentation": "Information by class of liability."
       }
      }
     },
     "auth_ref": [
      "r843",
      "r844",
      "r845",
      "r846",
      "r847",
      "r848",
      "r854"
     ]
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByMeasurementBasisAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Basis",
        "label": "Measurement Basis [Axis]",
        "documentation": "Information by measurement basis."
       }
      }
     },
     "auth_ref": [
      "r517",
      "r867",
      "r869",
      "r870",
      "r872",
      "r874",
      "r875",
      "r1233",
      "r1296",
      "r1297",
      "r1775"
     ]
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByMeasurementFrequencyAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Frequency",
        "label": "Measurement Frequency [Axis]",
        "documentation": "Information by measurement frequency."
       }
      }
     },
     "auth_ref": [
      "r838",
      "r839",
      "r840",
      "r842",
      "r1367",
      "r1761",
      "r1772"
     ]
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueDisclosureItemAmountsDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Measurement",
        "label": "Fair Value Measurement [Domain]",
        "documentation": "Measurement basis, for example, but not limited to, reported value, fair value, portion at fair value, portion at other than fair value."
       }
      }
     },
     "auth_ref": [
      "r517",
      "r1296",
      "r1297"
     ]
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueDisclosuresAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueDisclosuresTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Measurement",
        "label": "Fair Value Disclosures [Text Block]",
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information."
       }
      }
     },
     "auth_ref": [
      "r840",
      "r847",
      "r849",
      "r850",
      "r851",
      "r855",
      "r856",
      "r857",
      "r858",
      "r859",
      "r971",
      "r1367",
      "r1373"
     ]
    },
    "by_FairValueEquityToOrFromLevelThreeTransfersAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FairValueEquityToOrFromLevelThreeTransfersAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value, equity, to or from level 3 transfers, amount",
        "label": "Fair Value Equity To Or From Level Three Transfers Amount",
        "documentation": "Fair value equity to or from level three transfers amount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueHedgingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueHedgingMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfFairValueHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hedging [Member]",
        "terseLabel": "Fair Value Hedges",
        "documentation": "A hedge of the exposure to changes in the fair value of a recognized asset or liability, or of an unrecognized firm commitment, that are attributable to a particular risk."
       }
      }
     },
     "auth_ref": []
    },
    "by_FairValueInputExpectedWeightedAverageLoanLifeWeightedAverageRangeAssumptionsExpectedTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FairValueInputExpectedWeightedAverageLoanLifeWeightedAverageRangeAssumptionsExpectedTerm",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Expected weighted average loan life",
        "label": "Fair Value Input Expected Weighted Average Loan Life Weighted Average Range Assumptions Expected Term",
        "documentation": "Fair value input expected weighted average loan life weighted average range assumptions expected term."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Level 1",
        "terseLabel": "Level 1",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date."
       }
      }
     },
     "auth_ref": [
      "r517",
      "r575",
      "r580",
      "r581",
      "r839",
      "r853",
      "r867",
      "r921",
      "r1233",
      "r1304",
      "r1305",
      "r1306",
      "r1307",
      "r1308",
      "r1367",
      "r1379"
     ]
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 2",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets."
       }
      }
     },
     "auth_ref": [
      "r517",
      "r575",
      "r580",
      "r581",
      "r583",
      "r839",
      "r840",
      "r853",
      "r867",
      "r922",
      "r1233",
      "r1296",
      "r1297",
      "r1304",
      "r1305",
      "r1306",
      "r1307",
      "r1308",
      "r1367",
      "r1379"
     ]
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 3",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r517",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r839",
      "r840",
      "r841",
      "r842",
      "r853",
      "r867",
      "r923",
      "r1233",
      "r1296",
      "r1297",
      "r1304",
      "r1305",
      "r1306",
      "r1307",
      "r1308",
      "r1367",
      "r1372",
      "r1379"
     ]
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value by Liability Class [Domain]",
        "documentation": "Represents classes of liabilities measured and disclosed at fair value."
       }
      }
     },
     "auth_ref": [
      "r843",
      "r844",
      "r845",
      "r846",
      "r847",
      "r848",
      "r854"
     ]
    },
    "by_FairValueLiabilitiesToOrFromLevelThreeTransfersAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FairValueLiabilitiesToOrFromLevelThreeTransfersAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value, liabilities, to or from level 3 transfers, amount",
        "label": "Fair Value Liabilities To Or From Level Three Transfers Amount",
        "documentation": "Fair value liabilities to or from level three transfers amount."
       }
      }
     },
     "auth_ref": []
    },
    "by_FairValueMeasurementChangeInValuationOfInputValueDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FairValueMeasurementChangeInValuationOfInputValueDescription",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Impact to Valuation from an Increased or Higher Input Value",
        "label": "Fair Value Measurement Change In Valuation Of Input Value Description",
        "documentation": "Fair value measurement change in valuation of input value description."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementFrequencyDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Frequency",
        "label": "Measurement Frequency [Domain]",
        "documentation": "Measurement frequency."
       }
      }
     },
     "auth_ref": [
      "r838",
      "r839",
      "r840",
      "r842",
      "r1367",
      "r1761",
      "r1772"
     ]
    },
    "by_FairValueMeasurementWithUnobservableInputsReconciliationRecurringAccretionOfDiscount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringAccretionOfDiscount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accretion of discount",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Accretion Of Discount",
        "documentation": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Accretion Of Discount"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Change in fair value",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings",
        "documentation": "Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3)."
       }
      }
     },
     "auth_ref": [
      "r844",
      "r854",
      "r1370",
      "r1371"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additions, net",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases",
        "documentation": "Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r846",
      "r852",
      "r854",
      "r1370"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maturity",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Settlements",
        "documentation": "Amount of settlement of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r846",
      "r854",
      "r1370"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Balance, beginning of period",
        "periodEndLabel": "Balance, end of period",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r843",
      "r854",
      "r1370"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements",
        "terseLabel": "Redeemed securities",
        "documentation": "Amount of settlements of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r846",
      "r854"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Hierarchy and NAV",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value."
       }
      }
     },
     "auth_ref": [
      "r517",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r837",
      "r839",
      "r840",
      "r841",
      "r842",
      "r851",
      "r853",
      "r855",
      "r867",
      "r921",
      "r922",
      "r923",
      "r1233",
      "r1296",
      "r1297",
      "r1304",
      "r1305",
      "r1306",
      "r1307",
      "r1308",
      "r1367",
      "r1372",
      "r1379"
     ]
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsRecurringMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value, Measurements, Recurring",
        "label": "Fair Value, Recurring [Member]",
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value."
       }
      }
     },
     "auth_ref": [
      "r1367",
      "r1758",
      "r1759",
      "r1760",
      "r1761",
      "r1762",
      "r1772"
     ]
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Unobservable Inputs Used in the Fair Value Measurements on Recurring Basis",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "documentation": "Tabular disclosure of financial instrument classified as a derivative asset (liability) after deduction of derivative liability (asset) using recurring unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r843",
      "r848",
      "r854"
     ]
    },
    "us-gaap_FairValueOfAssetsAcquired": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOfAssetsAcquired",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total assets acquired from acquisition",
        "label": "Fair Value of Assets Acquired",
        "documentation": "The fair value of assets acquired in noncash investing or financing activities."
       }
      }
     },
     "auth_ref": [
      "r38",
      "r39",
      "r40"
     ]
    },
    "by_FairValueOfUnvestedRestrictedStockAwards": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FairValueOfUnvestedRestrictedStockAwards",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value of unvested restricted stock awards",
        "label": "Fair Value Of Unvested Restricted Stock Awards",
        "documentation": "Fair value of unvested restricted stock awards."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of income or comprehensive income that includes gain (loss) from asset measured at fair value using unobservable input (level 3)."
       }
      }
     },
     "auth_ref": [
      "r844",
      "r854"
     ]
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]",
        "terseLabel": "Fair Values Derivatives Balance Sheet Location By Derivative Contract Type By Hedging Designation [Table]",
        "documentation": "Disclosure of information about location and fair value of derivative instrument and nonderivative instrument designated as hedging instrument."
       }
      }
     },
     "auth_ref": [
      "r752",
      "r755",
      "r756",
      "r757",
      "r758",
      "r1362"
     ]
    },
    "us-gaap_FederalFundsPurchased": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FederalFundsPurchased",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Funds Purchased",
        "terseLabel": "Federal funds purchased",
        "documentation": "Amount of short term borrowing where a bank borrows, at the federal funds rate, from another bank."
       }
      }
     },
     "auth_ref": [
      "r115"
     ]
    },
    "us-gaap_FederalHomeLoanBankAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FederalHomeLoanBankAdvances",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal Home Loan Bank Variable Rate Advances",
        "label": "Federal Home Loan Bank, Advance",
        "totalLabel": "Federal Home Loan Bank Advances, Total",
        "documentation": "Amount of Federal Home Loan Bank (FHLBank) advances to member financial institutions."
       }
      }
     },
     "auth_ref": []
    },
    "by_FederalHomeLoanBankAdvancesFixedInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FederalHomeLoanBankAdvancesFixedInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal home loan bank advances, Fixed interest rate",
        "label": "Federal Home Loan Bank Advances Fixed Interest Rate",
        "documentation": "Fixed interest rate of advances made and reported by Federal Home Loan Bank (FHLBank)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FederalHomeLoanBankAdvancesInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FederalHomeLoanBankAdvancesInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal Home Loan Bank, Advances, Interest Rate",
        "label": "Federal Home Loan Bank, Advances, Interest Rate",
        "documentation": "Interest rate of advances made and reported by Federal Home Loan Bank (FHLBank)."
       }
      }
     },
     "auth_ref": []
    },
    "by_FederalHomeLoanBankAdvancesMaximumBorrowingCapacityAsPercentageOfAssets": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FederalHomeLoanBankAdvancesMaximumBorrowingCapacityAsPercentageOfAssets",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal home loan bank advances maximum borrowing capacity as percentage of total assets",
        "label": "Federal Home Loan Bank Advances Maximum Borrowing Capacity As Percentage Of Assets",
        "documentation": "Federal home loan bank advances maximum borrowing capacity as percentage of total assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FederalHomeLoanBankAdvancesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FederalHomeLoanBankAdvancesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Federal Home Loan Bank Line",
        "terseLabel": "Federal Home Loan Bank Advances",
        "label": "Federal Home Loan Bank Advances [Member]",
        "documentation": "Borrowings from the Federal Home Loan Bank, which are primarily used to cover shortages in the required reserve balance and also in times of liquidity shortages. The member institution executes a promissory note, which is generally collateralized by government securities to the Federal Reserve or loans."
       }
      }
     },
     "auth_ref": [
      "r116"
     ]
    },
    "by_FederalHomeLoanBankAdvancesVariableInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FederalHomeLoanBankAdvancesVariableInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal home loan bank advances, Variable interest rate",
        "label": "Federal Home Loan Bank Advances Variable Interest Rate",
        "documentation": "Federal home loan bank advances variable interest rate."
       }
      }
     },
     "auth_ref": []
    },
    "by_FederalHomeLoanBankFixedRateAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FederalHomeLoanBankFixedRateAdvances",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal Home Loan Bank fixed rate advances",
        "label": "Federal Home Loan Bank Fixed Rate Advances",
        "documentation": "Federal home loan bank fixed rate advances."
       }
      }
     },
     "auth_ref": []
    },
    "by_FederalHomeLoanBankVariableRateAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FederalHomeLoanBankVariableRateAdvances",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Bank Variable Rate Advances",
        "documentation": "Federal home loan bank variable rate advances.",
        "terseLabel": "Federal Home Loan Bank variable rate advances"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FederalReserveBankAdvancesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FederalReserveBankAdvancesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Reserve Bank Advances [Member]",
        "terseLabel": "Federal Reserve Bank Advances",
        "documentation": "Borrowings from the Federal Reserve Bank, which are primarily used to cover shortages in the required reserve balance and also in times of liquidity shortages."
       }
      }
     },
     "auth_ref": [
      "r116"
     ]
    },
    "by_FederalReserveBankDiscountWindowBorrowing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FederalReserveBankDiscountWindowBorrowing",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal Reserve Bank discount window borrowing",
        "label": "Federal Reserve Bank Discount Window Borrowing",
        "documentation": "Federal Reserve Bank discount window borrowing."
       }
      }
     },
     "auth_ref": []
    },
    "by_FederalReserveBankDiscountWindowLineMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FederalReserveBankDiscountWindowLineMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal Reserve Bank of Chicago Discount Window Line",
        "label": "Federal Reserve Bank Discount Window Line [Member]",
        "documentation": "Federal reserve bank discount window line."
       }
      }
     },
     "auth_ref": []
    },
    "by_FederalReserveBankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FederalReserveBankMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal Reserve Bank.",
        "label": "Federal Reserve Bank [Member]",
        "terseLabel": "Federal Reserve Bank"
       }
      }
     },
     "auth_ref": []
    },
    "by_FederalReserveBankOfChicagoDiscountWindowLineMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FederalReserveBankOfChicagoDiscountWindowLineMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal Reserve Bank of Chicago Discount Window Line",
        "label": "Federal Reserve Bank Of Chicago Discount Window Line [Member]",
        "documentation": "Federal reserve bank of Chicago discount window line."
       }
      }
     },
     "auth_ref": []
    },
    "by_FeesAndServiceChargesOnDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FeesAndServiceChargesOnDeposits",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fees and service charges on deposits",
        "label": "Fees and Service Charges on Deposits",
        "documentation": "Fees and service charges on deposits."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "label": "Finance Leases Future Minimum Payments Receivable",
        "documentation": "Finance leases future minimum payments receivable."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInDueThereafter": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInDueThereafter",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Thereafter",
        "label": "Finance Leases Future Minimum Payments Receivable In Due Thereafter",
        "documentation": "Finance leases future minimum payments receivable in due thereafter."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInFourYears": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInFourYears",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finance Leases Future Minimum Payments Receivable In Four Years",
        "documentation": "Finance leases future minimum payments receivable in four years.",
        "terseLabel": "2030"
       }
      }
     },
     "auth_ref": []
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInNextTwelveMonths",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finance Leases Future Minimum Payments Receivable In Next Twelve Months",
        "documentation": "Finance leases future minimum payments receivable in next twelve months.",
        "terseLabel": "2027"
       }
      }
     },
     "auth_ref": []
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInThreeYears": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInThreeYears",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finance Leases Future Minimum Payments Receivable In Three Years",
        "documentation": "Finance leases future minimum payments receivable in three years.",
        "terseLabel": "2029"
       }
      }
     },
     "auth_ref": []
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInTwoYears": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInTwoYears",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finance Leases Future Minimum Payments Receivable In Two Years",
        "documentation": "Finance leases future minimum payments receivable in two years.",
        "terseLabel": "2028"
       }
      }
     },
     "auth_ref": []
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finance Leases Future Minimum Payments Receivable Remainder Of Fiscal Year",
        "documentation": "Finance leases future minimum payments receivable remainder of fiscal year.",
        "terseLabel": "Remainder of 2026"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinanceLeasesPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinanceLeasesPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Lease Financing Receivables",
        "label": "Finance Leases Portfolio Segment [Member]",
        "documentation": "Portfolio segment of the company's total financing receivables related to finance leases."
       }
      }
     },
     "auth_ref": [
      "r1633",
      "r1635",
      "r1636",
      "r1637",
      "r1638",
      "r1639",
      "r1640"
     ]
    },
    "by_FinancialAsset12MonthsOrLongerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinancialAsset12MonthsOrLongerMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "12 Months or Longer",
        "label": "Financial Asset, 12 Months or Longer [Member]",
        "documentation": "Financial asset, 12 months or longer."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialAssetAcquiredWithCreditDeteriorationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialAssetAcquiredWithCreditDeteriorationMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset Acquired with Credit Deterioration [Member]",
        "terseLabel": "Loans Acquired with Deteriorated Credit Quality",
        "documentation": "Financial asset acquired with deteriorated credit quality."
       }
      }
     },
     "auth_ref": [
      "r1647"
     ]
    },
    "by_FinancialAssetLessThan12MonthsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinancialAssetLessThan12MonthsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Less than 12 Months",
        "label": "Financial Asset, Less Than 12 Months [Member]",
        "documentation": "Financial asset, less than 12 months."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialAssetNotPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialAssetNotPastDueMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Not Past Due [Member]",
        "terseLabel": "Current",
        "documentation": "Financial asset not past due."
       }
      }
     },
     "auth_ref": [
      "r447",
      "r1291"
     ]
    },
    "us-gaap_FinancialAssetPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialAssetPastDueMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Past Due [Member]",
        "terseLabel": "Total Past Due",
        "documentation": "Financial asset past due."
       }
      }
     },
     "auth_ref": [
      "r159",
      "r447",
      "r1291"
     ]
    },
    "us-gaap_FinancialInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialInstrumentAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Instrument",
        "label": "Financial Instrument [Axis]",
        "documentation": "Information by type of financial instrument."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r439",
      "r440",
      "r447",
      "r448",
      "r456",
      "r461",
      "r466",
      "r467",
      "r525",
      "r567",
      "r805",
      "r823",
      "r860",
      "r873",
      "r876",
      "r918",
      "r919",
      "r920",
      "r921",
      "r922",
      "r923",
      "r925",
      "r926",
      "r927",
      "r931",
      "r932",
      "r933",
      "r934",
      "r937",
      "r940",
      "r949",
      "r950",
      "r951",
      "r952",
      "r955",
      "r956",
      "r957",
      "r958",
      "r959",
      "r960",
      "r961",
      "r962",
      "r964",
      "r965",
      "r966",
      "r994",
      "r1007",
      "r1292",
      "r1367",
      "r1370",
      "r1372",
      "r1373",
      "r1374",
      "r1375",
      "r1376",
      "r1377",
      "r1378",
      "r1383",
      "r1508",
      "r1509",
      "r1510",
      "r1511",
      "r1512",
      "r1513",
      "r1514",
      "r1625",
      "r1626",
      "r1627",
      "r1628",
      "r1757",
      "r1760",
      "r1761",
      "r1762",
      "r1769",
      "r1772",
      "r1773",
      "r1774"
     ]
    },
    "us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial assets",
        "label": "Financial Instruments, Financial Assets, Balance Sheet Groupings [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial liabilities",
        "label": "Financial Instruments, Financial Liabilities, Balance Sheet Groupings [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Accrued Interest, after Allowance for Credit Loss",
        "terseLabel": "Accrued interest on loans and leases",
        "documentation": "Amount, after allowance for credit loss, of accrued interest on financing receivable."
       }
      }
     },
     "auth_ref": [
      "r438",
      "r455"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossPurchasedWithCreditDeteriorationIncrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableAllowanceForCreditLossPurchasedWithCreditDeteriorationIncrease",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Allowance for Credit Loss, Purchased with Credit Deterioration, Increase",
        "terseLabel": "Adjustment for acquired PCD loans",
        "documentation": "Amount of increase in allowance for credit loss on financing receivable purchased with credit deterioration."
       }
      }
     },
     "auth_ref": [
      "r443"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableAllowanceForCreditLossesLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financing Receivable Allowance For Credit Losses [Line Items]",
        "label": "Financing Receivable, Allowance for Credit Loss [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r190",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Allowance for credit losses period increase decrease",
        "terseLabel": "Adjustment for acquired PCD loans",
        "label": "Financing Receivable, Allowance for Credit Loss, Period Increase (Decrease)",
        "totalLabel": "Financing Receivable, Allowance for Credit Loss, Period Increase (Decrease), Total",
        "documentation": "Amount of increase (decrease) in allowance for credit loss on financing receivable."
       }
      }
     },
     "auth_ref": [
      "r147",
      "r1634"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableAllowanceForCreditLossesRecovery",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recoveries",
        "label": "Financing Receivable, Allowance for Credit Loss, Recovery",
        "documentation": "Amount of increase in allowance for credit loss on financing receivable from recovery."
       }
      }
     },
     "auth_ref": [
      "r149",
      "r445",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableAllowanceForCreditLossesWriteOffs",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Charge-offs",
        "label": "Financing Receivable, Allowance for Credit Loss, Writeoff",
        "terseLabel": "Gross charge offs",
        "totalLabel": "Gross charge-offs",
        "documentation": "Amount of writeoff of financing receivable, charged against allowance for credit loss."
       }
      }
     },
     "auth_ref": [
      "r148",
      "r444",
      "r458",
      "r1290"
     ]
    },
    "by_FinancingReceivableAllowanceForLoansAndLossesCollectivelyEvaluatedForImpairment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinancingReceivableAllowanceForLoansAndLossesCollectivelyEvaluatedForImpairment",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Collectively evaluated for impairment",
        "label": "Financing Receivable Allowance For Loans And Losses Collectively Evaluated For Impairment",
        "documentation": "Financing receivable allowance for loans and losses collectively evaluated for impairment."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinancingReceivableAllowanceForLoansAndLossesIndividuallyEvaluatedForImpairment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinancingReceivableAllowanceForLoansAndLossesIndividuallyEvaluatedForImpairment",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Individually evaluated for impairment",
        "label": "Financing Receivable Allowance For Loans And Losses Individually Evaluated For Impairment",
        "documentation": "Financing receivable allowance for loans and losses individually evaluated for impairment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableBeforeAllowanceForCreditLossAndFee",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa4": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total loans",
        "label": "Financing Receivable, before Allowance for Credit Loss, Fee and Loan in Process",
        "terseLabel": "Total loans",
        "documentation": "Amortized cost, before allowance for credit loss, fee, and loan in process, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r457",
      "r1607",
      "r1799"
     ]
    },
    "by_FinancingReceivableCollateralDependentLoansAndLeases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinancingReceivableCollateralDependentLoansAndLeases",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Collateral dependent loans and leases",
        "label": "Financing Receivable Collateral Dependent Loans And Leases",
        "documentation": "Financing receivable collateral dependent loans and leases."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableCollectivelyEvaluatedForImpairment",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails1": {
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Collectively evaluated for impairment",
        "label": "Financing Receivable, Collectively Evaluated for Credit Loss",
        "documentation": "Amount of financing receivable collectively evaluated for credit loss. Excludes financing receivable individually evaluated for credit loss."
       }
      }
     },
     "auth_ref": [
      "r387",
      "r1269"
     ]
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Risk Rating Categories of Loans and Leases Considered for Inclusion in Allowance for Loan and Lease Losses Calculation",
        "label": "Financing Receivable Credit Quality Indicators [Table Text Block]",
        "documentation": "Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics."
       }
      }
     },
     "auth_ref": [
      "r1643"
     ]
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestPurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableExcludingAccruedInterestPurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa": {
       "parentTag": "us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Allowance for credit losses - loans and leases, at acquisition",
        "label": "Financing Receivable, Excluding Accrued Interest, Purchased with Credit Deterioration, Allowance for Credit Loss at Acquisition Date",
        "documentation": "Amount, excluding accrued interest, of allowance for credit loss at acquisition date of financing receivable purchased with credit deterioration. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r443",
      "r452"
     ]
    },
    "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableIndividuallyEvaluatedForImpairment",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails1": {
       "parentTag": "us-gaap_NotesReceivableGross",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Individually evaluated for impairment",
        "label": "Financing Receivable, Individually Evaluated for Credit Loss",
        "documentation": "Amount of financing receivable individually evaluated for credit loss. Excludes financing receivable collectively evaluated for credit loss."
       }
      }
     },
     "auth_ref": [
      "r388",
      "r1269"
     ]
    },
    "us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesPercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableModificationToTotalFinancingReceivablesPercent",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Modified in Period, to Total Financing Receivables, Percentage",
        "terseLabel": "% of Class of Loans and Leases",
        "documentation": "Percentage of financing receivable modified during period for debtor experiencing financial difficulty to total financing receivables."
       }
      }
     },
     "auth_ref": [
      "r391",
      "r1268"
     ]
    },
    "us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableModificationsPostModificationRecordedInvestment2",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Modified in Period, Amount",
        "terseLabel": "Total modified loans and leases",
        "documentation": "Amortized cost of financing receivable modified during period for debtor experiencing financial difficulty."
       }
      }
     },
     "auth_ref": [
      "r153",
      "r391",
      "r1268"
     ]
    },
    "us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Modified, Subsequent Default",
        "terseLabel": "Total troubled debt restructurings, prior to default",
        "documentation": "Amortized cost of financing receivable with payment default in current period and modified within previous 12 months preceding payment default for debtor experiencing financial difficulty."
       }
      }
     },
     "auth_ref": [
      "r155",
      "r394",
      "r1268"
     ]
    },
    "us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableModifiedWeightedAverageInterestRateDecreaseFromModification",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reduction in the contractual rate",
        "label": "Financing Receivable, Modified, Weighted Average Interest Rate Decrease from Modification",
        "documentation": "Percentage of decrease in weighted average contractual interest rate of financing receivable modified for debtor experiencing financial difficulty."
       }
      }
     },
     "auth_ref": [
      "r1268"
     ]
    },
    "us-gaap_FinancingReceivableNonaccrualNoAllowance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableNonaccrualNoAllowance",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Nonaccrual, No Allowance",
        "terseLabel": "Non-accrual loans without allowance",
        "documentation": "Amortized cost of financing receivable on nonaccrual status with no allowance for credit loss. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r450"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa4": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 6.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Originated, More than Five Years before Current Fiscal Year",
        "terseLabel": "Prior",
        "documentation": "Amortized cost of financing receivable originated more than five years prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "by_FinancingReceivableOriginatedFiveYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinancingReceivableOriginatedFiveYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa4": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 5.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable originated five years before latest fiscal year.",
        "label": "Financing Receivable Originated Five Years Before Latest Fiscal Year",
        "terseLabel": "2021"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa4": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Five, Originated, Four Years before Current Fiscal Year",
        "terseLabel": "2022",
        "documentation": "Amortized cost of financing receivable originated four years prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableOriginatedInCurrentFiscalYear",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa4": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year One, Originated, Current Fiscal Year",
        "terseLabel": "2026",
        "documentation": "Amortized cost of financing receivable originated in current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa4": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Two, Originated, Fiscal Year before Current Fiscal Year",
        "terseLabel": "2025",
        "documentation": "Amortized cost of financing receivable originated in fiscal year prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2": {
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Originated, More than Five Years before Current Fiscal Year, Writeoff",
        "terseLabel": "Gross charge offs, Prior",
        "documentation": "Amount of writeoff of financing receivable originated more than five years before current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa4": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Four, Originated, Three Years before Current Fiscal Year",
        "terseLabel": "2023",
        "documentation": "Amortized cost of financing receivable originated three years prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa4": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Three, Originated, Two Years before Current Fiscal Year",
        "terseLabel": "2024",
        "documentation": "Amortized cost of financing receivable originated two years prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivablePercentPastDue1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivablePercentPastDue1",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Percent Past Due",
        "terseLabel": "% of Class of Loans and Leases",
        "documentation": "Percentage of financing receivable balance that is past due."
       }
      }
     },
     "auth_ref": [
      "r1644"
     ]
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivablePortfolioSegmentAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financing Receivable Portfolio Segment",
        "label": "Financing Receivable Portfolio Segment [Axis]",
        "documentation": "Information by the level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses."
       }
      }
     },
     "auth_ref": [
      "r184",
      "r185",
      "r189",
      "r190",
      "r439",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r1270",
      "r1508",
      "r1509",
      "r1510",
      "r1511",
      "r1512",
      "r1513",
      "r1514",
      "r1516",
      "r1517",
      "r1518"
     ]
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financing Receivable Portfolio Segment",
        "label": "Financing Receivable Portfolio Segment [Domain]",
        "documentation": "Level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses."
       }
      }
     },
     "auth_ref": [
      "r184",
      "r185",
      "r189",
      "r190",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r1508",
      "r1509",
      "r1510",
      "r1511",
      "r1512",
      "r1513",
      "r1514",
      "r1516",
      "r1517",
      "r1518"
     ]
    },
    "us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAmountAtParValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivablePurchasedWithCreditDeteriorationAmountAtParValue",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa": {
       "parentTag": "us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Purchased with Credit Deterioration, Amount at Par Value",
        "totalLabel": "Par value of acquired PCD loans at acquisition",
        "terseLabel": "Par value of acquired PCD loans at acquisition",
        "documentation": "Amount at par value of financing receivable purchased with credit deterioration."
       }
      }
     },
     "auth_ref": [
      "r454"
     ]
    },
    "us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Purchased with Credit Deterioration, Amount at Purchase Price",
        "terseLabel": "Fair value of loans at acquisition",
        "totalLabel": "Fair value of loans at acquisition",
        "documentation": "Amount at purchase price of financing receivable purchased with credit deterioration."
       }
      }
     },
     "auth_ref": [
      "r451"
     ]
    },
    "us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationDiscountPremium": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivablePurchasedWithCreditDeteriorationDiscountPremium",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa": {
       "parentTag": "us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-credit discount/premium at acquisition",
        "label": "Financing Receivable, Purchased with Credit Deterioration, Discount (Premium)",
        "documentation": "Amount of discount (premium) attributable to other factors on financing receivable purchased with credit deterioration."
       }
      }
     },
     "auth_ref": [
      "r453"
     ]
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of Financing Receivable",
        "label": "Class of Financing Receivable [Axis]",
        "documentation": "Information by class of financing receivable determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk."
       }
      }
     },
     "auth_ref": [
      "r151",
      "r157",
      "r159",
      "r161",
      "r184",
      "r185",
      "r189",
      "r190",
      "r384",
      "r391",
      "r392",
      "r393",
      "r394",
      "r447",
      "r448",
      "r456",
      "r1268",
      "r1274",
      "r1275",
      "r1276",
      "r1277",
      "r1290",
      "r1291",
      "r1508",
      "r1509",
      "r1510",
      "r1511",
      "r1512",
      "r1513",
      "r1514",
      "r1516",
      "r1517",
      "r1518",
      "r1611"
     ]
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of Financing Receivable",
        "label": "Class of Financing Receivable [Domain]",
        "documentation": "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk."
       }
      }
     },
     "auth_ref": [
      "r161",
      "r184",
      "r185",
      "r189",
      "r190",
      "r384",
      "r391",
      "r392",
      "r393",
      "r394",
      "r1268",
      "r1274",
      "r1275",
      "r1276",
      "r1277",
      "r1508",
      "r1509",
      "r1510",
      "r1511",
      "r1512",
      "r1513",
      "r1514",
      "r1516",
      "r1517",
      "r1518",
      "r1611"
     ]
    },
    "us-gaap_FinancingReceivableRecordedInvestmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableRecordedInvestmentLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Credit Quality Indicator [Line Items]",
        "terseLabel": "Financing Receivable Recorded Investment [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r151",
      "r1271",
      "r1272",
      "r1273",
      "r1274",
      "r1275",
      "r1276",
      "r1277",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285",
      "r1286",
      "r1287",
      "r1288",
      "r1289",
      "r1290",
      "r1645",
      "r1647"
     ]
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableRecordedInvestmentNonaccrualStatus",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Nonaccrual",
        "terseLabel": "Non-Accrual",
        "documentation": "Amortized cost of financing receivable on nonaccrual status. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r158",
      "r187",
      "r188",
      "r449"
     ]
    },
    "us-gaap_FinancingReceivableRevolving": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableRevolving",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa4": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 7.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails": {
       "parentTag": "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Revolving",
        "terseLabel": "Revolving Loans",
        "documentation": "Amortized cost of financing receivable that can be withdrawn, repaid, and redrawn."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableRevolvingConvertedToTermLoan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableRevolvingConvertedToTermLoan",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Revolving, Converted to Term Loan",
        "terseLabel": "Term loans converted from revolving loans",
        "verboseLabel": "Financing Receivable, Revolving, Converted to Term Loan",
        "documentation": "Amortized cost of revolving financing receivable converted to term loan."
       }
      }
     },
     "auth_ref": [
      "r459",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableRevolvingWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableRevolvingWriteoff",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2": {
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Revolving, Writeoff",
        "terseLabel": "Gross charge offs, Revolving loans",
        "documentation": "Amount of writeoff of financing receivable that can be withdrawn, repaid, and redrawn."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableUnamortizedLoanFeeCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableUnamortizedLoanFeeCost",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmountCovered",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net unamortized deferred fees and costs",
        "terseLabel": "Net unamortized deferred fees and costs",
        "label": "Financing Receivable, Unamortized Loan Cost (Fee)",
        "documentation": "Amount of unamortized loan commitment, origination, and other costs (fees) on financing receivable recognized as adjustment to yield. Excludes financing receivable covered under loss sharing agreement."
       }
      }
     },
     "auth_ref": [
      "r390",
      "r1500",
      "r1612"
     ]
    },
    "us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2": {
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Five, Originated, Four Years before Current Fiscal Year, Writeoff",
        "terseLabel": "Gross charge offs, 2022",
        "documentation": "Amount of writeoff of financing receivable originated four years before current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2": {
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Four, Originated, Three Years before Current Fiscal Year, Writeoff",
        "terseLabel": "Gross charge offs, 2023",
        "documentation": "Amount of writeoff of financing receivable originated three years before current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2": {
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year One, Originated, Current Fiscal Year, Writeoff",
        "terseLabel": "Gross charge offs, 2026",
        "documentation": "Amount of writeoff of financing receivable originated in current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "by_FinancingReceivableYearSixOriginatedFiveYearsBeforeCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FinancingReceivableYearSixOriginatedFiveYearsBeforeCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2": {
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable year six originated five years before current fiscal year writeoff.",
        "label": "Financing Receivable Year Six Originated Five Years Before Current Fiscal Year Writeoff",
        "terseLabel": "Gross charge offs, 2021"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2": {
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Three, Originated, Two Years before Current Fiscal Year, Writeoff",
        "terseLabel": "Gross charge offs, 2024",
        "documentation": "Amount of writeoff of financing receivable originated two years before current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2": {
       "parentTag": "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Two, Originated, Fiscal Year before Current Fiscal Year, Writeoff",
        "terseLabel": "Gross charge offs, 2025",
        "documentation": "Amount of writeoff of financing receivable originated in fiscal year before current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r458",
      "r1290"
     ]
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivables30To59DaysPastDueMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, 30 to 59 Days Past Due [Member]",
        "terseLabel": "30-59 Days Past Due",
        "documentation": "Financial asset more than 29 days past due but fewer than 60 days past due."
       }
      }
     },
     "auth_ref": [
      "r1291"
     ]
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivables60To89DaysPastDueMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, 60 to 89 Days Past Due [Member]",
        "terseLabel": "60-89 Days Past Due",
        "documentation": "Financial asset more than 59 days past due but fewer than 90 days past due."
       }
      }
     },
     "auth_ref": [
      "r1291"
     ]
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Equal to or Greater than 90 Days Past Due [Member]",
        "terseLabel": "Greater than 90 Accruing",
        "documentation": "Financial asset equal to or greater than 90 days past due."
       }
      }
     },
     "auth_ref": [
      "r1291"
     ]
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Aging [Axis]",
        "documentation": "Information by period in which financial asset is past due or not past due."
       }
      }
     },
     "auth_ref": [
      "r159",
      "r447",
      "r1291"
     ]
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Aging [Domain]",
        "documentation": "Period in which financial asset is past due or not past due. For past due, element name and standard label in Financial Asset, [numeric lower end] to [numeric higher end] [date measure] Past Due [Member] or Financial Asset, Greater than [low end numeric value] [date measure] Past Due [Member] or Financial Asset, Less than [high end numeric value] [date measure] Past Due [Member] formats."
       }
      }
     },
     "auth_ref": [
      "r159",
      "r447",
      "r1291"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accumulated amortization",
        "label": "Finite-Lived Intangible Assets, Accumulated Amortization",
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life."
       }
      }
     },
     "auth_ref": [
      "r248",
      "r468",
      "r479",
      "r1235"
     ]
    },
    "by_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFour",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finite lived intangible assets amortization expense after year four.",
        "label": "Finite Lived Intangible Assets Amortization Expense After Year Four",
        "terseLabel": "Thereafter"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "2027",
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next 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)."
       }
      }
     },
     "auth_ref": [
      "r481",
      "r1232",
      "r1235"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Remainder of Fiscal Year",
        "terseLabel": "Remainder of 2026",
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in remainder of current fiscal year."
       }
      }
     },
     "auth_ref": [
      "r1849"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Four",
        "terseLabel": "2030",
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth 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)."
       }
      }
     },
     "auth_ref": [
      "r481",
      "r1232",
      "r1235"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Three",
        "terseLabel": "2029",
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in 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)."
       }
      }
     },
     "auth_ref": [
      "r481",
      "r1232",
      "r1235"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Two",
        "terseLabel": "2028",
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second 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)."
       }
      }
     },
     "auth_ref": [
      "r481",
      "r1232",
      "r1235"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Finite-Lived Intangible Assets by Major Class",
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]",
        "documentation": "Information by major type or class of finite-lived intangible assets."
       }
      }
     },
     "auth_ref": [
      "r472",
      "r474",
      "r475",
      "r476",
      "r478",
      "r479",
      "r482",
      "r483",
      "r969",
      "r970",
      "r1038",
      "r1232",
      "r1235",
      "r1328",
      "r1329",
      "r1330",
      "r1331",
      "r1332",
      "r1333",
      "r1334",
      "r1335",
      "r1336",
      "r1337",
      "r1338",
      "r1339",
      "r1340",
      "r1341",
      "r1342",
      "r1343",
      "r1344",
      "r1345",
      "r1346",
      "r1347",
      "r1348",
      "r1349",
      "r1350",
      "r1351",
      "r1352",
      "r1353",
      "r1354"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Finite-Lived Intangible Assets, Major Class Name",
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]",
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company."
       }
      }
     },
     "auth_ref": [
      "r472",
      "r474",
      "r475",
      "r476",
      "r478",
      "r479",
      "r482",
      "r483",
      "r1038",
      "r1232",
      "r1235",
      "r1328",
      "r1329",
      "r1330",
      "r1331",
      "r1332",
      "r1333",
      "r1334",
      "r1335",
      "r1336",
      "r1337",
      "r1338",
      "r1339",
      "r1340",
      "r1341",
      "r1342",
      "r1343",
      "r1344",
      "r1345",
      "r1346",
      "r1347",
      "r1348",
      "r1349",
      "r1350",
      "r1351",
      "r1352",
      "r1353",
      "r1354"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FiniteLivedIntangibleAssetsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets, Net",
        "totalLabel": "Total",
        "periodStartLabel": "Finite-Lived Intangible Assets, Net, Beginning Balance",
        "periodEndLabel": "Finite-Lived Intangible Assets, Net, Ending Balance",
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life."
       }
      }
     },
     "auth_ref": [
      "r969",
      "r1658"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average remaining amortization period",
        "label": "Finite-Lived Intangible Assets, Remaining Amortization Period",
        "documentation": "Remaining amortization period of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r969"
     ]
    },
    "us-gaap_FinitelivedIntangibleAssetsAcquired1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinitelivedIntangibleAssetsAcquired1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additions",
        "label": "Finite-Lived Intangible Assets Acquired",
        "documentation": "Amount of increase in assets, excluding financial assets, lacking physical substance with a definite life, from an acquisition."
       }
      }
     },
     "auth_ref": [
      "r474",
      "r1038"
     ]
    },
    "by_FirstAnniversaryOfGrantDateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FirstAnniversaryOfGrantDateMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "First Anniversary Of Grant Date",
        "label": "First Anniversary Of Grant Date [Member]",
        "documentation": "First anniversary of grant date."
       }
      }
     },
     "auth_ref": []
    },
    "by_FirstEvanstonBancorpIncStockIncentivePlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FirstEvanstonBancorpIncStockIncentivePlanMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FEB Plan",
        "label": "First Evanston Bancorp Inc Stock Incentive Plan [Member]",
        "documentation": "First Evanston Bancorp, Inc. stock incentive plan."
       }
      }
     },
     "auth_ref": []
    },
    "by_FirstEvanstonBancorpTrustOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FirstEvanstonBancorpTrustOneMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "First Evanston Bancorp Trust I",
        "label": "First Evanston Bancorp Trust One [Member]",
        "documentation": "First Evanston Bancorp Trust I."
       }
      }
     },
     "auth_ref": []
    },
    "by_FirstSecurityBancorpIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FirstSecurityBancorpIncMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfPreliminaryEstimatesOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParenth",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First security bancorp Inc.",
        "label": "First Security Bancorp Inc [Member]",
        "terseLabel": "First Security Bancorp, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "by_FixedInterestRateSwapMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FixedInterestRateSwapMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed interest rate swap.",
        "label": "Fixed Interest Rate Swap [Member]",
        "terseLabel": "Fixed Interest Rate Swap"
       }
      }
     },
     "auth_ref": []
    },
    "by_FixedInterestRateSwapOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FixedInterestRateSwapOneMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fixed Interest Rate Swap One [Member]",
        "documentation": "Fixed interest rate swap one.",
        "terseLabel": "Fixed Interest Rate Swaps Effective in May 2023"
       }
      }
     },
     "auth_ref": []
    },
    "by_FixedInterestRateSwapThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FixedInterestRateSwapThreeMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fixed Interest Rate Swaps Effective in March 2023",
        "label": "Fixed Interest Rate Swap Three [Member]",
        "documentation": "Fixed interest rate swap three."
       }
      }
     },
     "auth_ref": []
    },
    "by_FixedInterestRateSwapTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FixedInterestRateSwapTwoMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fixed Interest Rate Swap Two [Member]",
        "documentation": "Fixed interest rate swap two.",
        "terseLabel": "Fixed Interest Rate Swaps Effective in June 2023"
       }
      }
     },
     "auth_ref": []
    },
    "by_FixedInterestsRateSwapFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FixedInterestsRateSwapFiveMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fixed Interest Rate Swaps Effective in September 2023",
        "label": "Fixed Interests Rate Swap Five [Member]",
        "documentation": "Fixed Interests Rate Swap Five [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "by_FixedRateLoanCommitmentPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FixedRateLoanCommitmentPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments to make loans period",
        "label": "Fixed Rate Loan Commitment Period",
        "documentation": "Fixed rate loan commitment period."
       }
      }
     },
     "auth_ref": []
    },
    "by_FixedRateLoanCommitmentsMaturitiesEndingYear": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FixedRateLoanCommitmentsMaturitiesEndingYear",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fixed rate loan commitments maturity year",
        "label": "Fixed Rate Loan Commitments Maturities Ending Year",
        "documentation": "Fixed rate loan commitments maturities ending year."
       }
      }
     },
     "auth_ref": []
    },
    "by_FixedToFloatingSubordinateNotesMatureOnFifteenthAugustTwoThousandThirtyFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FixedToFloatingSubordinateNotesMatureOnFifteenthAugustTwoThousandThirtyFiveMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fixed-to-floating subordinated notes that mature on August 15, 2035",
        "label": "Fixed to Floating Subordinate Notes Mature on Fifteenth August Two Thousand Thirty Five [Member]",
        "documentation": "Fixed to floating subordinate notes mature on fifteenth august two thousand thirty five."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ForeclosedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ForeclosedAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0,
       "order": 5.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repossessed Assets",
        "totalLabel": "Repossessed Assets, Total",
        "verboseLabel": "Other real estate owned",
        "terseLabel": "Other real estate owned",
        "documentation": "Carrying amount as of the balance sheet date of all assets obtained in full or partial satisfaction of a debt arrangement through foreclosure proceedings or defeasance; includes real and personal property; equity interests in corporations, partnerships, and joint ventures; and beneficial interests in trusts."
       }
      }
     },
     "auth_ref": [
      "r385",
      "r386"
     ]
    },
    "ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Disqualification of Tax Benefits, Amount",
        "terseLabel": "Forgone Recovery due to Disqualification of Tax Benefits, Amount"
       }
      }
     },
     "auth_ref": [
      "r1425",
      "r1435",
      "r1445",
      "r1477"
     ]
    },
    "ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryDueToExpenseOfEnforcementAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Expense of Enforcement, Amount",
        "terseLabel": "Forgone Recovery due to Expense of Enforcement, Amount"
       }
      }
     },
     "auth_ref": [
      "r1425",
      "r1435",
      "r1445",
      "r1477"
     ]
    },
    "ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryDueToViolationOfHomeCountryLawAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Violation of Home Country Law, Amount",
        "terseLabel": "Forgone Recovery due to Violation of Home Country Law, Amount"
       }
      }
     },
     "auth_ref": [
      "r1425",
      "r1435",
      "r1445",
      "r1477"
     ]
    },
    "ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryExplanationOfImpracticabilityTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Explanation of Impracticability [Text Block]",
        "terseLabel": "Forgone Recovery, Explanation of Impracticability"
       }
      }
     },
     "auth_ref": [
      "r1425",
      "r1435",
      "r1445",
      "r1477"
     ]
    },
    "ecd_ForgoneRecoveryIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r1425",
      "r1435",
      "r1445",
      "r1477"
     ]
    },
    "by_ForwardStartingInterestRateSwapsDueAugust2024Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ForwardStartingInterestRateSwapsDueAugust2024Member",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forward-Starting Interest Rate Swaps Due August 2024",
        "label": "Forward-Starting Interest Rate Swaps Due August 2024 [Member]",
        "documentation": "Forward-starting interest rate swaps due August 2024."
       }
      }
     },
     "auth_ref": []
    },
    "by_ForwardStartingInterestRateSwapsDueMarch2024Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ForwardStartingInterestRateSwapsDueMarch2024Member",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forward-Starting Interest Rate Swaps Due March 2024",
        "label": "Forward-Starting Interest Rate Swaps Due March 2024 [Member]",
        "documentation": "Forward-starting interest rate swaps due March 2024."
       }
      }
     },
     "auth_ref": []
    },
    "by_FourthAmendmentRevolvingCreditAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "FourthAmendmentRevolvingCreditAgreementMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fourth Amendment Revolving Credit Agreement",
        "label": "Fourth Amendment Revolving Credit Agreement [Member]",
        "documentation": "Fourth amendment revolving credit agreement."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year [Member]",
        "terseLabel": "Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year"
       }
      }
     },
     "auth_ref": [
      "r1458"
     ]
    },
    "us-gaap_GainLossOnContractTermination": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnContractTermination",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net gain on termination of interest rate swap agreements",
        "label": "Gain (Loss) on Contract Termination",
        "documentation": "Gain (loss) related to the termination of a contract between the parties. The termination may be due to many causes including early termination of a lease by a lessee, a breach of contract by one party, or a failure to perform."
       }
      }
     },
     "auth_ref": [
      "r98"
     ]
    },
    "us-gaap_GainLossOnSaleOfInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnSaleOfInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (Loss) on Sale of Investments",
        "totalLabel": "Gain (Loss) on Sale of Investments, Total",
        "negatedLabel": "Net (gains) losses on sales and calls of securities available-for-sale",
        "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."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "us-gaap_GainLossOnSaleOfPropertyPlantEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnSaleOfPropertyPlantEquipment",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (Loss) on Disposition of Property Plant Equipment",
        "totalLabel": "Gain (Loss) on Disposition of Property Plant Equipment, Total",
        "negatedLabel": "Net (gains) losses on sales or disposals of premises and assets held for sale",
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "us-gaap_GainLossOnSalesOfLoansNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnSalesOfLoansNet",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 6.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 17.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net gains on sales of loans",
        "terseLabel": "Net gains on sales of loans",
        "label": "Gain (Loss) on Sales of Loans, Net",
        "totalLabel": "Gain (Loss) on Sales of Loans, Net, Total",
        "documentation": "The net gain (loss) resulting from a sale of loans, including adjustments to record loans classified as held-for-sale at the lower-of-cost-or-market and fair value adjustments to loan held for investment purposes."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r127"
     ]
    },
    "us-gaap_GainsLossesOnExtinguishmentOfDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainsLossesOnExtinguishmentOfDebt",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Loss on extinguishment of subordinated debt",
        "label": "Gain (Loss) on Extinguishment of Debt",
        "totalLabel": "Gain (Loss) on Extinguishment of Debt, Total",
        "documentation": "Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r48",
      "r49"
     ]
    },
    "us-gaap_GainsLossesOnSalesOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainsLossesOnSalesOfOtherRealEstate",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains (Losses) on Sales of Other Real Estate",
        "terseLabel": "Gains on sales of OREO",
        "documentation": "The net gain (loss) resulting from sales and other disposals of other real estate owned, increases (decreases) in the valuation allowance for foreclosed real estate, and write-downs of other real estate owned after acquisition or physical possession."
       }
      }
     },
     "auth_ref": [
      "r129"
     ]
    },
    "by_GainsLossesOnSalesOfOtherRealEstateAndOtherRelatedExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "GainsLossesOnSalesOfOtherRealEstateAndOtherRelatedExpenses",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains Losses On Sales Of Other Real Estate And Other Related Expenses",
        "documentation": "Gains (losses) on sales of other real estate and other related expenses.",
        "negatedLabel": "Net loss (gain) recognized on other real estate owned and other related expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Goodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Goodwill",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goodwill",
        "periodStartLabel": "Beginning balance, Goodwill",
        "periodEndLabel": "Ending balance, Goodwill",
        "label": "Goodwill",
        "totalLabel": "Goodwill, Total",
        "documentation": "Amount, after accumulated impairment loss, of asset representing future economic benefit arising from other asset acquired in business combination or from joint venture formation or both, that is not individually identified and separately recognized."
       }
      }
     },
     "auth_ref": [
      "r247",
      "r469",
      "r972",
      "r1262",
      "r1293",
      "r1315",
      "r1319",
      "r1320",
      "r1358",
      "r1368",
      "r1382",
      "r1650",
      "r1651",
      "r1737"
     ]
    },
    "us-gaap_GoodwillAcquiredDuringPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GoodwillAcquiredDuringPeriod",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additions",
        "label": "Goodwill, Acquired During Period",
        "documentation": "Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination."
       }
      }
     },
     "auth_ref": [
      "r470",
      "r722",
      "r725",
      "r729",
      "r1293"
     ]
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goodwill, Core Deposit Intangible and Other Intangible Assets",
        "label": "Goodwill and Intangible Assets Disclosure [Text Block]",
        "documentation": "The entire disclosure for goodwill and intangible assets."
       }
      }
     },
     "auth_ref": [
      "r1649",
      "r1652"
     ]
    },
    "us-gaap_HedgedAssetFairValueHedgeLastOfLayerCumulativeIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HedgedAssetFairValueHedgeLastOfLayerCumulativeIncreaseDecrease",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedged Asset, Fair Value Hedge, Portfolio Layer Method, Hedged Layer, Fair Value, Cumulative Increase (Decrease)",
        "terseLabel": "Cumulative basis adjustments",
        "documentation": "Amount of cumulative increase (decrease) in fair value of hedged asset in fair value hedge, attributable to hedged risk, in portfolio layer hedging relationship."
       }
      }
     },
     "auth_ref": [
      "r783",
      "r1361"
     ]
    },
    "us-gaap_HedgingDesignationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HedgingDesignationAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hedging Designation",
        "label": "Hedging Designation [Axis]",
        "documentation": "Information by designation of purpose of derivative instrument."
       }
      }
     },
     "auth_ref": [
      "r1741",
      "r1744"
     ]
    },
    "us-gaap_HedgingDesignationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HedgingDesignationDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedging Designation [Domain]",
        "terseLabel": "Hedging Designation",
        "documentation": "Designation of purpose of derivative instrument."
       }
      }
     },
     "auth_ref": [
      "r1741",
      "r1744"
     ]
    },
    "us-gaap_HedgingRelationshipDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HedgingRelationshipDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfFairValueHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hedging Relationship",
        "label": "Hedging Relationship [Domain]",
        "documentation": "Nature or intent of a hedge."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_HeldToMaturitySecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Held-to-maturity Securities, Amortized Cost",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss",
        "terseLabel": "Securities held-to-maturity, at amortized cost (fair value at December 31, 2024- $605)",
        "documentation": "Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity)."
       }
      }
     },
     "auth_ref": [
      "r159",
      "r411",
      "r447",
      "r865",
      "r1632"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails": {
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Held-to-maturity Securities, Gross Unrealized Gains",
        "label": "Debt Securities, Held-to-Maturity, Accumulated Unrecognized Gain",
        "documentation": "Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity)."
       }
      }
     },
     "auth_ref": [
      "r163",
      "r421"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails": {
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Held-to-maturity Securities, Gross Unrealized Losses",
        "label": "Debt Securities, Held-to-Maturity, Accumulated Unrecognized Loss",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity)."
       }
      }
     },
     "auth_ref": [
      "r164",
      "r422"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Held-to-Maturity, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
        "terseLabel": "Held to maturity securities continuous unrealized loss position 12 months or longer accumulated loss",
        "negatedLabel": "Held to maturity securities continuous unrealized loss position 12 months or longer accumulated loss",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for 12 months or longer."
       }
      }
     },
     "auth_ref": [
      "r167",
      "r169"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss, Total",
        "label": "Debt Securities, Held-to-Maturity, Unrealized Loss Position, Accumulated Loss",
        "negatedTotalLabel": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss, Total",
        "negatedTerseLabel": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss, Total",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position."
       }
      }
     },
     "auth_ref": [
      "r167"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Fair Value, Total",
        "label": "Debt Securities, Held-to-Maturity, Unrealized Loss Position, Fair Value",
        "terseLabel": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Fair Value, Total",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position."
       }
      }
     },
     "auth_ref": [
      "r166"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Held-to-Maturity, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss",
        "terseLabel": "Held to maturity securities continuous unrealized loss position less than 12 months accumulated loss",
        "negatedLabel": "Held to maturity securities continuous unrealized loss position less than 12 months accumulated loss",
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for less than 12 months."
       }
      }
     },
     "auth_ref": [
      "r167",
      "r169"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Held-to-Maturity, Continuous Unrealized Loss Position, Less than 12 Months, Fair Value",
        "terseLabel": "Held to maturity securities continuous unrealized loss position less than twelve months fair value",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for less than 12 months."
       }
      }
     },
     "auth_ref": [
      "r169"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Held-to-Maturity, Continuous Unrealized Loss Position, 12 Months or Longer, Fair Value",
        "terseLabel": "Held to maturity securities continuous unrealized loss position twelve months or longer fair value",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for 12 months or longer."
       }
      }
     },
     "auth_ref": [
      "r169"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Held-to-maturity Securities Debt Maturities, Fair Value [Abstract]",
        "label": "Debt Securities, Held-to-Maturity, Fair Value, Maturity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity [Abstract]",
        "terseLabel": "Held-to-maturity Securities Debt Maturities, Amortized Cost [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Held-to-maturity Securities, Due in one year or less, Fair Value",
        "label": "Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, Year One",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), with single maturity date and allocated without single maturity date, maturing in next 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)."
       }
      }
     },
     "auth_ref": [
      "r165",
      "r172",
      "r424",
      "r988"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Held-to-maturity Securities, Due in one year or less, Amortized Cost",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, Year One",
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) with single maturity date and allocated without single maturity date, maturing in next 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)."
       }
      }
     },
     "auth_ref": [
      "r416",
      "r986"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldToMaturitySecuritiesFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails": {
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITEDParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Securities held-to-maturity, fair value",
        "verboseLabel": "Held-to-maturity Securities, Fair Value",
        "totalLabel": "Held-to-maturity securities, Fair Value, Total",
        "label": "Debt Securities, Held-to-Maturity, Fair Value",
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity)."
       }
      }
     },
     "auth_ref": [
      "r162",
      "r420",
      "r839",
      "r851",
      "r869",
      "r870",
      "r872",
      "r973",
      "r995"
     ]
    },
    "us-gaap_HeldtomaturitySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HeldtomaturitySecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Held-to-maturity Securities",
        "label": "Held-to-Maturity Securities [Member]",
        "documentation": "Investments in debt securities classified as held-to-maturity."
       }
      }
     },
     "auth_ref": [
      "r170"
     ]
    },
    "by_Heldtomaturitysecuritiescontinuousunrealizedlosspositionnumberofpositions": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "Heldtomaturitysecuritiescontinuousunrealizedlosspositionnumberofpositions",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held to maturity securities continuous unrealized loss position number of positions.",
        "label": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionNumberOfPositions",
        "terseLabel": "Held to maturity securities continuous unrealized loss position number of positions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ImpairmentOfLongLivedAssetsToBeDisposedOf",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Impairment of Long-Lived Assets to be Disposed of",
        "terseLabel": "Impairment charge on assets held for sale",
        "verboseLabel": "Impairment loss on assets held for sale",
        "documentation": "The aggregate amount of write-downs for impairments recognized during the period for long-lived assets held for abandonment, exchange or sale."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r100",
      "r1369"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "INCOME BEFORE PROVISION FOR INCOME TAXES",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "terseLabel": "Income before provision for income taxes",
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r87",
      "r131",
      "r145",
      "r982",
      "r984",
      "r1004",
      "r1246",
      "r1248",
      "r1250",
      "r1255",
      "r1261",
      "r1600",
      "r1602",
      "r1603",
      "r1604",
      "r1605"
     ]
    },
    "us-gaap_IncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeStatementLocationAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Statement Location",
        "label": "Statement of Income Location, Balance [Axis]",
        "documentation": "Information by location in statement of income where disaggregated amount is reported."
       }
      }
     },
     "auth_ref": [
      "r486",
      "r487",
      "r489",
      "r753",
      "r759",
      "r776",
      "r784",
      "r844",
      "r848",
      "r854",
      "r875",
      "r876",
      "r877",
      "r1021",
      "r1023",
      "r1104",
      "r1232",
      "r1233",
      "r1315",
      "r1320",
      "r1362",
      "r1364",
      "r1371",
      "r1379",
      "r1723",
      "r1725",
      "r1809"
     ]
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeStatementLocationDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Statement Location",
        "label": "Statement of Income Location, Balance [Domain]",
        "documentation": "Location in statement of income where disaggregated amount is reported."
       }
      }
     },
     "auth_ref": [
      "r487",
      "r489",
      "r753",
      "r759",
      "r776",
      "r784",
      "r844",
      "r848",
      "r854",
      "r875",
      "r876",
      "r877",
      "r1021",
      "r1023",
      "r1104",
      "r1232",
      "r1233",
      "r1315",
      "r1320",
      "r1362",
      "r1364",
      "r1371",
      "r1379",
      "r1723",
      "r1725",
      "r1809"
     ]
    },
    "us-gaap_IncomeTaxAuthorityNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxAuthorityNameAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Authority, Name [Axis]",
        "documentation": "Information by name of taxing authority."
       }
      }
     },
     "auth_ref": [
      "r639",
      "r1719"
     ]
    },
    "us-gaap_IncomeTaxAuthorityNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxAuthorityNameDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Authority, Name [Domain]",
        "documentation": "Named agency, division or body that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes."
       }
      }
     },
     "auth_ref": [
      "r639",
      "r1719"
     ]
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureIncomeTaxes"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Taxes",
        "label": "Income Tax Disclosure [Text Block]",
        "documentation": "The entire disclosure for income tax."
       }
      }
     },
     "auth_ref": [
      "r299",
      "r304",
      "r631",
      "r635",
      "r636",
      "r637",
      "r638",
      "r640",
      "r641",
      "r650",
      "r652",
      "r653",
      "r654",
      "r993",
      "r1037",
      "r1045",
      "r1314"
     ]
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0,
       "order": 1.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PROVISION FOR INCOME TAXES",
        "label": "Income Tax Expense (Benefit)",
        "totalLabel": "Income Tax Expense (Benefit), Total",
        "verboseLabel": "Income tax expense",
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r179",
      "r299",
      "r327",
      "r328",
      "r347",
      "r362",
      "r374",
      "r634",
      "r635",
      "r651",
      "r1012",
      "r1246",
      "r1248",
      "r1250",
      "r1314"
     ]
    },
    "by_IncomeTaxLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "IncomeTaxLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Tax [Line Items]",
        "label": "Income Tax [Line Items]",
        "documentation": "Income Tax."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxesPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes Paid, Net",
        "totalLabel": "Income Taxes Paid, Net, Total",
        "terseLabel": "Cash paid during the period for income taxes",
        "documentation": "Amount, after refund, of cash paid to foreign, federal, state, and local jurisdictions as income tax."
       }
      }
     },
     "auth_ref": [
      "r37",
      "r297",
      "r642",
      "r643"
     ]
    },
    "by_IncreaseDecreaseInAccruedInterestPayableAndOtherLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "IncreaseDecreaseInAccruedInterestPayableAndOtherLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 33.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued interest payable and other liabilities",
        "label": "Increase Decrease In Accrued Interest Payable And Other Liabilities",
        "documentation": "Increase (decrease) in accrued interest payable and other liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "by_IncreaseDecreaseInAccruedInterestReceivableAndOtherAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "IncreaseDecreaseInAccruedInterestReceivableAndOtherAssetsNet",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 32.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Accrued interest receivable and other assets",
        "label": "Increase Decrease In Accrued Interest Receivable And Other Assets Net",
        "documentation": "Increase (decrease) in accrued interest receivable and other assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInDeposits",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net increase in deposits",
        "label": "Increase (Decrease) in Deposits",
        "totalLabel": "Increase (Decrease) in Deposits, Total",
        "documentation": "The net cash inflow or outflow for the increase (decrease) in the beginning and end of period deposits balances."
       }
      }
     },
     "auth_ref": [
      "r35",
      "r139"
     ]
    },
    "us-gaap_IncreaseDecreaseInInsuranceAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInInsuranceAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 26.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Insurance Assets",
        "totalLabel": "Increase (Decrease) in Insurance Assets, Total",
        "negatedLabel": "Gain on death benefit on bank owned life insurance",
        "documentation": "The increase (decrease) in the beginning and end of period in insurance industry assets which are classified as cash flows from operating activities."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Changes in assets and liabilities:",
        "label": "Adjustment to Reconcile Net Income to Cash Provided by (Used in) Operating Activity, Increase (Decrease) in Operating Capital [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Incremental shares",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Share-Based Payment Arrangements",
        "totalLabel": "Incremental Common Shares Attributable to Share-based Payment Arrangements, Total",
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method."
       }
      }
     },
     "auth_ref": [
      "r335",
      "r336",
      "r337",
      "r342",
      "r590"
     ]
    },
    "ecd_IndividualAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "IndividualAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Individual [Axis]",
        "terseLabel": "Individual:"
       }
      }
     },
     "auth_ref": [
      "r1425",
      "r1435",
      "r1445",
      "r1469",
      "r1477",
      "r1481",
      "r1489"
     ]
    },
    "by_IndividuallyEvaluatedForImpairmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "IndividuallyEvaluatedForImpairmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Individually evaluated for impairment.",
        "label": "Individually Evaluated For Impairment [Member]",
        "terseLabel": "Individually Evaluated For Impairment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InformationByCategoryOfDebtSecurityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InformationByCategoryOfDebtSecurityAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Security Category",
        "label": "Debt Security Category [Axis]",
        "documentation": "Information by category of debt security, either available-for-sale or held-to-maturity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InformationTechnologyAndDataProcessing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InformationTechnologyAndDataProcessing",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0,
       "order": 4.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Information Technology and Data Processing",
        "terseLabel": "Data processing",
        "documentation": "The amount of expenses incurred in the period for information technology and data processing products and services."
       }
      }
     },
     "auth_ref": [
      "r89",
      "r1248"
     ]
    },
    "by_InlandBancorpIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InlandBancorpIncMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfPreliminaryEstimatesOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParenth",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inland Bancorp, Inc.",
        "label": "Inland Bancorp Inc [Member]",
        "terseLabel": "Inland Bancorp, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "by_InlandBancorpTrustFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InlandBancorpTrustFiveMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Inland Bancorp Trust V",
        "label": "Inland Bancorp Trust Five [Member]",
        "documentation": "Inland Bancorp Trust V."
       }
      }
     },
     "auth_ref": []
    },
    "by_InlandBancorpTrustFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InlandBancorpTrustFourMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Inland Bancorp Trust IV",
        "label": "Inland Bancorp Trust Four [Member]",
        "documentation": "Inland Bancorp Trust IV."
       }
      }
     },
     "auth_ref": []
    },
    "by_InlandBancorpTrustThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InlandBancorpTrustThreeMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Inland Bancorp Trust III",
        "label": "Inland Bancorp Trust Three [Member]",
        "documentation": "Inland Bancorp Trust III."
       }
      }
     },
     "auth_ref": []
    },
    "by_InlandBancorpTrustTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InlandBancorpTrustTwoMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Inland Bancorp Trust II",
        "label": "Inland Bancorp Trust Two [Member]",
        "documentation": "Inland Bancorp Trust II."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_InsiderTradingArrLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTradingArrLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Arrangements [Line Items]",
        "terseLabel": "Insider Trading Arrangements:"
       }
      }
     },
     "auth_ref": [
      "r1487"
     ]
    },
    "ecd_InsiderTradingPoliciesProcLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTradingPoliciesProcLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures [Line Items]",
        "terseLabel": "Insider Trading Policies and Procedures:"
       }
      }
     },
     "auth_ref": [
      "r1417",
      "r1493"
     ]
    },
    "ecd_InsiderTrdPoliciesProcAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTrdPoliciesProcAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Adopted [Flag]",
        "terseLabel": "Insider Trading Policies and Procedures Adopted"
       }
      }
     },
     "auth_ref": [
      "r1417",
      "r1493"
     ]
    },
    "ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTrdPoliciesProcNotAdoptedTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Not Adopted [Text Block]",
        "terseLabel": "Insider Trading Policies and Procedures Not Adopted"
       }
      }
     },
     "auth_ref": [
      "r1417",
      "r1493"
     ]
    },
    "by_InstallmentAndOtherPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InstallmentAndOtherPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Installment and Other",
        "label": "Installment And Other Portfolio Segment [Member]",
        "documentation": "Installment and other portfolio segment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "label": "Intangible Assets, Net (Excluding Goodwill)",
        "totalLabel": "Intangible Assets, Net (Excluding Goodwill), Total",
        "documentation": "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges."
       }
      }
     },
     "auth_ref": [
      "r472",
      "r1658",
      "r1660"
     ]
    },
    "us-gaap_IntangibleAssetsNetIncludingGoodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IntangibleAssetsNetIncludingGoodwill",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goodwill and other intangible assets, net",
        "label": "Intangible Assets, Net (Including Goodwill)",
        "totalLabel": "Intangible Assets, Net (Including Goodwill), Total",
        "documentation": "Amount, after impairment and amortization, of goodwill, indefinite-lived, and finite-lived intangible assets."
       }
      }
     },
     "auth_ref": [
      "r1648"
     ]
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestAndDividendIncomeOperating",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total interest and dividend income",
        "label": "Interest and Dividend Income, Operating",
        "terseLabel": "Interest and dividend income",
        "documentation": "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein."
       }
      }
     },
     "auth_ref": [
      "r124",
      "r132",
      "r134",
      "r135",
      "r136",
      "r1248",
      "r1848"
     ]
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "INTEREST AND DIVIDEND INCOME",
        "label": "Interest and Dividend Income, Operating [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestAndFeeIncomeLoansAndLeases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestAndFeeIncomeLoansAndLeases",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Interest and Fee Income, Loans and Leases, Total",
        "terseLabel": "Interest and fees on loans and leases",
        "label": "Interest and Fee Income, Loans and Leases",
        "verboseLabel": "Interest income on non-accrual loans and leases",
        "documentation": "The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases."
       }
      }
     },
     "auth_ref": [
      "r124",
      "r1248"
     ]
    },
    "us-gaap_InterestBearingDepositLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestBearingDepositLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest-Bearing Deposit Liabilities",
        "totalLabel": "Interest-bearing Deposit Liabilities, Total",
        "terseLabel": "Interest-bearing deposits",
        "documentation": "The aggregate of all domestic and foreign interest-bearing deposit liabilities."
       }
      }
     },
     "auth_ref": [
      "r114"
     ]
    },
    "us-gaap_InterestBearingDepositLiabilitiesDomestic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestBearingDepositLiabilitiesDomestic",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest-bearing deposits",
        "label": "Interest-Bearing Deposit Liabilities, Domestic",
        "totalLabel": "Interest-bearing Deposit Liabilities, Domestic, Total",
        "documentation": "Total amount of interest-bearing domestic deposit liabilities, which may include brokered, retail, demand, checking, notice of withdrawal, money market and other interest-bearing deposits."
       }
      }
     },
     "auth_ref": [
      "r114"
     ]
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestBearingDepositsInBanks",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest bearing deposits with other banks",
        "label": "Interest-Bearing Deposits in Banks and Other Financial Institutions",
        "documentation": "For banks and other depository institutions (including Federal Reserve Banks, if applicable): Interest-bearing deposits in other financial institutions for relatively short periods of time including, for example, certificates of deposits, which are presented separately from cash on the balance sheet."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r121"
     ]
    },
    "us-gaap_InterestBearingDomesticDepositChecking": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestBearingDomesticDepositChecking",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest-bearing checking accounts",
        "label": "Interest-Bearing Domestic Deposit, Checking",
        "documentation": "Amount of interest-bearing domestic checking deposit liabilities."
       }
      }
     },
     "auth_ref": [
      "r114"
     ]
    },
    "by_InterestBearingDomesticDepositMoneyMarketAndDemandAccounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InterestBearingDomesticDepositMoneyMarketAndDemandAccounts",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Money market demand accounts",
        "label": "Interest Bearing Domestic Deposit Money Market And Demand Accounts",
        "documentation": "Interest bearing domestic deposit money market and demand accounts."
       }
      }
     },
     "auth_ref": []
    },
    "by_InterestBearingDomesticDepositOtherSavings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InterestBearingDomesticDepositOtherSavings",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other savings",
        "label": "Interest Bearing Domestic Deposit Other Savings",
        "documentation": "Interest bearing domestic deposit other savings."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestBearingDomesticDepositTimeDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestBearingDomesticDepositTimeDeposits",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "terseLabel": "Total",
        "label": "Interest-Bearing Domestic Deposit, Time Deposits",
        "documentation": "Amount of interest-bearing domestic time deposits. Time deposits bear interest for a fixed, stated period of time and include certificate of deposits and individual retirement accounts."
       }
      }
     },
     "auth_ref": [
      "r114"
     ]
    },
    "by_InterestBearingTimeDepositBrokered": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InterestBearingTimeDepositBrokered",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit brokered.",
        "label": "Interest Bearing Time Deposit Brokered",
        "terseLabel": "Time deposit brokered"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": "by_SegmentNetInterestIncomeAndNoninterestIncome",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expense, Operating and Nonoperating",
        "totalLabel": "Interest Expense, Operating and Nonoperating, Total",
        "terseLabel": "Interest expense",
        "documentation": "Amount of interest expense classified as operating and nonoperating. Includes, but is not limited to, cost of borrowing accounted for as interest expense."
       }
      }
     },
     "auth_ref": [
      "r347",
      "r358",
      "r361",
      "r363",
      "r374",
      "r885",
      "r1261",
      "r1262",
      "r1843"
     ]
    },
    "us-gaap_InterestExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "INTEREST EXPENSE",
        "label": "Interest Expense, Operating and Nonoperating [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseDeposits",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deposits",
        "label": "Interest Expense, Deposits",
        "totalLabel": "Interest Expense, Deposits, Total",
        "documentation": "Aggregate amount of interest expense on all deposits."
       }
      }
     },
     "auth_ref": [
      "r137",
      "r1248"
     ]
    },
    "us-gaap_InterestExpenseOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseOperating",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expense, Operating",
        "totalLabel": "Total interest expense",
        "documentation": "Amount of interest expense classified as operating."
       }
      }
     },
     "auth_ref": [
      "r361",
      "r980",
      "r1248",
      "r1540"
     ]
    },
    "by_InterestExpenseOtherBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InterestExpenseOtherBorrowings",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Interest recorded",
        "terseLabel": "Other borrowings",
        "label": "Interest Expense Other Borrowings",
        "documentation": "Interest expense other borrowings."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseSubordinatedNotesAndDebentures": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseSubordinatedNotesAndDebentures",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subordinated notes and debentures",
        "label": "Interest Expense, Subordinated Notes and Debentures",
        "documentation": "Interest expense incurred during the reporting period on subordinated notes and debentures. Includes amortization of expenses incurred in the issuance of subordinated notes and debentures."
       }
      }
     },
     "auth_ref": [
      "r138"
     ]
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Income (Expense), after Provision for Loan Loss",
        "totalLabel": "Net interest income after provision for credit losses",
        "documentation": "Amount of interest income or expense, including any amortization and accretion (as applicable) of discounts and premiums, including consideration of the provisions for loan, lease, credit, and other related losses."
       }
      }
     },
     "auth_ref": [
      "r126",
      "r1248"
     ]
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeExpenseNet",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net interest income",
        "label": "Interest Income (Expense), Operating",
        "documentation": "Amount of interest income (expense) classified as operating."
       }
      }
     },
     "auth_ref": [
      "r974",
      "r1248",
      "r1602"
     ]
    },
    "us-gaap_InterestIncomeSecuritiesTaxable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeSecuritiesTaxable",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest on securities",
        "label": "Interest Income, Securities, Operating, Taxable",
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities subject to state, federal and other income tax."
       }
      }
     },
     "auth_ref": [
      "r132",
      "r181",
      "r182"
     ]
    },
    "us-gaap_InterestPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash paid during the period for interest",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activity",
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount."
       }
      }
     },
     "auth_ref": [
      "r292",
      "r295",
      "r296"
     ]
    },
    "us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Cash Flow Hedge Gain (Loss) to be Reclassified During Next 12 Months, Net",
        "terseLabel": "Net unrealized gain",
        "documentation": "The estimated net amount of unrealized gains or losses on interest rate cash flow hedges as of the balance sheet date expected to be reclassified to earnings within the next twelve months."
       }
      }
     },
     "auth_ref": [
      "r1754"
     ]
    },
    "us-gaap_InterestRateSwapMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestRateSwapMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Interest Rate Swaps",
        "terseLabel": "Interest Rate Swap",
        "label": "Interest Rate Swap [Member]",
        "documentation": "Forward based contracts in which two parties agree to swap periodic payments that are fixed at the outset of the swap contract with variable payments based on a market interest rate (index rate) over a specified period."
       }
      }
     },
     "auth_ref": [
      "r1360",
      "r1403",
      "r1404",
      "r1745"
     ]
    },
    "by_InterestRateSwapTwoEffectiveHedgesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InterestRateSwapTwoEffectiveHedgesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest Rate Swap Two Effective Hedges",
        "label": "Interest Rate Swap Two Effective Hedges [Member]",
        "documentation": "Interest rate swap two effective hedges."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestReceivable",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued interest receivable",
        "label": "Interest Receivable",
        "verboseLabel": "Accrued interest",
        "documentation": "Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable."
       }
      }
     },
     "auth_ref": [
      "r1526",
      "r1846"
     ]
    },
    "us-gaap_InterestReceivableAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestReceivableAndOtherAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued interest receivable and other assets",
        "label": "Interest Receivable and Other Assets",
        "documentation": "Amount of interest receivable and assets classified as other."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InternalCreditAssessmentAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Internal Credit Assessment",
        "label": "Internal Credit Assessment [Axis]",
        "documentation": "Information by entity-defined rating."
       }
      }
     },
     "auth_ref": [
      "r150",
      "r151",
      "r152",
      "r1288",
      "r1290",
      "r1645"
     ]
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InternalCreditAssessmentDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Internal Credit Assessment",
        "label": "Internal Credit Assessment [Domain]",
        "documentation": "Entity defined credit risk rating."
       }
      }
     },
     "auth_ref": [
      "r1288",
      "r1645"
     ]
    },
    "by_InvestmentSecuritiesPledgedCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "InvestmentSecuritiesPledgedCarryingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Carrying amount of securities pledged as collateral",
        "label": "Investment Securities Pledged Carrying Amount",
        "documentation": "Investment securities pledged carrying amount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Type",
        "label": "Investment Type [Axis]",
        "documentation": "Information by type of investments."
       }
      }
     },
     "auth_ref": [
      "r1060",
      "r1062",
      "r1063",
      "r1065",
      "r1068",
      "r1124",
      "r1133",
      "r1148",
      "r1156",
      "r1169",
      "r1182",
      "r1198",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1398"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments",
        "label": "Investments [Domain]",
        "documentation": "Asset obtained to generate income or appreciate in value."
       }
      }
     },
     "auth_ref": [
      "r1060",
      "r1062",
      "r1063",
      "r1065",
      "r1068",
      "r1124",
      "r1133",
      "r1148",
      "r1156",
      "r1169",
      "r1182",
      "r1198",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1398"
     ]
    },
    "us-gaap_InvestmentTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeExtensibleEnumeration",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Type [Extensible Enumeration]",
        "documentation": "Indicates type of investment. Includes, but is not limited to, common stock, preferred stock, convertible security, fixed income security, government security, option purchased, warrant, loan participation and assignment, commercial paper, bankers' acceptance, certificates of deposit, short-term security, repurchase agreement, and other investment company."
       }
      }
     },
     "auth_ref": [
      "r1060",
      "r1065",
      "r1125",
      "r1133",
      "r1146",
      "r1148",
      "r1149",
      "r1169",
      "r1192",
      "r1198"
     ]
    },
    "us-gaap_InvestmentVariableInterestRateTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentVariableInterestRateTypeExtensibleEnumeration",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceParentheticalDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Variable Interest Rate, Type [Extensible Enumeration]",
        "documentation": "Indicates type of variable interest rate of investment."
       }
      }
     },
     "auth_ref": [
      "r1128",
      "r1147",
      "r1151",
      "r1193"
     ]
    },
    "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Amortized Cost and Fair Value of Debt Securities by Contractual Maturity",
        "label": "Investments Classified by Contractual Maturity Date [Table Text Block]",
        "documentation": "Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments, Debt and Equity Securities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecurities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Securities",
        "label": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "documentation": "The entire disclosure for investments in certain debt and equity securities."
       }
      }
     },
     "auth_ref": [
      "r140",
      "r183",
      "r395",
      "r397",
      "r861",
      "r862",
      "r1797"
     ]
    },
    "us-gaap_InvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Securities",
        "label": "Investments [Member]",
        "documentation": "Assets held for their financial return, rather than for the entity's operations."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liability, at carrying value",
        "label": "Junior Subordinated Debenture Owed to Unconsolidated Subsidiary Trust",
        "terseLabel": "Junior subordinated debentures",
        "documentation": "Including the current and noncurrent portions, the carrying value of junior subordinated long-term debt owed to unconsolidated subsidiary trusts as of the balance sheet date. Such debt places a lender in a lien position behind debt having a higher priority of repayment in liquidation of the entity's assets and was initially scheduled to be repaid after one year or beyond the normal operating cycle if longer."
       }
      }
     },
     "auth_ref": [
      "r119",
      "r1804"
     ]
    },
    "by_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails": {
       "parentTag": "us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Junior Subordinated Debenture Owed To Unconsolidated Subsidiary Trust Including Unamortized Discount",
        "verboseLabel": "Principal amount",
        "terseLabel": "Total liability, at par",
        "documentation": "Junior subordinated debenture owed to unconsolidated subsidiary trust, including unamortized discount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_JuniorSubordinatedDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "JuniorSubordinatedDebtMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Junior Subordinated Debentures",
        "label": "Junior Subordinated Debt [Member]",
        "documentation": "Borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LaborAndRelatedExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LaborAndRelatedExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Salaries and employee benefits",
        "label": "Labor and Related Expense",
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit."
       }
      }
     },
     "auth_ref": [
      "r976",
      "r1248",
      "r1541"
     ]
    },
    "by_LastBusinessDayOfGrantVestOverThreeYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LastBusinessDayOfGrantVestOverThreeYearsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Last Business Day of Grant Vest Over Three Years",
        "label": "Last Business Day Of Grant Vest Over Three Years [Member]",
        "documentation": "Last business day of grant vest over three years."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LeaseAndRentalExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LeaseAndRentalExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Rental expenses",
        "label": "Operating Leases, Rent Expense",
        "totalLabel": "Operating Leases, Rent Expense, Total",
        "documentation": "Amount of rent expense incurred for leased assets, including but not limited to, furniture and equipment, that is not directly or indirectly associated with the manufacture, sale or creation of a product or product line."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LeaseCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LeaseCost",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total lease cost, net",
        "label": "Lease, Cost",
        "documentation": "Amount of lease cost recognized by lessee for lease contract."
       }
      }
     },
     "auth_ref": [
      "r895",
      "r1381"
     ]
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LeaseCostTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Lease Costs and Company's Operating Leases",
        "label": "Lease, Cost [Table Text Block]",
        "documentation": "Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income."
       }
      }
     },
     "auth_ref": [
      "r1783"
     ]
    },
    "us-gaap_LeasesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LeasesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_LegalAuditAndOtherProfessionalFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LegalAuditAndOtherProfessionalFees",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Legal, audit and other professional fees",
        "label": "Legal Audit And Other Professional Fees",
        "documentation": "Legal, audit and other professional fees."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeLeaseDescriptionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeLeaseDescriptionLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Lessee Lease Description [Line Items]",
        "label": "Lessee, Lease, Description [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r894",
      "r905"
     ]
    },
    "us-gaap_LesseeLeaseDescriptionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeLeaseDescriptionTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Lessee Lease Description [Table]",
        "label": "Lessee, Lease, Description [Table]",
        "documentation": "Disclosure of information about lessee's leases."
       }
      }
     },
     "auth_ref": [
      "r894",
      "r905"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Future Minimum Lease Payments for Operating Leases",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Maturity [Table Text Block]",
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position."
       }
      }
     },
     "auth_ref": [
      "r1784"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails3": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total undiscounted lease payments",
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease."
       }
      }
     },
     "auth_ref": [
      "r903",
      "r1586",
      "r1592",
      "r1800"
     ]
    },
    "by_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Thereafter",
        "label": "Lessee Operating Lease Liability Payments Due After Year Four",
        "documentation": "Lessee operating lease liability payments due after year four."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2027",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next 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)."
       }
      }
     },
     "auth_ref": [
      "r903",
      "r1586",
      "r1592",
      "r1800"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Four",
        "terseLabel": "2030",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth 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)."
       }
      }
     },
     "auth_ref": [
      "r903",
      "r1586",
      "r1592",
      "r1800"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2029",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in 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)."
       }
      }
     },
     "auth_ref": [
      "r903",
      "r1586",
      "r1592",
      "r1800"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2028",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second 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)."
       }
      }
     },
     "auth_ref": [
      "r903",
      "r1586",
      "r1592",
      "r1800"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Remainder of Fiscal Year",
        "terseLabel": "Remainder of 2026",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease having initial or remaining lease term in excess of one year to be paid in remainder of current fiscal year."
       }
      }
     },
     "auth_ref": [
      "r1784"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails3": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
        "negatedLabel": "Less: Imputed interest",
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease."
       }
      }
     },
     "auth_ref": [
      "r903"
     ]
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeasesTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeases"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Leases",
        "label": "Lessee, Operating Leases [Text Block]",
        "documentation": "The entire disclosure for operating leases of lessee. Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability."
       }
      }
     },
     "auth_ref": [
      "r889"
     ]
    },
    "by_LessorOperatingLeaseMaturityYear": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LessorOperatingLeaseMaturityYear",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Lessor, Operating Lease Maturity Year",
        "label": "Lessor Operating Lease Maturity Year",
        "documentation": "Lessor, operating lease maturity year."
       }
      }
     },
     "auth_ref": []
    },
    "by_LetterAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LetterAgreementMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Letter Agreement",
        "label": "Letter Agreement [Member]",
        "documentation": "Letter agreement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LetterOfCreditMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LetterOfCreditMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Letters of Credit",
        "label": "Letter of Credit [Member]",
        "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)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Liabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Liabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities",
        "totalLabel": "Total liabilities",
        "documentation": "Amount of liability recognized for present obligation requiring transfer or otherwise providing economic benefit to others."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r67",
      "r68",
      "r69",
      "r72",
      "r73",
      "r74",
      "r75",
      "r299",
      "r302",
      "r303",
      "r430",
      "r498",
      "r499",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r507",
      "r508",
      "r737",
      "r739",
      "r740",
      "r874",
      "r1078",
      "r1254",
      "r1300",
      "r1412",
      "r1676",
      "r1785",
      "r1786"
     ]
    },
    "us-gaap_LiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LIABILITIES",
        "label": "Liabilities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesAndStockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities and stockholders\u2019 equity",
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r122",
      "r1002",
      "r1382",
      "r1392",
      "r1393",
      "r1585",
      "r1590",
      "r1630",
      "r1776"
     ]
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LIABILITIES AND STOCKHOLDERS\u2019 EQUITY",
        "label": "Liabilities and Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesAssumed1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesAssumed1",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities Assumed",
        "negatedLabel": "Total liabilities assumed from acquisition",
        "terseLabel": "Total liabilities assumed from acquisition",
        "documentation": "The fair value of liabilities assumed in noncash investing or financing activities."
       }
      }
     },
     "auth_ref": [
      "r38",
      "r39",
      "r40"
     ]
    },
    "by_LiborMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LiborMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LIBOR [Member]",
        "label": "LIBOR [Member]",
        "documentation": "LIBOR."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LifeInsuranceCorporateOrBankOwnedChangeInValue",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 31.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Increase in cash surrender value of bank owned life insurance",
        "label": "Life Insurance, Corporate or Bank Owned, Change in Value",
        "documentation": "The change in cash surrender or contract value during the period which adjusted the amount of premiums paid in determining the expense or income recognized under the contract for the period."
       }
      }
     },
     "auth_ref": [
      "r1631"
     ]
    },
    "us-gaap_LineOfCredit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCredit",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "parentTag": "us-gaap_OtherBorrowings",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Line of credit facility, amount",
        "terseLabel": "Line of credit",
        "label": "Long-Term Line of Credit",
        "totalLabel": "Long-term Line of Credit, Total",
        "documentation": "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r119",
      "r1804"
     ]
    },
    "us-gaap_LineOfCreditFacilityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Lender Name",
        "label": "Lender Name [Axis]",
        "documentation": "Information by name of lender, which may be a single entity (for example, but not limited to, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit."
       }
      }
     },
     "auth_ref": [
      "r66",
      "r71",
      "r1585",
      "r1588",
      "r1673",
      "r1674"
     ]
    },
    "by_LineOfCreditFacilityExtendedMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LineOfCreditFacilityExtendedMaturityDate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Line of credit facility, extended maturity date",
        "label": "Line Of Credit Facility Extended Maturity Date",
        "documentation": "Line of credit facility extended maturity date."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LineOfCreditFacilityInterestRateDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityInterestRateDescription",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Line of credit facility, interest rate terms",
        "label": "Line of Credit Facility, Interest Rate Description",
        "documentation": "Description of interest rate for borrowing under credit facility. Includes, but is not limited to, terms and method for determining interest rate."
       }
      }
     },
     "auth_ref": [
      "r66",
      "r71"
     ]
    },
    "us-gaap_LineOfCreditFacilityInterestRateDuringPeriod": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityInterestRateDuringPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line of Credit Facility, Interest Rate During Period",
        "terseLabel": "Line of Credit Facility, Interest Rate",
        "documentation": "The effective interest rate during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r66",
      "r71"
     ]
    },
    "us-gaap_LineOfCreditFacilityLenderDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityLenderDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Line of Credit Facility, Lender",
        "label": "Line of Credit Facility, Lender [Domain]",
        "documentation": "Identification of the lender, which may be a single entity (for example, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit, including a letter of credit facility."
       }
      }
     },
     "auth_ref": [
      "r66",
      "r71",
      "r1585",
      "r1588",
      "r1673",
      "r1674"
     ]
    },
    "us-gaap_LineOfCreditFacilityLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Line Of Credit Facility [Line Items]",
        "label": "Line of Credit Facility [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r497",
      "r1585",
      "r1588",
      "r1673"
     ]
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "terseLabel": "Line of credit facility, maximum borrowing capacity",
        "documentation": "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility."
       }
      }
     },
     "auth_ref": [
      "r66",
      "r71"
     ]
    },
    "us-gaap_LineOfCreditFacilityTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Line Of Credit Facility [Table]",
        "label": "Line of Credit Facility [Table]",
        "documentation": "Disclosure of information about short-term and long-term contractual arrangements with lender under which borrowing can occur up to maximum amount. Includes, but is not limited to, letter of credit, standby letter of credit, and revolving credit arrangement."
       }
      }
     },
     "auth_ref": [
      "r66",
      "r71",
      "r497",
      "r1585",
      "r1588",
      "r1673"
     ]
    },
    "by_LoanAndLeaseRelatedExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LoanAndLeaseRelatedExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan and lease related expenses",
        "label": "Loan And Lease Related Expenses",
        "documentation": "Loan and lease related expenses."
       }
      }
     },
     "auth_ref": []
    },
    "by_LoanCommitmentsPercentageBearingFixedInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LoanCommitmentsPercentageBearingFixedInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan commitments fixed interest rate",
        "label": "Loan Commitments Percentage Bearing Fixed Interest Rate",
        "documentation": "Loan commitments bearing fixed interest rate, percentage."
       }
      }
     },
     "auth_ref": []
    },
    "by_LoanCommitmentsPercentageBearingVariableInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LoanCommitmentsPercentageBearingVariableInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan commitments variable interest rate",
        "label": "Loan Commitments Percentage Bearing Variable Interest Rate",
        "documentation": "Loan commitments bearing variable interest rate, percentage."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LoanRestructuringModificationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoanRestructuringModificationAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Restructuring Modification [Axis]",
        "documentation": "Information by concessions made to the terms of loan contracts."
       }
      }
     },
     "auth_ref": [
      "r391",
      "r392",
      "r394",
      "r1268"
     ]
    },
    "us-gaap_LoanRestructuringModificationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoanRestructuringModificationDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Restructuring Modification [Domain]",
        "documentation": "Concessions made to the terms of loan contracts, including but not limited to, interest rate reductions, maturity extensions, principal forgiveness, and payment deferral."
       }
      }
     },
     "auth_ref": [
      "r391",
      "r392",
      "r394",
      "r1268"
     ]
    },
    "by_LoanServicingAssetRevaluation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LoanServicingAssetRevaluation",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan servicing asset revaluation",
        "label": "Loan Servicing Asset Revaluation",
        "documentation": "Loan servicing asset revaluation."
       }
      }
     },
     "auth_ref": []
    },
    "by_LoanServicingRevenueNonInterestIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LoanServicingRevenueNonInterestIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Servicing Revenue Non Interest Income",
        "documentation": "Loan servicing revenue non interest income.",
        "terseLabel": "Loan servicing revenue"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LoansAndLeasesReceivableAllowanceCovered": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansAndLeasesReceivableAllowanceCovered",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmountCovered",
       "weight": -1.0,
       "order": 0.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmountCovered",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Allowance for loan and lease losses",
        "negatedLabel": "Allowance for credit losses - loans and leases",
        "label": "Loans and Leases Receivable, Allowance, Covered",
        "verboseLabel": "Allowance for credit losses for held-to-maturity debt securities",
        "documentation": "Amount of allowance for loan and lease losses covered by loss sharing agreements."
       }
      }
     },
     "auth_ref": [
      "r156"
     ]
    },
    "by_LoansAndLeasesReceivableCommitmentsFixedAndVariableRates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LoansAndLeasesReceivableCommitmentsFixedAndVariableRates",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "label": "Loans And Leases Receivable Commitments Fixed And Variable Rates",
        "documentation": "Loans and leases receivable commitments fixed and variable rates."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LoansAndLeasesReceivableCommitmentsFixedRates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansAndLeasesReceivableCommitmentsFixedRates",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails": {
       "parentTag": "by_LoansAndLeasesReceivableCommitmentsFixedAndVariableRates",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fixed Rate",
        "label": "Loans and Leases Receivable, Commitments, Fixed Rates",
        "documentation": "Reflects the amount of cash required to fully fund agreements to provide advances to borrowers and lessees at stated interest rates."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r64"
     ]
    },
    "us-gaap_LoansAndLeasesReceivableCommitmentsVariableRates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansAndLeasesReceivableCommitmentsVariableRates",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails": {
       "parentTag": "by_LoansAndLeasesReceivableCommitmentsFixedAndVariableRates",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable Rate",
        "label": "Loans and Leases Receivable, Commitments, Variable Rates",
        "documentation": "Reflects the amount of cash required to fully fund agreements to provide advances to borrowers and lessees at interest rates that increase or decrease depending on certain facts or circumstances."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r64"
     ]
    },
    "us-gaap_LoansAndLeasesReceivableGrossCarryingAmountCovered": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansAndLeasesReceivableGrossCarryingAmountCovered",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmountCovered",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total loans and leases",
        "label": "Loans and Leases Receivable, Gross, Carrying Amount, Covered",
        "documentation": "Aggregate gross carrying amount of loans and leases receivable covered by loss sharing agreements."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansAndLeasesReceivableNetReportedAmountAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans and leases:",
        "label": "Loans and Leases Receivable, Net Amount [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmountCovered": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansAndLeasesReceivableNetReportedAmountCovered",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans and lease receivables, net (less impaired loans at fair value)",
        "totalLabel": "Net loans and leases",
        "label": "Loans and Leases Receivable, Net Reported Amount, Covered",
        "verboseLabel": "Loans and lease receivables, net (less individually evaluated loans at fair value)",
        "documentation": "Net carrying amount of loans and leases receivable covered by loss sharing agreements."
       }
      }
     },
     "auth_ref": []
    },
    "by_LoansAndLeasesReceivableUnpaidPrincipalBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "LoansAndLeasesReceivableUnpaidPrincipalBalance",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unpaid Principal Balance",
        "label": "Loans And Leases Receivable Unpaid Principal Balance",
        "documentation": "Loans and leases receivable unpaid principal balance."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans Insured or Guaranteed by Government Authorities",
        "label": "Loans Insured or Guaranteed by Government Authorities [Axis]",
        "documentation": "Information by US and non-US government sponsored enterprise, authority, agency and program guarantees for government insured loans."
       }
      }
     },
     "auth_ref": [
      "r1641",
      "r1642",
      "r1645"
     ]
    },
    "us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans Insured or Guaranteed by Government Authorities",
        "label": "Loans Insured or Guaranteed by Government Authorities [Domain]",
        "documentation": "Guarantee by US and non-US government sponsored enterprises, authorities, agencies and programs for government insured loans."
       }
      }
     },
     "auth_ref": [
      "r1641",
      "r1642",
      "r1645"
     ]
    },
    "us-gaap_LoansInsuredOrGuaranteedByUsGovernmentAuthoritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansInsuredOrGuaranteedByUsGovernmentAuthoritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "U.S. Government Guaranteed Loans",
        "label": "Loans Insured or Guaranteed by US Government Authorities [Member]",
        "documentation": "Guarantee by US government authority for government insured loans."
       }
      }
     },
     "auth_ref": [
      "r1641",
      "r1642",
      "r1645"
     ]
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLosses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]",
        "terseLabel": "Loan and Lease Receivables and Allowance for Credit Losses",
        "documentation": "The entire disclosure for claims held for amounts due to entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses."
       }
      }
     },
     "auth_ref": [
      "r886",
      "r1606"
     ]
    },
    "us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansReceivableHeldForSaleNetNotPartOfDisposalGroup",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans held for sale",
        "label": "Financing Receivable, Held-for-Sale, Not Part of Disposal Group, after Valuation Allowance",
        "periodStartLabel": "Financing Receivable, Held-for-Sale, Not Part of Disposal Group, after Valuation Allowance, Beginning Balance",
        "periodEndLabel": "Financing Receivable, Held-for-Sale, Not Part of Disposal Group, after Valuation Allowance, Ending Balance",
        "documentation": "Amount, after valuation allowance, of financing receivable held for sale and not part of disposal group. Excludes loan covered under loss sharing agreement and loan classified as investment in debt security."
       }
      }
     },
     "auth_ref": [
      "r1607"
     ]
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Local Phone Number",
        "label": "Local Phone Number",
        "documentation": "Local phone number for entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongtermDebtTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-term Debt, Type",
        "label": "Long-Term Debt, Type [Axis]",
        "documentation": "Information by type of long-term debt."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r1665",
      "r1666",
      "r1667"
     ]
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongtermDebtTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Type [Domain]",
        "terseLabel": "Long-term Debt, Type",
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r47",
      "r1665",
      "r1666",
      "r1667"
     ]
    },
    "us-gaap_MarketableSecuritiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MarketableSecuritiesTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Marketable Securities [Table]",
        "documentation": "Disclosure of information about investment in marketable security."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Maximum",
        "label": "Maximum [Member]",
        "terseLabel": "Maximum",
        "documentation": "Upper limit of the provided range."
       }
      }
     },
     "auth_ref": [
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r214",
      "r216",
      "r217",
      "r229",
      "r230",
      "r352",
      "r492",
      "r493",
      "r494",
      "r495",
      "r584",
      "r615",
      "r616",
      "r617",
      "r630",
      "r842",
      "r967",
      "r1020",
      "r1022",
      "r1036",
      "r1069",
      "r1070",
      "r1127",
      "r1146",
      "r1152",
      "r1153",
      "r1192",
      "r1213",
      "r1214",
      "r1216",
      "r1217",
      "r1230",
      "r1231",
      "r1268",
      "r1301",
      "r1311",
      "r1315",
      "r1322",
      "r1325",
      "r1372",
      "r1373",
      "r1377",
      "r1378",
      "r1389",
      "r1678",
      "r1787",
      "r1788",
      "r1789",
      "r1790",
      "r1791",
      "r1792"
     ]
    },
    "ecd_MeasureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MeasureAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure [Axis]",
        "terseLabel": "Measure:"
       }
      }
     },
     "auth_ref": [
      "r1461"
     ]
    },
    "ecd_MeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MeasureName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r1461"
     ]
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputDiscountRateMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Discount Rate",
        "label": "Measurement Input, Discount Rate [Member]",
        "documentation": "Measurement input using interest rate to determine present value of future cash flows."
       }
      }
     },
     "auth_ref": [
      "r1315",
      "r1322",
      "r1325",
      "r1760",
      "r1761",
      "r1762"
     ]
    },
    "us-gaap_MeasurementInputExpectedTermMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputExpectedTermMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Expected Weighted Average Loan life",
        "label": "Measurement Input, Expected Term [Member]",
        "documentation": "Measurement input using period financial instrument is expected to be outstanding. Excludes maturity date."
       }
      }
     },
     "auth_ref": [
      "r614",
      "r1760",
      "r1761",
      "r1762"
     ]
    },
    "us-gaap_MeasurementInputPrepaymentRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputPrepaymentRateMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prepayment Speeds",
        "label": "Measurement Input, Prepayment Rate [Member]",
        "documentation": "Measurement input using principal prepayment at other than constant rate as proportion of outstanding loan principal."
       }
      }
     },
     "auth_ref": [
      "r1760",
      "r1761",
      "r1762"
     ]
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Input Type",
        "label": "Measurement Input Type [Axis]",
        "documentation": "Information by type of measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": [
      "r613",
      "r614",
      "r615",
      "r616",
      "r617",
      "r618",
      "r840",
      "r841",
      "r842",
      "r1315",
      "r1322",
      "r1325",
      "r1372"
     ]
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Input Type",
        "label": "Measurement Input Type [Domain]",
        "documentation": "Measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": [
      "r840",
      "r841",
      "r842",
      "r1315",
      "r1322",
      "r1325",
      "r1372"
     ]
    },
    "by_MetropolitanStatutoryTrustOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "MetropolitanStatutoryTrustOneMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Metropolitan Statutory Trust 1",
        "label": "Metropolitan Statutory Trust One [Member]",
        "documentation": "Metropolitan statutory trust one."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum",
        "documentation": "Lower limit of the provided range."
       }
      }
     },
     "auth_ref": [
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r214",
      "r216",
      "r217",
      "r229",
      "r230",
      "r352",
      "r492",
      "r493",
      "r494",
      "r495",
      "r584",
      "r615",
      "r616",
      "r617",
      "r630",
      "r842",
      "r967",
      "r1020",
      "r1022",
      "r1036",
      "r1069",
      "r1070",
      "r1127",
      "r1146",
      "r1152",
      "r1153",
      "r1192",
      "r1213",
      "r1214",
      "r1216",
      "r1217",
      "r1230",
      "r1231",
      "r1268",
      "r1301",
      "r1311",
      "r1315",
      "r1322",
      "r1325",
      "r1372",
      "r1373",
      "r1377",
      "r1389",
      "r1678",
      "r1787",
      "r1788",
      "r1789",
      "r1790",
      "r1791",
      "r1792"
     ]
    },
    "ecd_MnpiDiscTimedForCompValFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MnpiDiscTimedForCompValFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MNPI Disclosure Timed for Compensation Value [Flag]",
        "terseLabel": "MNPI Disclosure Timed for Compensation Value"
       }
      }
     },
     "auth_ref": [
      "r1480"
     ]
    },
    "us-gaap_MortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage-Backed Securities",
        "label": "Collateralized Mortgage-Backed Securities [Member]",
        "documentation": "Securities collateralized by mortgage loans."
       }
      }
     },
     "auth_ref": [
      "r1304",
      "r1305",
      "r1306",
      "r1307",
      "r1308",
      "r1615",
      "r1617",
      "r1622",
      "r1623",
      "r1624",
      "r1836"
     ]
    },
    "us-gaap_MortgageLoansInProcessOfForeclosureAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MortgageLoansInProcessOfForeclosureAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Residential consumer mortgage loans in process of foreclosure",
        "label": "Mortgage Loans in Process of Foreclosure, Amount",
        "documentation": "Recorded investment of consumer mortgage loan receivables secured by residential real estate properties for which formal foreclosure proceedings are in process."
       }
      }
     },
     "auth_ref": [
      "r389"
     ]
    },
    "srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate, Type of Property [Axis]",
        "documentation": "Information by type of real estate property."
       }
      }
     },
     "auth_ref": [
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r215",
      "r216",
      "r217",
      "r1213",
      "r1215",
      "r1216",
      "r1217",
      "r1221",
      "r1222",
      "r1223",
      "r1224",
      "r1225",
      "r1226",
      "r1227",
      "r1228",
      "r1229"
     ]
    },
    "srt_MortgageLoansOnRealEstateNamePropertyTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateNamePropertyTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate [Domain]",
        "documentation": "Land and any structures permanently fixed to it."
       }
      }
     },
     "auth_ref": [
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r210",
      "r211",
      "r212",
      "r213",
      "r215",
      "r216",
      "r217",
      "r1213",
      "r1215",
      "r1216",
      "r1217",
      "r1221",
      "r1222",
      "r1223",
      "r1224",
      "r1225",
      "r1226",
      "r1227",
      "r1228",
      "r1229"
     ]
    },
    "ecd_MtrlTermsOfTrdArrTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MtrlTermsOfTrdArrTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Terms of Trading Arrangement [Text Block]",
        "terseLabel": "Material Terms of Trading Arrangement"
       }
      }
     },
     "auth_ref": [
      "r1488"
     ]
    },
    "us-gaap_MutualFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MutualFundMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mutual Funds",
        "label": "Mutual Fund [Member]",
        "documentation": "Regulated investment instrument that pools funds from multiple investors to invest principally in a portfolio of securities and money market instruments to match the investment objective."
       }
      }
     },
     "auth_ref": [
      "r1689",
      "r1690"
     ]
    },
    "ecd_NamedExecutiveOfficersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NamedExecutiveOfficersFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Named Executive Officers, Footnote [Text Block]",
        "terseLabel": "Named Executive Officers, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1462"
     ]
    },
    "by_NetAdditionsReductionsToOtherRealEstateOwned": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NetAdditionsReductionsToOtherRealEstateOwned",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net additions (reductions) to Other Real Estate Owned",
        "documentation": "Net additions (reductions) to Other Real Estate Owned",
        "terseLabel": "Net additions/(reductions) to OREO"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Provided by (Used in) Financing Activity, Including Discontinued Operation",
        "totalLabel": "Net cash provided by (used in) financing activities",
        "documentation": "Amount of cash inflow (outflow) from financing activity, including, but not limited to, discontinued operation. Financing activity includes, but is not limited to, obtaining resource from owner and providing return on, and return of, their investment; borrowing money and repaying amount borrowed, or settling obligation; and obtaining and paying for other resource obtained from creditor on long-term credit."
       }
      }
     },
     "auth_ref": [
      "r294"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CASH FLOWS FROM FINANCING ACTIVITIES",
        "label": "Cash Provided by (Used in) Financing Activity, Including Discontinued Operation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash used in investing activities",
        "label": "Cash Provided by (Used in) Investing Activity, Including Discontinued Operation",
        "documentation": "Amount of cash inflow (outflow) from investing activity, including, but not limited to, discontinued operation. Investing activity includes, but is not limited to, making and collecting loan, acquiring and disposing of debt and equity instruments, property, plant, and equipment, and other productive assets."
       }
      }
     },
     "auth_ref": [
      "r294"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CASH FLOWS FROM INVESTING ACTIVITIES",
        "label": "Cash Provided by (Used in) Investing Activity, Including Discontinued Operation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash provided by operating activities",
        "label": "Cash Provided by (Used in) Operating Activity, Including Discontinued Operation",
        "documentation": "Amount of cash inflow (outflow) from operating activity, including, but not limited to, discontinued operation. Operating activity includes, but is not limited to, transaction, adjustment, and change in value not defined as investing or financing activity."
       }
      }
     },
     "auth_ref": [
      "r96",
      "r97",
      "r98"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CASH FLOWS FROM OPERATING ACTIVITIES",
        "label": "Cash Provided by (Used in) Operating Activity, Including Discontinued Operation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_NetChangeInServicingAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NetChangeInServicingAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 23.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net change in servicing assets",
        "label": "Net Change In Servicing Assets",
        "documentation": "Net change in servicing assets."
       }
      }
     },
     "auth_ref": []
    },
    "by_NetGainLossesOnSalesAndValuationAdjustmentsOfOtherRealEstateOwned": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NetGainLossesOnSalesAndValuationAdjustmentsOfOtherRealEstateOwned",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 18.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Gain Losses On Sales And Valuation Adjustments Of Other Real Estate Owned",
        "documentation": "Net gain losses on sales and valuation adjustments of other real estate owned.",
        "terseLabel": "Net (gains) losses on sales and valuation adjustments of other real estate owned"
       }
      }
     },
     "auth_ref": []
    },
    "by_NetGainsOnSalesOfLeases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NetGainsOnSalesOfLeases",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Gains on Sales of Leases",
        "documentation": "Net gains on sales of leases.",
        "negatedLabel": "Net gains on sales of leases"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss)",
        "terseLabel": "Net Income (Loss)",
        "verboseLabel": "Consolidated net income",
        "totalLabel": "NET INCOME",
        "netLabel": "Net income",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent."
       }
      }
     },
     "auth_ref": [
      "r88",
      "r98",
      "r133",
      "r241",
      "r245",
      "r272",
      "r275",
      "r279",
      "r299",
      "r302",
      "r303",
      "r305",
      "r315",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r327",
      "r328",
      "r339",
      "r430",
      "r498",
      "r499",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r507",
      "r508",
      "r533",
      "r545",
      "r548",
      "r553",
      "r626",
      "r663",
      "r735",
      "r836",
      "r874",
      "r1005",
      "r1100",
      "r1117",
      "r1118",
      "r1246",
      "r1248",
      "r1250",
      "r1410",
      "r1676"
     ]
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssued"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounting Pronouncements Recently Adopted or Issued",
        "label": "Accounting Standards Update and Change in Accounting Principle [Text Block]",
        "documentation": "The entire disclosure for change in accounting principle. Includes, but is not limited to, nature, reason, and method of adopting amendment to accounting standards or other change in accounting principle."
       }
      }
     },
     "auth_ref": [
      "r180",
      "r236",
      "r241",
      "r313",
      "r314",
      "r317",
      "r318",
      "r329",
      "r330",
      "r382",
      "r432",
      "r433",
      "r530",
      "r531",
      "r626",
      "r627",
      "r661",
      "r662",
      "r664",
      "r735",
      "r816",
      "r832",
      "r908",
      "r914",
      "r915",
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1035"
     ]
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureBasisOfPresentationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounting Pronouncements Recently Adopted or Issued",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "by_NonAccrualLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NonAccrualLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non Accrual Loans",
        "documentation": "Non accrual loans.",
        "label": "Non Accrual Loans [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "by_NonAgencyResidentialMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NonAgencyResidentialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-Agency, Residential Mortgage-Backed Securities",
        "label": "Non Agency Residential Mortgage Backed Securities [Member]",
        "documentation": "Non-agency residential mortgage backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "by_NonAgencySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NonAgencySecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-Agency Securities.",
        "terseLabel": "Non-Agency",
        "label": "Non Agency Securities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NonGaapMeasureDescriptionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonGaapMeasureDescriptionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-GAAP Measure Description [Text Block]",
        "terseLabel": "Non-GAAP Measure Description"
       }
      }
     },
     "auth_ref": [
      "r1461"
     ]
    },
    "by_NonInterestExpenseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NonInterestExpenseMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-interest Expense",
        "label": "Non Interest Expense [Member]",
        "documentation": "Non-interest expense."
       }
      }
     },
     "auth_ref": []
    },
    "by_NonInterestRelatedIncomeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NonInterestRelatedIncomeMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-Interest Income",
        "label": "Non Interest Related Income [Member]",
        "documentation": "Non-Interest Income."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NonNeosMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonNeosMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-NEOs [Member]",
        "terseLabel": "Non-NEOs"
       }
      }
     },
     "auth_ref": [
      "r1425",
      "r1435",
      "r1445",
      "r1469",
      "r1477"
     ]
    },
    "by_NonOwnerOccupiedCommercialMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NonOwnerOccupiedCommercialMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-owner occupied commercial.",
        "label": "Non-owner Occupied Commercial [member]",
        "terseLabel": "Non-owner Occupied Commercial"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NonPeoNeoAvgCompActuallyPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonPeoNeoAvgCompActuallyPaidAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Compensation Actually Paid Amount",
        "terseLabel": "Non-PEO NEO Average Compensation Actually Paid Amount"
       }
      }
     },
     "auth_ref": [
      "r1452"
     ]
    },
    "ecd_NonPeoNeoAvgTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonPeoNeoAvgTotalCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Total Compensation Amount",
        "terseLabel": "Non-PEO NEO Average Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1451"
     ]
    },
    "ecd_NonPeoNeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonPeoNeoMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO [Member]",
        "terseLabel": "Non-PEO NEO"
       }
      }
     },
     "auth_ref": [
      "r1469"
     ]
    },
    "ecd_NonRule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonRule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "auth_ref": [
      "r1488"
     ]
    },
    "ecd_NonRule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonRule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "auth_ref": [
      "r1488"
     ]
    },
    "by_NoncashInvestingActivitiesDueFromCounterpartiesLoansSoldNotSettled": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NoncashInvestingActivitiesDueFromCounterpartiesLoansSoldNotSettled",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncash Investing Activities Due From Counterparties, Loans Sold, Not Settled",
        "documentation": "Noncash investing activities, due from counterparties - loans sold, not settled.",
        "terseLabel": "Due from counterparties - loans sold, not settled"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NoncashOrPartNoncashAcquisitionIntangibleAssetsAcquired1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NoncashOrPartNoncashAcquisitionIntangibleAssetsAcquired1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncash or Part Noncash Acquisition, Intangible Assets Acquired",
        "terseLabel": "Value ascribed to goodwill",
        "documentation": "The amount of intangibles that an Entity acquires in a noncash (or part noncash) acquisition. Noncash is defined as information about all investing and financing activities of an enterprise during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period."
       }
      }
     },
     "auth_ref": [
      "r38",
      "r39",
      "r40"
     ]
    },
    "us-gaap_NondesignatedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NondesignatedMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivatives Not Designated As Hedging Instruments",
        "label": "Not Designated as Hedging Instrument [Member]",
        "documentation": "Derivative instrument not designated as hedging instrument under Generally Accepted Accounting Principles (GAAP)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NoninterestBearingDepositLiabilitiesDomestic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NoninterestBearingDepositLiabilitiesDomestic",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-interest-bearing deposits",
        "label": "Noninterest-Bearing Deposit Liabilities, Domestic",
        "totalLabel": "Noninterest-bearing Deposit Liabilities, Domestic, Total",
        "documentation": "Amount of domestic noninterest-bearing deposits held by the entity, which may include demand deposits, checking, brokered and retail deposits."
       }
      }
     },
     "auth_ref": [
      "r114"
     ]
    },
    "us-gaap_NoninterestBearingDomesticDepositDemand": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NoninterestBearingDomesticDepositDemand",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-interest-bearing demand deposits",
        "label": "Noninterest-Bearing Domestic Deposit, Demand",
        "documentation": "Amount of money in noninterest-bearing domestic accounts that entitle the depositor to withdraw funds at any time without prior notice, also known as demand deposits."
       }
      }
     },
     "auth_ref": [
      "r114"
     ]
    },
    "us-gaap_NoninterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NoninterestExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total non-interest expense",
        "label": "Noninterest Expense",
        "terseLabel": "Non-interest expense",
        "documentation": "Total aggregate amount of all noninterest expense."
       }
      }
     },
     "auth_ref": [
      "r130",
      "r1248"
     ]
    },
    "us-gaap_NoninterestExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NoninterestExpenseAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "NON-INTEREST EXPENSE",
        "label": "Noninterest Expense [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NoninterestIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NoninterestIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total non-interest income",
        "label": "Noninterest Income",
        "terseLabel": "Non-interest income",
        "documentation": "The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified."
       }
      }
     },
     "auth_ref": [
      "r128",
      "r1248"
     ]
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NoninterestIncomeAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "NON-INTEREST INCOME",
        "label": "Noninterest Income [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NoninterestIncomeOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NoninterestIncomeOther",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other non-interest income",
        "label": "Noninterest Income, Other",
        "totalLabel": "Noninterest Income, Other, Total",
        "documentation": "Represents the total of noninterest income derived from certain activities and assets including (for example): (1) venture capital investments; (2) bank owned life insurance; (3) foreign currency transactions; and (4) mortgage servicing rights."
       }
      }
     },
     "auth_ref": [
      "r128"
     ]
    },
    "us-gaap_NonperformingFinancingReceivableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NonperformingFinancingReceivableMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonperforming Financial Instruments [Member]",
        "terseLabel": "Non-accrual",
        "verboseLabel": "Financing Asset, Non-accrual [Member]",
        "documentation": "Category status of financial instruments in which payments are past due in accordance with the terms of the contract. Financial instruments include, but are not limited to, financing receivables, loans, debt, and investments."
       }
      }
     },
     "auth_ref": [
      "r150",
      "r151",
      "r152",
      "r1645"
     ]
    },
    "us-gaap_NotesReceivableGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NotesReceivableGross",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmountCovered",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails1": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total loans and leases",
        "verboseLabel": "Total loans and leases",
        "label": "Financing Receivable, before Allowance for Credit Loss",
        "terseLabel": "Loans and leases",
        "documentation": "Amortized cost, before allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r151",
      "r159",
      "r186",
      "r187",
      "r255",
      "r383",
      "r447",
      "r457",
      "r865",
      "r1212",
      "r1290",
      "r1291",
      "r1515",
      "r1632"
     ]
    },
    "us-gaap_NotesReceivableNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NotesReceivableNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Loans held for sale pledged as security for borrowings",
        "terseLabel": "Loans acquired with deteriorated credit quality",
        "label": "Financing Receivable, after Allowance for Credit Loss",
        "totalLabel": "Financing Receivable, after Allowance for Credit Loss, Total",
        "documentation": "Amortized cost, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r457",
      "r1088",
      "r1607",
      "r1806"
     ]
    },
    "us-gaap_NotionalAmountOfNonderivativeInstruments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NotionalAmountOfNonderivativeInstruments",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notional Amount of Nonderivative Instruments",
        "terseLabel": "Notional amount of nonderivative instruments",
        "documentation": "Nominal or face amount used to calculate payments on a nonderivative instrument."
       }
      }
     },
     "auth_ref": []
    },
    "by_NumberOfInvestmentSecuritiesWithUnrealizedLosses": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NumberOfInvestmentSecuritiesWithUnrealizedLosses",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment securities with unrealized losses",
        "label": "Number Of Investment Securities With Unrealized Losses",
        "documentation": "Number of investment securities with unrealized losses."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NumberOfReportableSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NumberOfReportableSegments",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of reportable segment",
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements."
       }
      }
     },
     "auth_ref": [
      "r1256",
      "r1266",
      "r1601"
     ]
    },
    "by_NumberOfSharesPurchasedThroughBusinessCombination": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "NumberOfSharesPurchasedThroughBusinessCombination",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares purchased through business combination",
        "label": "Number of Shares Purchased Through Business Combination",
        "terseLabel": "Number of shares purchased"
       }
      }
     },
     "auth_ref": []
    },
    "by_O2024Q41DividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "O2024Q41DividendsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "O 2024 Q4 1Dividends",
        "documentation": "O 2024 Q4 1Dividends member.",
        "label": "O 2024 Q4 1Dividends [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "by_O2024Q4DividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "O2024Q4DividendsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "O 2024 Q4 Dividends member.",
        "label": "O 2024 Q4 Dividends [Member]",
        "terseLabel": "O 2024 Q4 Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "by_O2025Q3DividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "O2025Q3DividendsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "O 2025 Q3 Dividends [Member]",
        "documentation": "O 2025 Q3 dividends.",
        "terseLabel": "O 2025 Q3 Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "by_O2026Q3DividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "O2026Q3DividendsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "O 2026 Q3 Dividends [Member]",
        "documentation": "O 2026 Q3 Dividends.",
        "terseLabel": "O 2026 Q3 Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "by_OccupancyAndEquipmentExpenseNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "OccupancyAndEquipmentExpenseNet",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Occupancy and equipment expense, net",
        "label": "Occupancy And Equipment Expense Net",
        "documentation": "Occupancy and equipment expense, net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OffBalanceSheetCreditLossLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OffBalanceSheetCreditLossLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Off-Balance-Sheet, Credit Loss, Liability",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "documentation": "Amount of expected credit loss for credit exposure on off-balance-sheet commitment, including but not limited to, loan commitment, standby letter of credit, financial guarantee not accounted for as insurance. Excludes off-balance sheet credit exposure accounted for as insurance and instrument accounted for under derivatives and hedging."
       }
      }
     },
     "auth_ref": [
      "r437",
      "r496"
     ]
    },
    "by_OffBalanceSheetCreditLossLiabilityAdjustmentForAcquiredLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "OffBalanceSheetCreditLossLiabilityAdjustmentForAcquiredLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Off Balance Sheet Credit Loss Liability Adjustment For Acquired Loans",
        "documentation": "Off Balance Sheet Credit Loss Liability Adjustment For Acquired Loans",
        "terseLabel": "Adjustment for acquired loans"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Off-Balance-Sheet, Credit Loss, Liability, Credit Loss Expense (Reversal)",
        "terseLabel": "Provision for/(recapture of) unfunded commitments",
        "documentation": "Amount of expense (reversal of expense) for expected credit loss for off-balance sheet credit exposure. Excludes off-balance sheet credit exposure accounted for as insurance and instrument accounted for under derivatives and hedging."
       }
      }
     },
     "auth_ref": [
      "r284",
      "r442"
     ]
    },
    "by_OmnibusPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "OmnibusPlanMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Omnibus Plan",
        "label": "Omnibus Plan [Member]",
        "documentation": "Omnibus plan."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingIncomeLossAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingIncomeLossAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Less:",
        "label": "Operating Income (Loss) [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseCost",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails": {
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating lease cost",
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability."
       }
      }
     },
     "auth_ref": [
      "r896",
      "r1381"
     ]
    },
    "us-gaap_OperatingLeaseLeaseIncomeLeasePayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseLeaseIncomeLeasePayments",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Lease Income, Lease Payments",
        "terseLabel": "Operating cash flows paid for operating lease",
        "documentation": "Amount of operating lease income from lease payments paid and payable to lessor. Excludes variable lease payments not included in measurement of lease receivable."
       }
      }
     },
     "auth_ref": [
      "r348",
      "r906"
     ]
    },
    "us-gaap_OperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails3": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Liability",
        "totalLabel": "Operating Lease, Liability, Total",
        "verboseLabel": "Operating lease liability",
        "terseLabel": "Net lease liabilities",
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease."
       }
      }
     },
     "auth_ref": [
      "r892"
     ]
    },
    "us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Liability, Statement of Financial Position [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of financial position that includes operating lease liability."
       }
      }
     },
     "auth_ref": [
      "r893"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseRightOfUseAsset",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating right-of-use assets",
        "label": "Operating Lease, Right-of-Use Asset",
        "verboseLabel": "Operating lease right-of-use asset",
        "documentation": "Amount of lessee's right to use underlying asset under operating lease."
       }
      }
     },
     "auth_ref": [
      "r891"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseRightOfUseAssetAmortizationExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Right-of-Use Asset, Periodic Reduction",
        "terseLabel": "Right-of-use assets exchanged for operating lease liabilities",
        "documentation": "Amount of periodic reduction over lease term of carrying amount of right-of-use asset from operating lease."
       }
      }
     },
     "auth_ref": [
      "r1583"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of financial position that includes operating lease right-of-use asset."
       }
      }
     },
     "auth_ref": [
      "r893"
     ]
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted-average discount rate of operating leases",
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "documentation": "Weighted average discount rate for operating lease calculated at point in time."
       }
      }
     },
     "auth_ref": [
      "r902",
      "r1381"
     ]
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average remaining life of operating leases",
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r901",
      "r1381"
     ]
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Minimum rental to be received in future on subleases",
        "label": "Operating Leases, Future Minimum Payments Due, Future Minimum Sublease Rentals",
        "documentation": "Contractually required future rental payments receivable on noncancelable subleasing arrangements."
       }
      }
     },
     "auth_ref": [
      "r171"
     ]
    },
    "by_OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating Leases Future Minimum Payments Due Future Minimum Sublease Rentals1",
        "label": "Operating Leases Future Minimum Payments Due Future Minimum Sublease Rentals 1",
        "terseLabel": "Minimum rental to be received in future on subleases"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLossCarryforwards": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLossCarryforwards",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Loss Carryforwards",
        "terseLabel": "Net operating loss carryforwards",
        "documentation": "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws."
       }
      }
     },
     "auth_ref": [
      "r644"
     ]
    },
    "us-gaap_OperatingLossCarryforwardsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLossCarryforwardsTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Loss Carryforwards [Table]",
        "documentation": "Disclosure of information about operating loss carryforward. Includes, but is not limited to, tax authority, amount and expiration date of operating loss carryforward, and likelihood of utilization."
       }
      }
     },
     "auth_ref": [
      "r644"
     ]
    },
    "us-gaap_OperatingSegmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingSegmentsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Segments [Member]",
        "documentation": "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity."
       }
      }
     },
     "auth_ref": [
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r375",
      "r1261",
      "r1262"
     ]
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_OriginatedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "OriginatedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Originated",
        "label": "Originated Loans [Member]",
        "documentation": "Originated loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherBorrowings",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "terseLabel": "Other borrowings",
        "label": "Other Borrowings",
        "documentation": "The carrying amount as of the balance sheet date for the aggregate of other miscellaneous borrowings owed by the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r117",
      "r119"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Securities available-for-sale",
        "label": "OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment and Tax [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net of tax",
        "label": "Other Comprehensive Income (Loss), Available-for-Sale Securities Adjustment, Net of Tax, Portion Attributable to Parent",
        "documentation": "Amount, after tax and reclassification adjustment, of gain (loss) in value of unsold investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), attributable to parent."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r13",
      "r109"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "parentTag": "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Tax effect",
        "label": "Other Comprehensive Income (Loss), Available-for-Sale Securities, Tax, Portion Attributable to Parent",
        "totalLabel": "Other Comprehensive Income (Loss), Available-for-sale Securities, Tax, Portion Attributable to Parent, Total",
        "documentation": "Amount, after reclassification adjustment, of tax expense (benefit) for gain (loss) in value of unsold investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), attributable to parent."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r13",
      "r109"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax [Abstract]",
        "terseLabel": "Hedges"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net of tax",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax, Parent",
        "documentation": "Amount, after tax and reclassification, of gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness, attributable to parent."
       }
      }
     },
     "auth_ref": [
      "r267"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Tax effect",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, Tax",
        "totalLabel": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, Tax, Total",
        "documentation": "Amount, after reclassification, of tax expense (benefit) for gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness."
       }
      }
     },
     "auth_ref": [
      "r268"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification and Tax",
        "verboseLabel": "Amount of Gain (Loss) Recognized in OCI",
        "terseLabel": "Unrealized holding gains arising during the period",
        "documentation": "Amount, before tax and reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness."
       }
      }
     },
     "auth_ref": [
      "r264",
      "r267",
      "r754",
      "r760",
      "r807",
      "r1362"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Reclassification adjustments for net gains included in net income",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax",
        "documentation": "Amount, before tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness."
       }
      }
     },
     "auth_ref": [
      "r267",
      "r270",
      "r762",
      "r1362"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent",
        "terseLabel": "Other comprehensive income (loss), net of tax",
        "verboseLabel": "Other comprehensive income, net of tax",
        "totalLabel": "Total other comprehensive income (loss)",
        "documentation": "Amount after tax of other comprehensive income (loss) attributable to parent entity."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r13",
      "r109",
      "r273",
      "r276",
      "r324"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "parentTag": "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, before Tax",
        "negatedLabel": "Reclassification adjustments for net (gains) losses included in net income",
        "documentation": "Amount before tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r86",
      "r271",
      "r429"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "parentTag": "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment and Tax",
        "terseLabel": "Unrealized holding gains (losses) arising during the period",
        "documentation": "Amount, before tax and adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale."
       }
      }
     },
     "auth_ref": [
      "r265",
      "r267",
      "r429"
     ]
    },
    "us-gaap_OtherCreditDerivativesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherCreditDerivativesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Credit Derivatives",
        "label": "Other Credit Derivatives [Member]",
        "documentation": "Credit derivative contract classified as other."
       }
      }
     },
     "auth_ref": [
      "r1747",
      "r1748"
     ]
    },
    "by_OtherDerivativesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "OtherDerivativesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Derivatives [Member]",
        "documentation": "Other derivatives.",
        "terseLabel": "Other Derivatives"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherInterestAndDividendIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other interest and dividend income",
        "label": "Other Interest and Dividend Income",
        "documentation": "Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "by_OtherInterestRateDerivativesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "OtherInterestRateDerivativesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Interest Rate Derivatives",
        "label": "Other Interest Rate Derivatives [Member]",
        "documentation": "Other interest rate derivatives."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherLiabilitiesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherLiabilitiesDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowings"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Borrowings",
        "label": "Other Liabilities Disclosure [Text Block]",
        "documentation": "The entire disclosure for other liabilities."
       }
      }
     },
     "auth_ref": [
      "r68",
      "r73",
      "r1663"
     ]
    },
    "us-gaap_OtherNoninterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherNoninterestExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other non-interest expense",
        "label": "Other Noninterest Expense",
        "documentation": "Amount of noninterest expense classified as other."
       }
      }
     },
     "auth_ref": [
      "r130",
      "r1248"
     ]
    },
    "ecd_OtherPerfMeasureAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OtherPerfMeasureAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Performance Measure, Amount",
        "terseLabel": "Other Performance Measure, Amount"
       }
      }
     },
     "auth_ref": [
      "r1461"
     ]
    },
    "by_OtherRealEstateAcquisitionThroughBusinessCombination": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "OtherRealEstateAcquisitionThroughBusinessCombination",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquisition of other real estate not separately disclosed, including, but not limited to, real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. This excludes real estate assets taken in settlement of troubled loans through surrender or foreclosure.",
        "label": "Other Real Estate Acquisition Through Business Combination",
        "terseLabel": "Acquisitions of OREO through business combination"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherRealEstateAndForeclosedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherRealEstateAndForeclosedAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Other real estate owned, beginning balance",
        "periodEndLabel": "Other real estate owned, ending balance",
        "label": "Other Real Estate, Foreclosed Assets, and Repossessed Assets",
        "verboseLabel": "Foreclosed real estate properties recorded as result of obtaining physical possession of property",
        "totalLabel": "Other Real Estate, Foreclosed Assets, and Repossessed Assets, Total",
        "documentation": "Carrying amount as of the balance sheet date of other real estate and foreclosed assets. Other real estate may include real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. Foreclosed assets include all assets obtained in full or partial satisfaction of a debt arrangement through foreclosure proceedings."
       }
      }
     },
     "auth_ref": [
      "r112"
     ]
    },
    "by_OtherRealEstateOwnedPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "OtherRealEstateOwnedPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Real Estate Owned",
        "label": "Other Real Estate Owned Portfolio Segment [Member]",
        "documentation": "Other real estate owned portfolio segment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherRealEstateValuationAdjustments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherRealEstateValuationAdjustments",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Valuation adjustments",
        "label": "Other Real Estate, Valuation Adjustments",
        "documentation": "Valuation adjustments made to other real estate not separately disclosed, including, but not limited to, real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. This excludes real estate assets taken in settlement of troubled loans through surrender or foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "by_OtherSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "OtherSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Securities [Member]",
        "label": "Other Securities [Member]",
        "terseLabel": "Other Securities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Categories of Investments",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Categories of Investments [Domain]",
        "documentation": "Provides the categories of debt securities, available-for-sale or held-to-maturity, on which an entity may recognize other than temporary impairments (OTTI) for which a portion related to credit losses has been recognized in earnings and a portion related to all other factors has been recognized in other comprehensive income."
       }
      }
     },
     "auth_ref": [
      "r20"
     ]
    },
    "ecd_OutstandingAggtErrCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OutstandingAggtErrCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Aggregate Erroneous Compensation Amount",
        "terseLabel": "Outstanding Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1423",
      "r1433",
      "r1443",
      "r1475"
     ]
    },
    "ecd_OutstandingRecoveryCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OutstandingRecoveryCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery Compensation Amount",
        "terseLabel": "Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1426",
      "r1436",
      "r1446",
      "r1478"
     ]
    },
    "ecd_OutstandingRecoveryIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OutstandingRecoveryIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r1426",
      "r1436",
      "r1446",
      "r1478"
     ]
    },
    "by_OwnerOccupiedCommercialMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "OwnerOccupiedCommercialMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Owner occupied commercial.",
        "label": "Owner Occupied Commercial [member]",
        "terseLabel": "Owner Occupied Commercial"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PassMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PassMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pass",
        "label": "Pass [Member]",
        "documentation": "A category of financing receivables not considered to be special mention, substandard, doubtful, and loss receivables."
       }
      }
     },
     "auth_ref": [
      "r150",
      "r151",
      "r152",
      "r1645",
      "r1646"
     ]
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Contractual Delinquency Information",
        "label": "Financing Receivable, Past Due [Table Text Block]",
        "documentation": "Tabular disclosure of aging analysis for financing receivable."
       }
      }
     },
     "auth_ref": [
      "r1291",
      "r1641"
     ]
    },
    "ecd_PayVsPerformanceDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PayVsPerformanceDisclosureLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Line Items]",
        "terseLabel": "Pay vs Performance Disclosure"
       }
      }
     },
     "auth_ref": [
      "r1450"
     ]
    },
    "by_PaycheckProtectionProgramLiquidityFacility": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "PaycheckProtectionProgramLiquidityFacility",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Paycheck Protection Program Liquidity Facility",
        "terseLabel": "Paycheck protection program liquidity facility",
        "label": "Paycheck Protection Program Liquidity Facility",
        "documentation": "Paycheck protection program liquidity facility."
       }
      }
     },
     "auth_ref": []
    },
    "by_PaycheckProtectionProgramPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "PaycheckProtectionProgramPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Paycheck Protection Program",
        "label": "Paycheck Protection Program Portfolio Segment [Member]",
        "documentation": "Paycheck protection program portfolio segment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentDeferralMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentDeferralMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payment Deferral [Member]",
        "terseLabel": "Payment Delay",
        "documentation": "Loan modification for a temporary postponement of loan payments."
       }
      }
     },
     "auth_ref": [
      "r391",
      "r392",
      "r394"
     ]
    },
    "by_PaymentsForOriginationsOfUSGovernmentGuaranteedLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "PaymentsForOriginationsOfUSGovernmentGuaranteedLoans",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 19.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Originations of U.S. government guaranteed loans",
        "label": "Payments For Originations Of U S Government Guaranteed Loans",
        "documentation": "Payments for originations of US government guaranteed loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsForProceedsFromFederalHomeLoanBankStock",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 21.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for (Proceeds from) Federal Home Loan Bank Stock",
        "totalLabel": "Payments for (Proceeds from) Federal Home Loan Bank Stock, Total",
        "negatedLabel": "Redemptions of Federal Home Loan Bank stock, net",
        "documentation": "Amount of cash outflow (inflow) from acquisition (sale) of Federal Home Loan Bank (FHLBank) stock."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForProceedsFromLoansAndLeases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsForProceedsFromLoansAndLeases",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 22.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for (Proceeds from) Loans and Leases",
        "totalLabel": "Payments for (Proceeds from) Loans and Leases, Total",
        "negatedTerseLabel": "Proceeds from sales of assets held for sale",
        "negatedLabel": "Net change in loans and leases",
        "documentation": "The net cash outflow or inflow for the increase (decrease) in the beginning and end of period of loan and lease balances which are not originated or purchased specifically for resale. Includes cash payments and proceeds associated with (a) loans held-for-investment, (b) leases held-for-investment, and (c) both."
       }
      }
     },
     "auth_ref": [
      "r981"
     ]
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for Repurchase of Common Stock",
        "negatedLabel": "Repurchases of common stock",
        "documentation": "The cash outflow to reacquire common stock during the period."
       }
      }
     },
     "auth_ref": [
      "r94"
     ]
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsOfDividendsCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 22.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Dividends paid on common stock",
        "label": "Payments of Ordinary Dividends, Common Stock",
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity."
       }
      }
     },
     "auth_ref": [
      "r94"
     ]
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsOfStockIssuanceCosts",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Stock issuance costs",
        "label": "Payments of Stock Issuance Costs",
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security."
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsRelatedToTaxWithholdingForShareBasedCompensation",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payment, Tax Withholding, Share-Based Payment Arrangement",
        "terseLabel": "Common share withholding",
        "documentation": "Amount of cash outflow to satisfy grantee's tax withholding obligation for award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r291"
     ]
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Purchases of securities available-for-sale",
        "label": "Payments to Acquire Debt Securities, Available-for-Sale",
        "documentation": "Amount of cash outflow to acquire investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r30",
      "r289",
      "r396"
     ]
    },
    "us-gaap_PaymentsToAcquireBusinessesGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsToAcquireBusinessesGross",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails2": {
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Cash paid",
        "label": "Payments to Acquire Businesses, Gross",
        "terseLabel": "Consideration paid in cash",
        "documentation": "The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price."
       }
      }
     },
     "auth_ref": [
      "r31",
      "r714",
      "r1315",
      "r1320",
      "r1356"
     ]
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 24.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Purchases of premises and equipment",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "totalLabel": "Payments to Acquire Property, Plant, and Equipment, Total",
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets."
       }
      }
     },
     "auth_ref": [
      "r93"
     ]
    },
    "ecd_PeerGroupIssuersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeerGroupIssuersFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Issuers, Footnote [Text Block]",
        "terseLabel": "Peer Group Issuers, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1460"
     ]
    },
    "ecd_PeerGroupTotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeerGroupTotalShareholderRtnAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Total Shareholder Return Amount",
        "terseLabel": "Peer Group Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r1460"
     ]
    },
    "ecd_PeoActuallyPaidCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoActuallyPaidCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Actually Paid Compensation Amount",
        "terseLabel": "PEO Actually Paid Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1452"
     ]
    },
    "ecd_PeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO [Member]",
        "terseLabel": "PEO"
       }
      }
     },
     "auth_ref": [
      "r1469"
     ]
    },
    "ecd_PeoName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Name",
        "terseLabel": "PEO Name"
       }
      }
     },
     "auth_ref": [
      "r1462"
     ]
    },
    "ecd_PeoTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoTotalCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Total Compensation Amount",
        "terseLabel": "PEO Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1451"
     ]
    },
    "by_PercentageOfShareholdersEquityForWhichSecuritiesHoldingsExceedsForNoIssuerOtherThanUSGovernmentAndAgencies": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "PercentageOfShareholdersEquityForWhichSecuritiesHoldingsExceedsForNoIssuerOtherThanUSGovernmentAndAgencies",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of shareholders equity for which securities holdings exceeds for no issuer other than U.S. Government and agencies",
        "label": "Percentage Of Shareholders Equity For Which Securities Holdings Exceeds For No Issuer Other Than U S Government And Agencies",
        "documentation": "Percentage of shareholders equity for which securities holdings exceeds for no issuer other than U.S. Government and agencies."
       }
      }
     },
     "auth_ref": []
    },
    "by_PerformanceBasedRestrictedSharesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "PerformanceBasedRestrictedSharesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Performance-based Restricted Shares",
        "label": "Performance Based Restricted Shares [Member]",
        "documentation": "Performance based restricted shares."
       }
      }
     },
     "auth_ref": []
    },
    "by_PerformanceOptionsGrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "PerformanceOptionsGrantsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Performance options grants.",
        "terseLabel": "Performance Options Grants",
        "label": "Performance Options Grants [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PerformanceSharesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PerformanceSharesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Shares [Member]",
        "terseLabel": "Performance Share",
        "documentation": "Share-based payment arrangement awarded for meeting performance target."
       }
      }
     },
     "auth_ref": [
      "r1691",
      "r1692",
      "r1693",
      "r1694",
      "r1695",
      "r1696",
      "r1697",
      "r1698",
      "r1699",
      "r1700",
      "r1701",
      "r1702",
      "r1703",
      "r1704",
      "r1705",
      "r1706",
      "r1707",
      "r1708",
      "r1709",
      "r1710",
      "r1711",
      "r1712",
      "r1713",
      "r1714",
      "r1715",
      "r1716"
     ]
    },
    "by_PhaseOutRulesPercentageOfSubordinatedDebt": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "PhaseOutRulesPercentageOfSubordinatedDebt",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Phase out rules percentage of subordinated debt",
        "label": "Phase Out Rules Percentage Of Subordinated Debt",
        "documentation": "Phase out rules percentage of subordinated debt."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PlanNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PlanNameAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Plan Name",
        "label": "Plan Name [Axis]",
        "documentation": "Information by plan name for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1691",
      "r1692",
      "r1693",
      "r1694",
      "r1695",
      "r1696",
      "r1697",
      "r1698",
      "r1699",
      "r1700",
      "r1701",
      "r1702",
      "r1703",
      "r1704",
      "r1705",
      "r1706",
      "r1707",
      "r1708",
      "r1709",
      "r1710",
      "r1711",
      "r1712",
      "r1713",
      "r1714",
      "r1715",
      "r1716"
     ]
    },
    "us-gaap_PlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PlanNameDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Plan Name",
        "label": "Plan Name [Domain]",
        "documentation": "Plan name for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1691",
      "r1692",
      "r1693",
      "r1694",
      "r1695",
      "r1696",
      "r1697",
      "r1698",
      "r1699",
      "r1700",
      "r1701",
      "r1702",
      "r1703",
      "r1704",
      "r1705",
      "r1706",
      "r1707",
      "r1708",
      "r1709",
      "r1710",
      "r1711",
      "r1712",
      "r1713",
      "r1714",
      "r1715",
      "r1716"
     ]
    },
    "ecd_PnsnAdjsPrrSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PnsnAdjsPrrSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pension Adjustments Prior Service Cost [Member]",
        "terseLabel": "Pension Adjustments Prior Service Cost"
       }
      }
     },
     "auth_ref": [
      "r1453"
     ]
    },
    "ecd_PnsnAdjsSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PnsnAdjsSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pension Adjustments Service Cost [Member]",
        "terseLabel": "Pension Adjustments Service Cost"
       }
      }
     },
     "auth_ref": [
      "r1497"
     ]
    },
    "ecd_PnsnBnftsAdjFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PnsnBnftsAdjFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pension Benefits Adjustments, Footnote [Text Block]",
        "terseLabel": "Pension Benefits Adjustments, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1452"
     ]
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Disclosure Item Amounts [Default]",
        "label": "Portion at Fair Value Measurement [Member]",
        "axisDefault": "Portion at Fair Value Measurement [Member] [Default]",
        "documentation": "Measured at fair value for financial reporting purposes."
       }
      }
     },
     "auth_ref": [
      "r866",
      "r867",
      "r869",
      "r870",
      "r872",
      "r874",
      "r875",
      "r1233",
      "r1775"
     ]
    },
    "us-gaap_PreferredStockNoParValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockNoParValue",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred shares par value",
        "label": "Preferred Stock, No Par Value",
        "documentation": "Face amount per share of no-par value preferred stock nonredeemable or redeemable solely at the option of the issuer."
       }
      }
     },
     "auth_ref": [
      "r76",
      "r1682"
     ]
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "terseLabel": "Preferred stock, Par value",
        "verboseLabel": "Par value per share",
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer."
       }
      }
     },
     "auth_ref": [
      "r76",
      "r555"
     ]
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockSharesAuthorized",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred stock, Shares authorized",
        "verboseLabel": "Shares authorized",
        "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."
       }
      }
     },
     "auth_ref": [
      "r76",
      "r1080"
     ]
    },
    "us-gaap_PreferredStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockSharesIssued",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock, Shares Issued",
        "totalLabel": "Preferred Stock, Shares Issued, Total",
        "terseLabel": "Preferred stock, Shares issued",
        "verboseLabel": "Shares issued",
        "documentation": "Number of shares issued for nonredeemable preferred shares and preferred shares redeemable solely at option of issuer. Includes, but is not limited to, preferred shares issued, repurchased, and held as treasury shares. Excludes preferred shares classified as debt."
       }
      }
     },
     "auth_ref": [
      "r76",
      "r555"
     ]
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockSharesOutstanding",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred Stock, Shares Outstanding",
        "periodStartLabel": "Preferred Stock, Shares Outstanding, Beginning Balance",
        "periodEndLabel": "Preferred Stock, Shares Outstanding, Ending Balance",
        "terseLabel": "Preferred stock, Shares outstanding",
        "verboseLabel": "Shares outstanding",
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased."
       }
      }
     },
     "auth_ref": [
      "r76",
      "r1080",
      "r1099",
      "r1844",
      "r1845"
     ]
    },
    "us-gaap_PreferredStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockValue",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred stock",
        "label": "Preferred Stock, Value, Issued",
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity."
       }
      }
     },
     "auth_ref": [
      "r76",
      "r544",
      "r550",
      "r998",
      "r1382"
     ]
    },
    "us-gaap_PrimeRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PrimeRateMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prime Rate",
        "label": "Prime Rate [Member]",
        "documentation": "Interest rate charged by financial institutions to their most creditworthy borrowers."
       }
      }
     },
     "auth_ref": [
      "r1527",
      "r1675"
     ]
    },
    "us-gaap_PrincipalAmountOutstandingOfLoansHeldInPortfolio": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PrincipalAmountOutstandingOfLoansHeldInPortfolio",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unpaid principal balances of loans serviced",
        "label": "Loan, Held-in-Portfolio, Principal Outstanding",
        "totalLabel": "Principal Amount Outstanding of Loans Held-in-portfolio, Total",
        "documentation": "This is the result of the principal amount outstanding of total loans managed or securitized less securitized loans and loans that are in the process of being securitized."
       }
      }
     },
     "auth_ref": [
      "r21"
     ]
    },
    "us-gaap_PrincipalAmountOutstandingOfLoansHeldInPortfolioAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PrincipalAmountOutstandingOfLoansHeldInPortfolioAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan portfolios serviced for:",
        "label": "Loan, Held-in-Portfolio, Principal Outstanding [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrincipalForgivenessMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PrincipalForgivenessMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Principal Forgiveness [Member]",
        "terseLabel": "Combination Term Modification and Principal Forgiveness",
        "documentation": "Loan modification for a reduction in the amount of unpaid principal on a loan."
       }
      }
     },
     "auth_ref": [
      "r391",
      "r392",
      "r394",
      "r1268"
     ]
    },
    "by_ProceedsFromInternallyFinancedSaleOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ProceedsFromInternallyFinancedSaleOfOtherRealEstate",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from sale of internally financed sales of OREO",
        "label": "Proceeds From Internally Financed Sale Of Other Real Estate",
        "documentation": "Proceeds from internally financed sale of other real estate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from issuance of common stock",
        "label": "Proceeds from Issuance of Common Stock",
        "documentation": "The cash inflow from the additional capital contribution to the entity."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_ProceedsFromIssuanceOfLongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromIssuanceOfLongTermDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Issuance of Long-Term Debt",
        "totalLabel": "Proceeds from Issuance of Long-Term Debt, Total",
        "terseLabel": "Proceeds from long-term borrowings",
        "documentation": "The cash inflow from a debt initially having maturity due after one year or beyond the operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r32",
      "r1040"
     ]
    },
    "us-gaap_ProceedsFromLifeInsurancePolicies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromLifeInsurancePolicies",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 19.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from bank owned life insurance death benefit",
        "label": "Proceeds from Life Insurance Policy",
        "documentation": "Amount of cash inflow for proceeds from settlement of corporate-owned life insurance policy, classified as investing activities. Includes, but is not limited to, bank-owned life insurance policy."
       }
      }
     },
     "auth_ref": [
      "r6",
      "r27"
     ]
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from maturities and calls of securities available-for-sale",
        "label": "Proceeds from Maturities, Prepayments and Calls of Debt Securities, Available-for-Sale",
        "documentation": "Amount of cash inflow from maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r289",
      "r290",
      "r1614"
     ]
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from maturities and calls of securities held-to-maturity",
        "label": "Proceeds from Maturities, Prepayments and Calls of Held-to-Maturity Securities",
        "documentation": "The cash inflow associated with the maturity, prepayments and calls (requests for early payments) of debt securities designated as held-to-maturity."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r1614"
     ]
    },
    "by_ProceedsFromOtherLoansAndLeasesSold": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ProceedsFromOtherLoansAndLeasesSold",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from other loans and leases sold",
        "label": "Proceeds from Other Loans and Leases Sold",
        "documentation": "Proceeds from other loans and leases sold."
       }
      }
     },
     "auth_ref": []
    },
    "by_ProceedsFromPaydownsOfSecuritiesAvailableForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ProceedsFromPaydownsOfSecuritiesAvailableForSale",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from paydowns of securities available-for-sale",
        "label": "Proceeds From Paydowns Of Securities Available For Sale",
        "documentation": "Proceeds from paydowns of securities available-for-sale."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from (Payments for) in Securities Sold under Agreements to Repurchase",
        "terseLabel": "Net change in securities sold under agreements to repurchase",
        "documentation": "The cash flow from investments sold under the agreement to repurchase such investment."
       }
      }
     },
     "auth_ref": [
      "r35",
      "r36"
     ]
    },
    "us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfProceedsFromSalesAndCallsOfSecuritiesAvailableforsaleAndAssociatedGainsAndLossesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Sale and Maturity of Debt Securities, Available-for-Sale",
        "totalLabel": "Proceeds from Sale and Maturity of Debt Securities, Available-for-Sale, Total",
        "terseLabel": "Proceeds",
        "documentation": "Amount of cash inflow from sale, maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r289",
      "r290",
      "r1614"
     ]
    },
    "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds",
        "label": "Proceeds from Sale of Debt Securities, Available-for-Sale",
        "verboseLabel": "Proceeds from sales of securities available-for-sale",
        "documentation": "Amount of cash inflow from sale of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r289",
      "r396",
      "r428"
     ]
    },
    "us-gaap_ProceedsFromSaleOfEquityMethodInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromSaleOfEquityMethodInvestments",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Sale of Equity Method Investments",
        "terseLabel": "Proceeds from calls of equity securities",
        "documentation": "The cash inflow associated with the sale of 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."
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromSaleOfEquitySecuritiesFvNi",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from sales of equity securities",
        "label": "Proceeds from Sale of Equity Securities, FV-NI",
        "documentation": "Amount of cash inflow from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as investing activity."
       }
      }
     },
     "auth_ref": [
      "r173",
      "r293"
     ]
    },
    "us-gaap_ProceedsFromSaleOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromSaleOfOtherRealEstate",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 27.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from sales of other real estate owned",
        "label": "Proceeds from Sale of Other Real Estate",
        "documentation": "The cash inflow associated with the sale of other real estate not otherwise defined in the taxonomy."
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "by_ProceedsFromSalesOfAssetsHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ProceedsFromSalesOfAssetsHeldForSale",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from sales of assets held for sale.",
        "label": "Proceeds From Sales Of Assets Held For Sale",
        "terseLabel": "Proceeds from sales of assets held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "by_ProceedsFromSalesOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ProceedsFromSalesOfOtherRealEstate",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Proceeds from sales of OREO",
        "label": "Proceeds From Sales Of Other Real Estate",
        "documentation": "Proceeds from sales of other real estate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromShortTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromShortTermDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from short-term borrowings",
        "label": "Proceeds from Short-Term Debt",
        "totalLabel": "Proceeds from Short-term Debt, Total",
        "documentation": "The cash inflow from a borrowing having initial term of repayment within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r32"
     ]
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromStockOptionsExercised",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Stock Options Exercised",
        "terseLabel": "Proceeds from the exercise of stock options",
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r3",
      "r17"
     ]
    },
    "by_ProceedsFromUSGovernmentGuaranteedLoansSold": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ProceedsFromUSGovernmentGuaranteedLoansSold",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from US government guaranteed loans sold.",
        "terseLabel": "Proceeds from U.S. government guaranteed loans sold",
        "label": "Proceeds From U S Government Guaranteed Loans Sold"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ProductOrServiceAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ProductOrServiceAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Product and Service",
        "label": "Product and Service [Axis]",
        "documentation": "Information by product and service, or group of similar products and similar services."
       }
      }
     },
     "auth_ref": [
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r227",
      "r377",
      "r968",
      "r1013",
      "r1014",
      "r1015",
      "r1016",
      "r1017",
      "r1018",
      "r1019",
      "r1234",
      "r1245",
      "r1248",
      "r1250",
      "r1302",
      "r1303",
      "r1388",
      "r1389",
      "r1390",
      "r1391",
      "r1395",
      "r1506",
      "r1522",
      "r1542",
      "r1543",
      "r1544",
      "r1545",
      "r1546",
      "r1547",
      "r1548",
      "r1549",
      "r1550",
      "r1551",
      "r1552",
      "r1553",
      "r1554",
      "r1555",
      "r1556",
      "r1557",
      "r1558",
      "r1559",
      "r1560",
      "r1561",
      "r1562",
      "r1563",
      "r1564",
      "r1565",
      "r1566",
      "r1567",
      "r1568",
      "r1569",
      "r1570",
      "r1571",
      "r1572",
      "r1573",
      "r1574",
      "r1575",
      "r1576",
      "r1577",
      "r1578",
      "r1579",
      "r1580",
      "r1581",
      "r1582",
      "r1671",
      "r1672",
      "r1807",
      "r1810",
      "r1811",
      "r1812",
      "r1813",
      "r1814",
      "r1815",
      "r1816",
      "r1817",
      "r1818",
      "r1819",
      "r1820",
      "r1821",
      "r1822",
      "r1823",
      "r1824",
      "r1825",
      "r1826",
      "r1827",
      "r1828",
      "r1829",
      "r1830",
      "r1831",
      "r1832",
      "r1833",
      "r1834",
      "r1835",
      "r1837",
      "r1838"
     ]
    },
    "srt_ProductsAndServicesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ProductsAndServicesDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Product and Service",
        "label": "Product and Service [Domain]",
        "documentation": "Product or service, or a group of similar products or similar services."
       }
      }
     },
     "auth_ref": [
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r227",
      "r377",
      "r968",
      "r1013",
      "r1014",
      "r1015",
      "r1016",
      "r1017",
      "r1018",
      "r1019",
      "r1234",
      "r1245",
      "r1248",
      "r1250",
      "r1302",
      "r1303",
      "r1388",
      "r1389",
      "r1390",
      "r1391",
      "r1395",
      "r1506",
      "r1522",
      "r1542",
      "r1543",
      "r1544",
      "r1545",
      "r1546",
      "r1547",
      "r1548",
      "r1549",
      "r1550",
      "r1551",
      "r1552",
      "r1553",
      "r1554",
      "r1555",
      "r1556",
      "r1557",
      "r1558",
      "r1559",
      "r1560",
      "r1561",
      "r1562",
      "r1563",
      "r1564",
      "r1565",
      "r1566",
      "r1567",
      "r1568",
      "r1569",
      "r1570",
      "r1571",
      "r1572",
      "r1573",
      "r1574",
      "r1575",
      "r1576",
      "r1577",
      "r1578",
      "r1579",
      "r1580",
      "r1581",
      "r1582",
      "r1671",
      "r1672",
      "r1807",
      "r1810",
      "r1811",
      "r1812",
      "r1813",
      "r1814",
      "r1815",
      "r1816",
      "r1817",
      "r1818",
      "r1819",
      "r1820",
      "r1821",
      "r1822",
      "r1823",
      "r1824",
      "r1825",
      "r1826",
      "r1827",
      "r1828",
      "r1829",
      "r1830",
      "r1831",
      "r1832",
      "r1833",
      "r1834",
      "r1835",
      "r1837",
      "r1838"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PropertyPlantAndEquipmentNet",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Premises and equipment, net",
        "label": "Property, Plant and Equipment, Net",
        "totalLabel": "Property, Plant and Equipment, Net, Total",
        "periodStartLabel": "Property, Plant and Equipment, Net, Beginning Balance",
        "periodEndLabel": "Property, Plant and Equipment, Net, Ending Balance",
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r904",
      "r992",
      "r1003",
      "r1382"
     ]
    },
    "by_ProvisionForCreditLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ProvisionForCreditLosses",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provision for credit losses.",
        "label": "Provision for Credit Losses",
        "terseLabel": "Provision for credit losses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProvisionForLoanLossesExpensed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProvisionForLoanLossesExpensed",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Provision/(recapture) for credit losses",
        "label": "Financing Receivable, Credit Loss, Expense (Reversal)",
        "documentation": "Amount of credit loss expense (reversal of expense) for financing receivable."
       }
      }
     },
     "auth_ref": [
      "r284",
      "r442",
      "r975"
     ]
    },
    "us-gaap_ProvisionForOtherCreditLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProvisionForOtherCreditLosses",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Provision for Other Credit Losses",
        "terseLabel": "PROVISION FOR CREDIT LOSSES",
        "documentation": "Amount of expense related to credit loss from transactions other than loan and lease transactions."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r125"
     ]
    },
    "by_PublicFundDepositsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "PublicFundDepositsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Public Fund Deposits",
        "label": "Public Fund Deposits [Member]",
        "documentation": "Public fund deposits."
       }
      }
     },
     "auth_ref": []
    },
    "by_PurchaseCreditDeterioratedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "PurchaseCreditDeterioratedMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase Credit Deteriorated.",
        "label": "Purchase Credit Deteriorated [Member]",
        "terseLabel": "Purchased Credit Deteriorated"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_PvpTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PvpTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Table]",
        "terseLabel": "Pay vs Performance Disclosure"
       }
      }
     },
     "auth_ref": [
      "r1450"
     ]
    },
    "ecd_PvpTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PvpTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance [Table Text Block]",
        "terseLabel": "Pay vs Performance Disclosure, Table"
       }
      }
     },
     "auth_ref": [
      "r1450"
     ]
    },
    "by_QualifyPercentageOfSubordinatedDebt": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "QualifyPercentageOfSubordinatedDebt",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Qualify Percentage Of Subordinated Debt",
        "documentation": "Qualify percentage of subordinated debt.",
        "terseLabel": "Qualify percentage of subordinated debt"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement",
        "label": "Statistical Measurement [Axis]",
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median."
       }
      }
     },
     "auth_ref": [
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r214",
      "r216",
      "r217",
      "r229",
      "r230",
      "r352",
      "r492",
      "r493",
      "r494",
      "r495",
      "r574",
      "r584",
      "r615",
      "r616",
      "r617",
      "r623",
      "r630",
      "r842",
      "r925",
      "r942",
      "r967",
      "r1020",
      "r1022",
      "r1036",
      "r1069",
      "r1070",
      "r1127",
      "r1146",
      "r1152",
      "r1153",
      "r1192",
      "r1213",
      "r1214",
      "r1216",
      "r1217",
      "r1230",
      "r1231",
      "r1268",
      "r1301",
      "r1311",
      "r1315",
      "r1322",
      "r1325",
      "r1372",
      "r1373",
      "r1377",
      "r1378",
      "r1389",
      "r1398",
      "r1668",
      "r1678",
      "r1761",
      "r1788",
      "r1789",
      "r1790",
      "r1791",
      "r1792"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement",
        "label": "Statistical Measurement [Domain]",
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median."
       }
      }
     },
     "auth_ref": [
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r214",
      "r216",
      "r217",
      "r229",
      "r230",
      "r352",
      "r492",
      "r493",
      "r494",
      "r495",
      "r574",
      "r584",
      "r615",
      "r616",
      "r617",
      "r623",
      "r630",
      "r842",
      "r925",
      "r942",
      "r967",
      "r1020",
      "r1022",
      "r1036",
      "r1069",
      "r1070",
      "r1127",
      "r1146",
      "r1152",
      "r1153",
      "r1192",
      "r1213",
      "r1214",
      "r1216",
      "r1217",
      "r1230",
      "r1231",
      "r1268",
      "r1301",
      "r1311",
      "r1315",
      "r1322",
      "r1325",
      "r1372",
      "r1373",
      "r1377",
      "r1378",
      "r1389",
      "r1398",
      "r1668",
      "r1678",
      "r1761",
      "r1788",
      "r1789",
      "r1790",
      "r1791",
      "r1792"
     ]
    },
    "us-gaap_RealEstateAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RealEstateAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RealEstateLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RealEstateLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Real Estate [Line Items]",
        "label": "Real Estate [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r1230"
     ]
    },
    "us-gaap_RealEstateOwnedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RealEstateOwnedTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwned"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Real Estate Owned",
        "label": "Real Estate Owned [Text Block]",
        "documentation": "The entire disclosure for real estate owned (as defined). Generally, the largest component of real estate owned by lenders is assets taken in settlement of troubled loans through surrender or foreclosure. Real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned."
       }
      }
     },
     "auth_ref": [
      "r1608"
     ]
    },
    "us-gaap_RealEstateTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RealEstateTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Real Estate [Table]",
        "label": "Real Estate [Table]",
        "documentation": "Disclosure of information about real estate investment companies including, but not limited to, real estate investment trusts, real estate owned, retail land sales, and time share transactions."
       }
      }
     },
     "auth_ref": [
      "r1230"
     ]
    },
    "us-gaap_ReceivablesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ReceivablesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_ReceiveFixedInterestRateSwapsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ReceiveFixedInterestRateSwapsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receive Fixed Interest Rate Swaps [Member]",
        "documentation": "Receive-fixed interest rate swaps.",
        "terseLabel": "Receive-Fixed Interest Rate Swaps"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ReconciliationFromSegmentTotalsToConsolidatedAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reconciliation [Abstract]",
        "terseLabel": "Reconciliation of revenue:"
       }
      }
     },
     "auth_ref": []
    },
    "by_ReconciliationOfAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ReconciliationOfAssetsAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reconciliation of Assets [Abstract]",
        "documentation": "Reconciliation of Assets [Abstract]",
        "terseLabel": "Reconciliation of assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Abstract]",
        "terseLabel": "Reconciliation of profit or loss:"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_RecoveryOfErrCompDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RecoveryOfErrCompDisclosureLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Recovery of Erroneously Awarded Compensation Disclosure [Line Items]",
        "terseLabel": "Recovery of Erroneously Awarded Compensation Disclosure"
       }
      }
     },
     "auth_ref": [
      "r1418",
      "r1428",
      "r1438",
      "r1470"
     ]
    },
    "us-gaap_RepaymentsOfShortTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepaymentsOfShortTermDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repayments of short-term borrowings",
        "label": "Repayments of Short-Term Debt",
        "totalLabel": "Repayments of Short-term Debt, Total",
        "documentation": "The cash outflow for a borrowing having initial term of repayment within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r95"
     ]
    },
    "by_RepaymentsOfTermLoan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "RepaymentsOfTermLoan",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Repayments of term loan",
        "label": "Repayments of Term Loan",
        "negatedLabel": "Repayments of term loan"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RepurchaseAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepurchaseAgreementsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Customer Repurchase Agreements",
        "label": "Repurchase Agreements [Member]",
        "documentation": "Investments represented by an agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Such agreements are generally short-term in nature."
       }
      }
     },
     "auth_ref": []
    },
    "by_RequiredInvestmentInFederalHomeLoanBankConversionRatio": {
     "xbrltype": "pureItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "RequiredInvestmentInFederalHomeLoanBankConversionRatio",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Federal home loan bank, required investment conversion ratio",
        "label": "Required Investment In Federal Home Loan Bank Conversion Ratio",
        "documentation": "Ratio applied to the conversion of required investment in Federal Home Loan Bank (FHL Bank) $1 for every $ 20."
       }
      }
     },
     "auth_ref": []
    },
    "by_ResidentialConstructionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ResidentialConstructionMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Residential Construction [Member]",
        "documentation": "Residential Construction Member",
        "terseLabel": "Residential Construction"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ResidentialMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ResidentialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage-Backed Securities; Residential",
        "label": "Residential Mortgage-Backed Securities [Member]",
        "documentation": "Securities collateralized by residential real estate mortgage loans."
       }
      }
     },
     "auth_ref": [
      "r1367",
      "r1370",
      "r1372",
      "r1615",
      "r1617",
      "r1622",
      "r1623",
      "r1624",
      "r1689",
      "r1690"
     ]
    },
    "us-gaap_ResidentialPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ResidentialPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Residential Real Estate",
        "label": "Residential Portfolio Segment [Member]",
        "documentation": "Portfolio segment of the company's total financing receivables related to residential financing receivables."
       }
      }
     },
     "auth_ref": [
      "r1633",
      "r1635",
      "r1636",
      "r1637",
      "r1638",
      "r1639",
      "r1640"
     ]
    },
    "us-gaap_ResidentialRealEstateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ResidentialRealEstateMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Residential Real Estate",
        "label": "Residential Real Estate [Member]",
        "documentation": "Property that is used as a home."
       }
      }
     },
     "auth_ref": [
      "r1268",
      "r1280",
      "r1689",
      "r1690"
     ]
    },
    "ecd_RestatementDateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RestatementDateAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date [Axis]",
        "terseLabel": "Restatement Determination Date:"
       }
      }
     },
     "auth_ref": [
      "r1419",
      "r1429",
      "r1439",
      "r1471"
     ]
    },
    "ecd_RestatementDeterminationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RestatementDeterminationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date",
        "terseLabel": "Restatement Determination Date"
       }
      }
     },
     "auth_ref": [
      "r1420",
      "r1430",
      "r1440",
      "r1472"
     ]
    },
    "ecd_RestatementDoesNotRequireRecoveryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RestatementDoesNotRequireRecoveryTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Does Not Require Recovery [Text Block]",
        "terseLabel": "Restatement does not require Recovery"
       }
      }
     },
     "auth_ref": [
      "r1427",
      "r1437",
      "r1447",
      "r1479"
     ]
    },
    "us-gaap_RestrictedInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RestrictedInvestments",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restricted stock, at cost",
        "label": "Restricted Investments",
        "documentation": "Investments which are not defined as or included in marketable (debt, equity, or other) securities whose use is restricted in whole or in part, generally by contractual agreements or regulatory requirements. For use in an unclassified balance sheet."
       }
      }
     },
     "auth_ref": [
      "r1218",
      "r1219"
     ]
    },
    "us-gaap_RestrictedStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RestrictedStockMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Restricted Stock Award",
        "terseLabel": "Restricted Shares",
        "label": "Restricted Stock [Member]",
        "documentation": "Stock including a provision that prohibits sale or substantive sale of an equity instrument for a specified period of time or until specified performance conditions are met."
       }
      }
     },
     "auth_ref": [
      "r1599",
      "r1691",
      "r1692",
      "r1693",
      "r1694",
      "r1695",
      "r1696",
      "r1697",
      "r1698",
      "r1699",
      "r1700",
      "r1701",
      "r1702",
      "r1703",
      "r1704",
      "r1705",
      "r1706",
      "r1707",
      "r1708",
      "r1709",
      "r1710",
      "r1711",
      "r1712",
      "r1713",
      "r1714",
      "r1715",
      "r1716"
     ]
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RetainedEarningsAccumulatedDeficit",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Retained earnings",
        "label": "Retained Earnings (Accumulated Deficit)",
        "periodEndLabel": "Retained Earnings (Accumulated Deficit), Ending Balance",
        "totalLabel": "Retained Earnings (Accumulated Deficit), Total",
        "periodStartLabel": "Retained Earnings (Accumulated Deficit), Beginning Balance",
        "documentation": "Amount of accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r80",
      "r105",
      "r1001",
      "r1030",
      "r1035",
      "r1044",
      "r1081",
      "r1382"
     ]
    },
    "us-gaap_RetainedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RetainedEarningsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Retained Earnings",
        "label": "Retained Earnings [Member]",
        "documentation": "Accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r233",
      "r240",
      "r241",
      "r309",
      "r310",
      "r311",
      "r316",
      "r324",
      "r326",
      "r328",
      "r431",
      "r436",
      "r485",
      "r532",
      "r626",
      "r645",
      "r646",
      "r658",
      "r659",
      "r660",
      "r664",
      "r734",
      "r735",
      "r811",
      "r813",
      "r814",
      "r818",
      "r834",
      "r888",
      "r890",
      "r1026",
      "r1028",
      "r1046",
      "r1844"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": "by_SegmentNetInterestIncomeAndNoninterestIncome",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total consolidated revenue",
        "label": "Revenue from Contract with Customer, Excluding Assessed Tax",
        "documentation": "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise."
       }
      }
     },
     "auth_ref": [
      "r143",
      "r144",
      "r347",
      "r359",
      "r360",
      "r368",
      "r374",
      "r377",
      "r379",
      "r380",
      "r571",
      "r572",
      "r573",
      "r968",
      "r1246",
      "r1250"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value of servicing assets",
        "label": "Revenue from Contract with Customer, Including Assessed Tax",
        "documentation": "Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise."
       }
      }
     },
     "auth_ref": [
      "r143",
      "r144",
      "r347",
      "r359",
      "r360",
      "r368",
      "r374",
      "r377",
      "r379",
      "r380",
      "r571",
      "r572",
      "r573",
      "r968"
     ]
    },
    "us-gaap_RevolvingCreditFacilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RevolvingCreditFacilityMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revolving Credit Facility [Member]",
        "terseLabel": "Revolving Credit Facility",
        "documentation": "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount."
       }
      }
     },
     "auth_ref": []
    },
    "by_RidgeStoneCapitalTrustIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "RidgeStoneCapitalTrustIMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "RidgeStone Capital Trust I",
        "label": "Ridge Stone Capital Trust I [Member]",
        "documentation": "RidgeStone capital trust I."
       }
      }
     },
     "auth_ref": []
    },
    "by_RidgestoneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "RidgestoneMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ridgestone",
        "label": "Ridgestone [Member]",
        "documentation": "Ridgestone."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Right-of-Use Asset Obtained in Exchange for Operating Lease Liability",
        "terseLabel": "Right-of-use lease assets in exchange for operating lease liabilities",
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for operating lease liability."
       }
      }
     },
     "auth_ref": [
      "r900",
      "r1381"
     ]
    },
    "by_RiskRatingsForLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "RiskRatingsForLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk ratings for loans.",
        "label": "Risk Ratings for Loans",
        "terseLabel": "Risk ratings for loans"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_Rule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "Rule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "auth_ref": [
      "r1488"
     ]
    },
    "ecd_Rule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "Rule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "auth_ref": [
      "r1488"
     ]
    },
    "by_SBAGuaranteedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SBAGuaranteedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SBA guaranteed loans",
        "label": "S B A Guaranteed Loans [Member]",
        "documentation": "SBA guaranteed loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SaleOfStockNumberOfSharesIssuedInTransaction",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale of Stock, Number of Shares Issued in Transaction",
        "terseLabel": "Shares purchased in public offering price",
        "documentation": "The number of shares issued or sold by the subsidiary or equity method investee per stock transaction."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SaleOfStockPricePerShare",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Price of shares issued",
        "label": "Sale of Stock, Price Per Share",
        "documentation": "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction."
       }
      }
     },
     "auth_ref": []
    },
    "srt_ScenarioForecastMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ScenarioForecastMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast [Member]",
        "terseLabel": "Forecast",
        "documentation": "Information reported for future period. Excludes information expected to be reported in future period for effect on historical fact."
       }
      }
     },
     "auth_ref": [
      "r585",
      "r1519"
     ]
    },
    "srt_ScenarioUnspecifiedDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ScenarioUnspecifiedDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]",
        "documentation": "Scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts."
       }
      }
     },
     "auth_ref": [
      "r228",
      "r242",
      "r243",
      "r329",
      "r585",
      "r1502"
     ]
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Accounts Notes Loans And Financing Receivable [Table]",
        "label": "Accounts and Financing Receivables [Table]",
        "documentation": "Disclosure of information about accounts and financing receivables. Includes, but is not limited to, amount of receivable and allowance for credit loss."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r84",
      "r384",
      "r1611"
     ]
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Outstanding Loan and Lease Receivables",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]",
        "documentation": "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r84"
     ]
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss)",
        "label": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "documentation": "Tabular disclosure of the components of accumulated other comprehensive income (loss)."
       }
      }
     },
     "auth_ref": [
      "r25",
      "r1777",
      "r1778"
     ]
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfAvailableForSaleSecuritiesLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Available For Sale Securities [Line Items]",
        "label": "Debt Securities, Available-for-Sale [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409"
     ]
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfPreliminaryEstimatesOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParenth"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination [Table]",
        "documentation": "Disclosure of information about business combination. Includes, but is not limited to, recognized asset and liability."
       }
      }
     },
     "auth_ref": [
      "r471",
      "r666",
      "r667",
      "r668",
      "r669",
      "r675",
      "r676",
      "r677",
      "r678",
      "r684",
      "r689",
      "r690",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r699",
      "r700",
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r723",
      "r724",
      "r725",
      "r729",
      "r1315",
      "r1325",
      "r1724",
      "r1730",
      "r1732"
     ]
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Fair Value and Gross Contractual Amounts Receivable and Respective Expected Contractual Cash Flows",
        "label": "Business Combination [Table Text Block]",
        "documentation": "Tabular disclosure of business combination. Includes, but is not limited to, recognized asset and liability."
       }
      }
     },
     "auth_ref": [
      "r1315",
      "r1320",
      "r1722",
      "r1725",
      "r1729",
      "r1733",
      "r1734",
      "r1736"
     ]
    },
    "us-gaap_ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Cash Flow Hedges Included in Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Summary of Net Gains (Losses) Recorded in Accumulated Other Comprehensive Income (Loss) and Consolidated Statements of Operations Relating to Cash Flow and Fair Value Derivative Instruments",
        "documentation": "Tabular disclosure of gain (loss) on derivative and nonderivative instruments designated and qualifying as cash flow hedge recorded in accumulated other comprehensive income (AOCI) and reclassified into earnings."
       }
      }
     },
     "auth_ref": [
      "r1740",
      "r1743",
      "r1746"
     ]
    },
    "by_ScheduleOfCashFlowHedgesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfCashFlowHedgesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Cash Flow Hedges",
        "label": "Schedule Of Cash Flow Hedges Table [Text Block]",
        "documentation": "Schedule of cash flow hedges."
       }
      }
     },
     "auth_ref": []
    },
    "by_ScheduleOfCertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceAndCarryingAmountTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfCertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceAndCarryingAmountTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Outstanding Balance and Carrying Amount of All Acquired Impaired Loans",
        "label": "Schedule Of Certain Loans Acquired In Transfer Not Accounted For As Debt Securities Outstanding Balance And Carrying Amount Table [Text Block]",
        "documentation": "Schedule of certain loans acquired in transfer not accounted for as debt securities outstanding balance and carrying amount."
       }
      }
     },
     "auth_ref": []
    },
    "by_ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Contract or Notional Amount of Outstanding Loan and Lease Commitments",
        "label": "Schedule Of Contract Or Notional Amount Of Outstanding Loan And Lease Commitments Table [Text Block]",
        "documentation": "Schedule of contract or notional amount of outstanding loan and lease commitments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfDebtTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Other Borrowings",
        "label": "Schedule of Debt [Table Text Block]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "by_ScheduleOfDepositsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfDepositsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Composition of Deposits",
        "label": "Schedule Of Deposits Table [Text Block]",
        "documentation": "Schedule of deposits."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Calculation of Basic and Diluted Earnings per Share",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations."
       }
      }
     },
     "auth_ref": [
      "r1598"
     ]
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfEarningsPerShareBasicByCommonClassTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Earnings Per Share Basic By Common Class [Table]",
        "label": "Earnings Per Share, Basic, by Common Class, Including Two-Class Method [Table]",
        "documentation": "Disclosure of information about basic earnings per share by class of stock. Includes, but is not limited to, two-class method."
       }
      }
     },
     "auth_ref": [
      "r334",
      "r338",
      "r340",
      "r342"
     ]
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Table]",
        "terseLabel": "Schedule Of Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Table]",
        "documentation": "Disclosure of information about amount recognized for award under share-based payment arrangement. Includes, but is not limited to, amount expensed in statement of income or comprehensive income, amount capitalized in statement of financial position, and corresponding reporting line item in financial statements."
       }
      }
     },
     "auth_ref": [
      "r59"
     ]
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Stock Compensation Expense",
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Table Text Block]",
        "documentation": "Tabular disclosure of allocation of amount expensed and capitalized for award under share-based payment arrangement to statement of income or comprehensive income and statement of financial position. Includes, but is not limited to, corresponding line item in financial statement."
       }
      }
     },
     "auth_ref": [
      "r59"
     ]
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Financial Assets and Liabilities Measured at Fair Value on Recurring Basis",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3)."
       }
      }
     },
     "auth_ref": [
      "r1758",
      "r1759"
     ]
    },
    "by_ScheduleOfFairValueHedgesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfFairValueHedgesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Fair Value Hedges",
        "label": "Schedule Of Fair Value Hedges Table [Text Block]",
        "documentation": "Schedule of fair value hedges."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Derivative Financial Instruments and Classification on Consolidated Statements of Financial Condition",
        "label": "Schedule of Fair Value Hedging Instruments, Statements of Financial Performance and Financial Position, Location [Table Text Block]",
        "documentation": "Tabular disclosure for fair value hedging instruments of (a) the location and amount of gains and losses reported in the statement of financial performance and (b) the location and fair value amounts of the instruments reported in the statement of financial position."
       }
      }
     },
     "auth_ref": [
      "r1740",
      "r1742",
      "r1743",
      "r1746"
     ]
    },
    "us-gaap_ScheduleOfFinancialInstrumentsOwnedAndPledgedAsCollateralTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfFinancialInstrumentsOwnedAndPledgedAsCollateralTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Financial Instruments Owned and Pledged as Collateral [Table Text Block]",
        "terseLabel": "Summary of Securities are Posted and Pledged as Collateral",
        "documentation": "Tabular disclosure of financial instruments held by the entity for its own account for trading or investment purposes that are carried at fair value and pledged to counterparties as collateral for financing transactions. Description may include equity, fixed income, debt or other securities."
       }
      }
     },
     "auth_ref": [
      "r110",
      "r1793"
     ]
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Financing Receivable Allowance For Credit Losses [Table]",
        "label": "Financing Receivable, Allowance for Credit Loss [Table]",
        "documentation": "Disclosure of information about allowance for credit loss on financing receivable."
       }
      }
     },
     "auth_ref": [
      "r190",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446"
     ]
    },
    "us-gaap_ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Minimum Annual Lease Payments for Lease Financing Receivables",
        "label": "Schedule of Financing Receivables, Minimum Payments [Table Text Block]",
        "documentation": "Tabular disclosure of the annual minimum payments due from financing receivables, such as, but not limited to accounts, notes, loans, and other financing receivables."
       }
      }
     },
     "auth_ref": []
    },
    "by_ScheduleOfGoodwillAndIntangibleAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfGoodwillAndIntangibleAssetsLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Goodwill And Intangible Assets [Line Items]",
        "label": "Schedule Of Goodwill And Intangible Assets [Line Items]",
        "documentation": "Schedule of Goodwill and Intangible Assets [Line Items],"
       }
      }
     },
     "auth_ref": []
    },
    "by_ScheduleOfGoodwillAndIntangibleAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfGoodwillAndIntangibleAssetsTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Goodwill And Intangible Assets [Table]",
        "label": "Schedule Of Goodwill And Intangible Assets [Table]",
        "documentation": "Schedule Of Goodwill and Intangible Assets [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfHeldToMaturitySecuritiesLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Held To Maturity Securities [Line Items]",
        "label": "Schedule of Held-to-Maturity Securities [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427"
     ]
    },
    "us-gaap_ScheduleOfHeldToMaturitySecuritiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfHeldToMaturitySecuritiesTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Held To Maturity Securities [Table]",
        "label": "Debt Securities, Held-to-Maturity [Table]",
        "documentation": "Disclosure of information about investment in debt security measured at amortized cost (held-to-maturity)."
       }
      }
     },
     "auth_ref": [
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427"
     ]
    },
    "us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Changes in Goodwill, Core Deposit Intangible Assets and Customer Relationship Intangible Assets",
        "label": "Schedule of Intangible Assets and Goodwill [Table Text Block]",
        "documentation": "Tabular disclosure of goodwill and intangible assets, which may be broken down by segment or major class."
       }
      }
     },
     "auth_ref": [
      "r1649",
      "r1652"
     ]
    },
    "by_ScheduleOfInterestRateDerivativesAndOffsettingPositionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfInterestRateDerivativesAndOffsettingPositionsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Company's Interest Rate Derivative and Offsetting Positions",
        "label": "Schedule Of Interest Rate Derivatives And Offsetting Positions Table [Text Block]",
        "documentation": "Schedule of interest rate derivatives and offsetting positions."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfInvestmentsLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSecuritiesSummaryOfSecuritiesArePostedAndPledgedAsCollateralDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Investments [Line Items]",
        "label": "Schedule of Investments [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r1124",
      "r1125",
      "r1126",
      "r1127",
      "r1128",
      "r1129",
      "r1130",
      "r1131",
      "r1132",
      "r1133",
      "r1134",
      "r1135",
      "r1136",
      "r1137",
      "r1138",
      "r1139",
      "r1140",
      "r1141",
      "r1142",
      "r1143",
      "r1144",
      "r1145",
      "r1149",
      "r1150",
      "r1151",
      "r1152",
      "r1153",
      "r1154",
      "r1155",
      "r1156",
      "r1157",
      "r1158",
      "r1159",
      "r1160",
      "r1161",
      "r1162",
      "r1163",
      "r1164",
      "r1165",
      "r1166",
      "r1167",
      "r1168",
      "r1169",
      "r1170",
      "r1171",
      "r1172",
      "r1183",
      "r1184",
      "r1185",
      "r1186",
      "r1187",
      "r1188",
      "r1189",
      "r1190",
      "r1191",
      "r1192",
      "r1193",
      "r1194",
      "r1195",
      "r1196",
      "r1197",
      "r1198",
      "r1199",
      "r1200",
      "r1201"
     ]
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfInvestmentsTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Investments [Table]",
        "label": "Schedule of Investments [Table]",
        "documentation": "Disclosure of information about investments owned by investment company."
       }
      }
     },
     "auth_ref": [
      "r1124",
      "r1125",
      "r1126",
      "r1127",
      "r1128",
      "r1129",
      "r1130",
      "r1131",
      "r1132",
      "r1133",
      "r1134",
      "r1135",
      "r1136",
      "r1137",
      "r1138",
      "r1139",
      "r1140",
      "r1141",
      "r1142",
      "r1143",
      "r1144",
      "r1145",
      "r1149",
      "r1150",
      "r1151",
      "r1152",
      "r1153",
      "r1154",
      "r1155",
      "r1156",
      "r1157",
      "r1158",
      "r1159",
      "r1160",
      "r1161",
      "r1162",
      "r1163",
      "r1164",
      "r1165",
      "r1166",
      "r1167",
      "r1168",
      "r1169",
      "r1170",
      "r1171",
      "r1172",
      "r1183",
      "r1184",
      "r1185",
      "r1187",
      "r1188",
      "r1189",
      "r1190",
      "r1191",
      "r1192",
      "r1193",
      "r1194",
      "r1195",
      "r1196",
      "r1197",
      "r1198",
      "r1199",
      "r1200",
      "r1201"
     ]
    },
    "by_ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Junior Subordinated Debentures by Issuance",
        "label": "Schedule Of Junior Subordinated Debt Owed To Unconsolidated Subsidiary Trust Table [Text Block]",
        "documentation": "Schedule junior subordinated debt owed to unconsolidated subsidiary trust."
       }
      }
     },
     "auth_ref": []
    },
    "by_ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Operating Lease Right-of-use Asset and Liability",
        "label": "Schedule Of Operating Lease Right Of Use Asset And Liability Table [Text Block]",
        "documentation": "Schedule of operating lease right-of-use asset and liability."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Amounts Included in Non-Interest Income in Consolidated Statements of Operations Relating to Derivative Instruments not Designated in Hedging Relationship",
        "label": "Derivatives Not Designated as Hedging Instruments [Table Text Block]",
        "documentation": "Tabular disclosure of derivative instrument not designated or qualifying as hedging instrument."
       }
      }
     },
     "auth_ref": [
      "r1740",
      "r1742",
      "r1744",
      "r1746"
     ]
    },
    "by_ScheduleOfOtherInterestRateDerivativesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfOtherInterestRateDerivativesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Other Interest Rate Derivatives",
        "label": "Schedule Of Other Interest Rate Derivatives Table [Text Block]",
        "documentation": "Schedule of other interest rate derivatives."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfQuarterlyFinancialInformationTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Quarterly Financial Information [Table Text Block]",
        "terseLabel": "Schedule of Selected Quarterly Financial Data (unaudited)",
        "documentation": "Tabular disclosure of quarterly financial data. Includes, but is not limited to, financial information for fiscal quarters, cumulative effect of a change in accounting principle and earnings per share data."
       }
      }
     },
     "auth_ref": [
      "r175"
     ]
    },
    "us-gaap_ScheduleOfRealEstatePropertiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfRealEstatePropertiesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Real Estate Properties [Table Text Block]",
        "terseLabel": "Change in Other Real Estate Owned",
        "documentation": "Tabular disclosure of real estate properties and units in those properties that are included in the discussion of the nature of an entity's operations."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRealizedGainLossTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfRealizedGainLossTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Realized Gain (Loss) [Table Text Block]",
        "terseLabel": "Summary of Proceeds From Sales and Calls of Securities Available-for-sale and Associated Gains and Losses",
        "documentation": "Tabular disclosure of the proceeds from sales of available-for-sale securities and the gross realized gains and gross realized losses that have been included in earnings as a result of those sales."
       }
      }
     },
     "auth_ref": [
      "r1625"
     ]
    },
    "us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureAcquisitionOfABusinessTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Asset Acquired and Liability Assumed [Table Text Block]",
        "terseLabel": "Summary of Fair Values of Assets Acquired and Liabilities Assumed as of Acquisition Date",
        "documentation": "Tabular disclosure of asset acquired and liability assumed in business combination and recognized at acquisition date."
       }
      }
     },
     "auth_ref": [
      "r1731",
      "r1733"
     ]
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Segment Reporting Information, by Segment [Table]",
        "documentation": "Disclosure of information about profit (loss) and total assets by reportable segment."
       }
      }
     },
     "auth_ref": [
      "r41",
      "r42",
      "r43"
     ]
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "terseLabel": "Schedule of Segment Reporting Information",
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss."
       }
      }
     },
     "auth_ref": [
      "r41",
      "r42",
      "r43"
     ]
    },
    "us-gaap_ScheduleOfServicingAssetsAtFairValueTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfServicingAssetsAtFairValueTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Activity for Servicing Assets and Related Changes in Fair Value",
        "label": "Schedule of Servicing Assets at Fair Value [Table Text Block]",
        "documentation": "Tabular disclosure of the activity in the balance of servicing assets (including a description of where changes in fair value are reported in the statement of income for each period for which results of operations are presented), including but not limited to, the following: beginning and ending balances, additions (for instance, through purchases of servicing assets), disposals, changes in fair value during the period resulting from changes in inputs or assumptions used in the valuation model, other changes in fair value along with a description of those changes, and other changes that affect the balance along with a description of those changes."
       }
      }
     },
     "auth_ref": [
      "r1795"
     ]
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]",
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "documentation": "Disclosure of information about share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r587",
      "r589",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r616",
      "r617",
      "r618",
      "r623"
     ]
    },
    "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Changes in Restricted Shares",
        "label": "Share-Based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block]",
        "documentation": "Tabular disclosure of the number and weighted-average grant date fair value for restricted stock units that were outstanding at the beginning and end of the year, and the number of restricted stock units that were granted, vested, or forfeited during the year."
       }
      }
     },
     "auth_ref": [
      "r106"
     ]
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Activity in shares Subjected to Options and Weighted Average Exercise Prices",
        "label": "Share-Based Payment Arrangement, Option, Activity [Table Text Block]",
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value."
       }
      }
     },
     "auth_ref": [
      "r15",
      "r16",
      "r106"
     ]
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Share-Based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]",
        "terseLabel": "Summary of fair value of the total stock return performance-based awards granted",
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions."
       }
      }
     },
     "auth_ref": [
      "r108"
     ]
    },
    "us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfSharesSubjectToMandatoryRedemptionTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Shares Subject To Mandatory Redemption [Table]",
        "label": "Financial Instrument Subject to Mandatory Redemption [Table]",
        "documentation": "Disclosure of information about financial instrument subject to mandatory redemption and its settlement alternative."
       }
      }
     },
     "auth_ref": [
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r1680"
     ]
    },
    "by_ScheduleOfShortTermDebtAvailableForUseTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfShortTermDebtAvailableForUseTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Short-term Credit Lines Available for Use",
        "label": "Schedule Of Short Term Debt Available For Use Table [Text Block]",
        "documentation": "Schedule of short term debt available for use."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfStockByClassTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Stock By Class [Table]",
        "label": "Stock, Class of Stock [Table]",
        "documentation": "Disclosure of information about stock by class. Includes, but is not limited to, common, convertible, and preferred stocks."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r51",
      "r52",
      "r53",
      "r54",
      "r55",
      "r103",
      "r104",
      "r105",
      "r252",
      "r253",
      "r254",
      "r350",
      "r555",
      "r556",
      "r557",
      "r559",
      "r562",
      "r567",
      "r569",
      "r805",
      "r1040",
      "r1041",
      "r1042",
      "r1043",
      "r1301",
      "r1501",
      "r1585",
      "r1587"
     ]
    },
    "us-gaap_ScheduleOfStockByClassTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfStockByClassTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Preferred and Common Stock",
        "label": "Schedule of Stock by Class [Table Text Block]",
        "documentation": "Tabular disclosure of an entity's stock, including par or stated value per share, number and dollar amount of share subscriptions, shares authorized, shares issued, shares outstanding, number and dollar amount of shares held in an employee trust, dividend per share, total dividends, share conversion features, par value plus additional paid in capital, the value of treasury stock and other information necessary to a fair presentation, and EPS information. Stock by class includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. Includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity. If more than one issue is outstanding, state the title of each issue and the corresponding dollar amount; dollar amount of any shares subscribed but unissued and the deduction of subscriptions receivable there from; number of shares authorized, issued, and outstanding."
       }
      }
     },
     "auth_ref": [
      "r23",
      "r50",
      "r51",
      "r52",
      "r53",
      "r54",
      "r55",
      "r76",
      "r77",
      "r103",
      "r104",
      "r105"
     ]
    },
    "by_ScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Unpaid Principal Balance and Carrying Value for Acquired Non-Impaired Loans and Leases",
        "label": "Schedule Of Unpaid Principal Balance And Carrying Value For Acquired Non Impaired Loans And Leases Table [Text Block]",
        "documentation": "Schedule of unpaid principal balance and carrying value for acquired non-impaired loans and leases."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimated Amortization Expense for Core Deposit Intangible and Customer Relationship Intangible Recognized",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets."
       }
      }
     },
     "auth_ref": [
      "r1235",
      "r1659"
     ]
    },
    "by_SecuredOvernightFinancingRatePlusSpreadAdjustmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SecuredOvernightFinancingRatePlusSpreadAdjustmentMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Secured Overnight Financing Rate Plus Spread Adjustment [Member]",
        "documentation": "Secured overnight financing rate plus spread adjustment.",
        "terseLabel": "SOFR + spread adjustment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member]",
        "terseLabel": "SOFR",
        "documentation": "Fixed rate on U.S. dollar, constant-notional interest rate swap that has its variable-rate leg referenced to Secured Overnight Financing Rate (SOFR) with no additional spread over SOFR on variable-rate leg."
       }
      }
     },
     "auth_ref": [
      "r1366"
     ]
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SecuritiesSoldUnderAgreementsToRepurchase",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "parentTag": "us-gaap_OtherBorrowings",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Securities sold under agreements to repurchase",
        "label": "Securities Sold under Agreements to Repurchase",
        "totalLabel": "Securities Sold under Agreements to Repurchase, Total",
        "documentation": "Amount, after the effects of master netting arrangements, of funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Includes liabilities not subject to a master netting arrangement and not elected to be offset."
       }
      }
     },
     "auth_ref": [
      "r115",
      "r259",
      "r262",
      "r299",
      "r306",
      "r307",
      "r1127",
      "r1146",
      "r1153",
      "r1192",
      "r1238",
      "r1240"
     ]
    },
    "dei_Security12bTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "Security12bTitle",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Title of each class",
        "label": "Title of 12(b) Security",
        "documentation": "Title of a 12(b) registered security."
       }
      }
     },
     "auth_ref": [
      "r1413"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Name of each exchange on which registered",
        "label": "Security Exchange Name",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r1415"
     ]
    },
    "by_SegmentNetInterestIncomeAndNoninterestIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SegmentNetInterestIncomeAndNoninterestIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Net Interest Income and Noninterest Income",
        "documentation": "Segment net interest income and noninterest income.",
        "totalLabel": "Segment net interest income and noninterest income"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingCodmIndividualTitleAndPositionOrGroupOrCommitteeNameExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingCodmIndividualTitleAndPositionOrGroupOrCommitteeNameExtensibleEnumeration",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting, CODM, Individual Title and Position or Group Name [Extensible Enumeration]",
        "documentation": "Indicates title and position of individual or name of group identified as chief operating decision maker (CODM) for segment reporting."
       }
      }
     },
     "auth_ref": [
      "r357",
      "r1260",
      "r1267"
     ]
    },
    "us-gaap_SegmentReportingCodmProfitLossMeasureHowUsedDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingCodmProfitLossMeasureHowUsedDescription",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting, CODM, Profit (Loss) Measure, How Used, Description",
        "documentation": "Description of how chief operating decision maker (CODM) uses reported segment profit (loss) measure to assess performance and allocate resource."
       }
      }
     },
     "auth_ref": [
      "r367",
      "r1257",
      "r1264"
     ]
    },
    "us-gaap_SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting, Disclosure of Entity's Reportable Segments [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting Disclosure [Text Block]",
        "terseLabel": "Segment Information",
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments."
       }
      }
     },
     "auth_ref": [
      "r146",
      "r347",
      "r353",
      "r354",
      "r355",
      "r356",
      "r358",
      "r364",
      "r365",
      "r366",
      "r372",
      "r373",
      "r374",
      "r375",
      "r376",
      "r377",
      "r378",
      "r380",
      "r1256",
      "r1258",
      "r1259",
      "r1261",
      "r1263",
      "r1265",
      "r1266"
     ]
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingInformationLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting Information [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingOtherItemAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingOtherItemAmount",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other segment items",
        "label": "Segment Reporting, Other Segment Item, Amount",
        "documentation": "Amount of other expense (income) and loss (gain) calculated as difference between segment revenue and separately disclosed expense category to arrive at segment profit (loss)."
       }
      }
     },
     "auth_ref": [
      "r347",
      "r365",
      "r366",
      "r374",
      "r1261"
     ]
    },
    "us-gaap_SegmentReportingOtherSignificantReconcilingItemConsolidatedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingOtherSignificantReconcilingItemConsolidatedAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Less:",
        "label": "Segment, Reconciliation of Other Items from Segments to Consolidated [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SeriesBPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SeriesBPreferredStockMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Series B Preferred Stock",
        "label": "Series B Preferred Stock [Member]",
        "documentation": "Series B preferred stock."
       }
      }
     },
     "auth_ref": [
      "r1524",
      "r1525",
      "r1681",
      "r1684"
     ]
    },
    "us-gaap_ServicingAssetAtFairValueAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueAdditions",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additions, net",
        "label": "Servicing Asset at Fair Value, Additions",
        "documentation": "The value of new servicing assets, subsequently measured at fair value, acquired or created during the current period through purchases or from transfers of financial assets."
       }
      }
     },
     "auth_ref": [
      "r950"
     ]
    },
    "us-gaap_ServicingAssetAtFairValueAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueAmount",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Servicing assets, at fair value",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "label": "Servicing Asset at Fair Value, Amount",
        "documentation": "Fair value of an asset representing net future revenue from contractually specified servicing fees, late charges, and other ancillary revenues, in excess of future costs related to servicing arrangements."
       }
      }
     },
     "auth_ref": [
      "r838",
      "r839",
      "r867",
      "r869",
      "r870",
      "r943",
      "r944",
      "r945",
      "r949"
     ]
    },
    "us-gaap_ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Changes in fair value of servicing assets",
        "terseLabel": "Changes in fair value",
        "label": "Servicing Asset at Fair Value, Changes in Fair Value Resulting from Changes in Valuation Inputs or Changes in Assumptions",
        "totalLabel": "Servicing Asset at Fair Value, Changes in Fair Value Resulting from Changes in Valuation Inputs or Changes in Assumptions, Total",
        "documentation": "Amount of increase (decrease) in fair value from changes in the inputs, assumptions, or model used to calculate the fair value of the contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer."
       }
      }
     },
     "auth_ref": [
      "r1796"
     ]
    },
    "us-gaap_ServicingAssetMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetMeasurementInput",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unobservable Inputs",
        "label": "Servicing Asset, Measurement Input",
        "documentation": "Value of input used to measure servicing asset."
       }
      }
     },
     "auth_ref": [
      "r840",
      "r841",
      "r842"
     ]
    },
    "us-gaap_ServicingAssetValuationTechniqueExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetValuationTechniqueExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Servicing Asset, Valuation Technique [Extensible List]",
        "label": "Servicing Asset, Valuation Technique [Extensible Enumeration]",
        "documentation": "Indicates valuation technique for measuring servicing asset."
       }
      }
     },
     "auth_ref": [
      "r840"
     ]
    },
    "by_ServicingAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ServicingAssetsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Servicing Assets",
        "label": "Servicing Assets [Member]",
        "documentation": "Servicing assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensation",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 29.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share-based compensation expense",
        "label": "Share-Based Payment Arrangement, Noncash Expense",
        "totalLabel": "Share-based Payment Arrangement, Noncash Expense, Total",
        "documentation": "Amount of noncash expense for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Award vesting period",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period",
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition."
       }
      }
     },
     "auth_ref": [
      "r1312"
     ]
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardEarnedUnderReturnOnAverageAssetsInPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEarnedUnderReturnOnAverageAssetsInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Period for number of shares earned under return on average assets",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Earned Under Return On Average Assets In Period",
        "documentation": "Share based compensation arrangement by share based payment award earned under return on average assets in period."
       }
      }
     },
     "auth_ref": []
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestGrantsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestGrantsInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shares vest on grant date",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Expected To Vest Grants In Period",
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options expected to vest grants in period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Number of shares, forfeited",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r608"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average grant date fair value, forfeited",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event."
       }
      }
     },
     "auth_ref": [
      "r608"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Shares of restricted voting common stock granted",
        "terseLabel": "Number of shares, granted",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan)."
       }
      }
     },
     "auth_ref": [
      "r606"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average grant date fair value, granted",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan)."
       }
      }
     },
     "auth_ref": [
      "r606"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Number of shares, beginning balance",
        "periodEndLabel": "Number of shares, ending balance",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r603",
      "r604"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Weighted average grant date fair value, beginning balance",
        "periodEndLabel": "Weighted average grant date fair value, ending balance",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "terseLabel": "Share price",
        "verboseLabel": "Weighted average grant date fair value",
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options."
       }
      }
     },
     "auth_ref": [
      "r603",
      "r604"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Number of shares, vested",
        "verboseLabel": "Restricted shares vested",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r607"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value of restricted shares, vested",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value",
        "documentation": "Fair value of share-based awards for which the grantee gained the right by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash."
       }
      }
     },
     "auth_ref": [
      "r610"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average grant date fair value, vested",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "documentation": "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement."
       }
      }
     },
     "auth_ref": [
      "r607"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate",
        "terseLabel": "Expected volatility",
        "verboseLabel": "Expected stock price volatility",
        "documentation": "The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period."
       }
      }
     },
     "auth_ref": [
      "r615"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
        "terseLabel": "Risk-free interest rate",
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares."
       }
      }
     },
     "auth_ref": [
      "r617"
     ]
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardIncrementalPerformanceSharesVested": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardIncrementalPerformanceSharesVested",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Incremental performance shares issued and vested",
        "documentation": "Share based compensation arrangement by share based payment award incremental performance shares vested.",
        "label": "Share Based Compensation Arrangement by Share Based Payment Award Incremental Performance Shares Vested"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share Based Compensation Arrangement By Share Based Payment Award [Line Items]",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r587",
      "r589",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r616",
      "r617",
      "r618",
      "r623"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of common shares available for future grants",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant",
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable."
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of Shares, Exercisable",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Number",
        "documentation": "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan."
       }
      }
     },
     "auth_ref": [
      "r597"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average Exercise Price, Exercisable",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
        "documentation": "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan."
       }
      }
     },
     "auth_ref": [
      "r597"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Intrinsic Value, Exercised",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period, Intrinsic Value",
        "documentation": "Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares."
       }
      }
     },
     "auth_ref": [
      "r610"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Number of Shares, Expired",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Expirations in Period",
        "documentation": "Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements."
       }
      }
     },
     "auth_ref": [
      "r602"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross",
        "terseLabel": "Number of options granted",
        "documentation": "Gross number of share options (or share units) granted during the period."
       }
      }
     },
     "auth_ref": [
      "r599"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Intrinsic Value, Beginning balance",
        "periodEndLabel": "Intrinsic Value, Ending balance",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value",
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding."
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of shares outstanding",
        "periodStartLabel": "Number of Shares, Beginning balance",
        "periodEndLabel": "Number of Shares, Ending balance",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Number",
        "documentation": "Number of options outstanding, including both vested and non-vested options."
       }
      }
     },
     "auth_ref": [
      "r595",
      "r596"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Weighted Average Exercise Price, Beginning balance",
        "periodEndLabel": "Weighted Average Exercise Price, Ending balance",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan."
       }
      }
     },
     "auth_ref": [
      "r595",
      "r596"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables",
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Award Types",
        "terseLabel": "All Award Types",
        "documentation": "Award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r614",
      "r615",
      "r616",
      "r617",
      "r618"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average Exercise Price, Exercised",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares."
       }
      }
     },
     "auth_ref": [
      "r600"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average Exercise Price, Expired",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Expirations in Period, Weighted Average Exercise Price",
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options of the plan that expired."
       }
      }
     },
     "auth_ref": [
      "r602"
     ]
    },
    "us-gaap_ShareBasedCompensationAwardTrancheOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationAwardTrancheOneMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Tranche One [Member]",
        "terseLabel": "Share-based Payment Arrangement, Tranche One [Member]",
        "verboseLabel": "Threshold performance",
        "documentation": "First portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period."
       }
      }
     },
     "auth_ref": [
      "r1691",
      "r1692",
      "r1693",
      "r1694",
      "r1695",
      "r1696",
      "r1697",
      "r1698",
      "r1699",
      "r1700",
      "r1701",
      "r1702",
      "r1703",
      "r1704",
      "r1705",
      "r1706",
      "r1707",
      "r1708",
      "r1709",
      "r1710",
      "r1711",
      "r1712",
      "r1713",
      "r1714",
      "r1715",
      "r1716"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period",
        "terseLabel": "Award contractual term",
        "documentation": "Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r1313"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Term",
        "terseLabel": "Simulation term",
        "verboseLabel": "Expected term (years)",
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r614"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Intrinsic Value, Exercisable",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Intrinsic Value",
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable."
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average Remaining Contractual Term (in Years), Exercisable",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
        "documentation": "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average Remaining Contractual Term (in Years)",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r107"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested, Number of Shares",
        "terseLabel": "Options vested",
        "documentation": "Number of options vested."
       }
      }
     },
     "auth_ref": [
      "r1718"
     ]
    },
    "us-gaap_SharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharesOutstanding",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Ending balance, shares",
        "periodStartLabel": "Beginning balance, shares",
        "label": "Shares, Outstanding",
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shares Subject To Mandatory Redemption By Settlement Terms [Line Items]",
        "label": "Financial Instruments Subject to Mandatory Redemption by Settlement Terms [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r542",
      "r1680"
     ]
    },
    "us-gaap_ShortTermBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermBorrowings",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "parentTag": "us-gaap_OtherBorrowings",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Short-Term Debt, Total",
        "label": "Short-Term Debt",
        "terseLabel": "Term Loan",
        "verboseLabel": "Term loan",
        "documentation": "Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r65",
      "r117",
      "r1382",
      "r1803"
     ]
    },
    "us-gaap_ShortTermDebtPercentageBearingVariableInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtPercentageBearingVariableInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt, Percentage Bearing Variable Interest Rate",
        "terseLabel": "Variable term loan, Interest rate",
        "documentation": "The portion of the carrying amount of short-term borrowings outstanding as of the balance sheet date, which accrues interest at a rate subject to change from time to time."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShortTermLeaseCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermLeaseCost",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails": {
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Short-term lease cost",
        "label": "Short-Term Lease, Cost",
        "documentation": "Amount of short-term lease cost, excluding expense for lease with term of one month or less."
       }
      }
     },
     "auth_ref": [
      "r897",
      "r1381"
     ]
    },
    "by_ShortTermLinesOfCreditAvailableForUse": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ShortTermLinesOfCreditAvailableForUse",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Short-term credit lines available for use",
        "label": "Short Term Lines Of Credit Available For Use",
        "documentation": "Short-term line of credit available for use."
       }
      }
     },
     "auth_ref": []
    },
    "by_SingleFamilyResidence1stLienMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SingleFamilyResidence1stLienMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Single family residence (1st lien).",
        "label": "Single Family Residence (1st Lien) [Member]",
        "terseLabel": "Single Family Residence (1st Lien)"
       }
      }
     },
     "auth_ref": []
    },
    "by_SingleFamilyResidence2ndLienMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SingleFamilyResidence2ndLienMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Single family residence (2nd lien).",
        "label": "Single Family Residence (2nd Lien) [Member]",
        "terseLabel": "Single Family Residence (2nd Lien)"
       }
      }
     },
     "auth_ref": []
    },
    "by_SingleIssuerTrustPreferredSecurityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SingleIssuerTrustPreferredSecurityMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Single Issuer Trust Preferred",
        "label": "Single Issuer Trust Preferred Security [Member]",
        "documentation": "Single issuer trust preferred security."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SpecialMentionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SpecialMentionMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Special Mention",
        "label": "Special Mention [Member]",
        "documentation": "A category of financing receivables considered to have potential weaknesses that deserve management's close attention. If left uncorrected, those potential weaknesses may result in a deterioration of the repayment prospects for the asset or of the creditor's position at some future date."
       }
      }
     },
     "auth_ref": [
      "r150",
      "r151",
      "r152",
      "r1645",
      "r1646"
     ]
    },
    "us-gaap_StateAndLocalJurisdictionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StateAndLocalJurisdictionMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "State and Local Jurisdiction [Member]",
        "terseLabel": "State and Local Jurisdiction",
        "documentation": "Designated state or local jurisdiction entitled to levy and collect income tax."
       }
      }
     },
     "auth_ref": [
      "r635"
     ]
    },
    "us-gaap_StatementClassOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementClassOfStockAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock",
        "documentation": "Information by the different classes of stock of the entity."
       }
      }
     },
     "auth_ref": [
      "r181",
      "r252",
      "r253",
      "r254",
      "r299",
      "r303",
      "r334",
      "r338",
      "r340",
      "r342",
      "r350",
      "r351",
      "r430",
      "r498",
      "r501",
      "r502",
      "r503",
      "r507",
      "r508",
      "r543",
      "r544",
      "r546",
      "r547",
      "r549",
      "r552",
      "r555",
      "r556",
      "r559",
      "r562",
      "r569",
      "r874",
      "r1040",
      "r1041",
      "r1042",
      "r1043",
      "r1046",
      "r1048",
      "r1049",
      "r1050",
      "r1051",
      "r1052",
      "r1053",
      "r1054",
      "r1055",
      "r1056",
      "r1057",
      "r1058",
      "r1080",
      "r1101",
      "r1119",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1501",
      "r1587",
      "r1589",
      "r1597"
     ]
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementEquityComponentsAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Components",
        "label": "Equity Components [Axis]",
        "documentation": "Information by component of equity."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r77",
      "r81",
      "r82",
      "r233",
      "r240",
      "r241",
      "r277",
      "r278",
      "r279",
      "r309",
      "r310",
      "r311",
      "r316",
      "r324",
      "r326",
      "r328",
      "r349",
      "r431",
      "r436",
      "r485",
      "r532",
      "r570",
      "r626",
      "r645",
      "r646",
      "r658",
      "r659",
      "r660",
      "r664",
      "r734",
      "r735",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r818",
      "r819",
      "r820",
      "r821",
      "r822",
      "r834",
      "r878",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r888",
      "r890",
      "r913",
      "r1006",
      "r1026",
      "r1027",
      "r1028",
      "r1046",
      "r1119"
     ]
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementLineItems",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statement [Line Items]",
        "label": "Statement [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r309",
      "r310",
      "r311",
      "r349",
      "r543",
      "r544",
      "r546",
      "r549",
      "r890",
      "r968",
      "r1039",
      "r1047",
      "r1058",
      "r1071",
      "r1073",
      "r1074",
      "r1075",
      "r1076",
      "r1077",
      "r1080",
      "r1083",
      "r1084",
      "r1085",
      "r1086",
      "r1087",
      "r1089",
      "r1090",
      "r1091",
      "r1092",
      "r1094",
      "r1095",
      "r1096",
      "r1097",
      "r1098",
      "r1102",
      "r1103",
      "r1105",
      "r1106",
      "r1107",
      "r1108",
      "r1109",
      "r1110",
      "r1111",
      "r1112",
      "r1113",
      "r1114",
      "r1115",
      "r1116",
      "r1119",
      "r1248",
      "r1250",
      "r1399",
      "r1842"
     ]
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfCashFlowsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfFinancialPositionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfOtherComprehensiveIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfOtherComprehensiveIncomeAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Other Comprehensive Income [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfStockholdersEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_StatementScenarioAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "StatementScenarioAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]",
        "documentation": "Information by scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts."
       }
      }
     },
     "auth_ref": [
      "r228",
      "r242",
      "r243",
      "r329",
      "r585",
      "r1502",
      "r1503"
     ]
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementTable",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statement [Table]",
        "label": "Statement [Table]",
        "documentation": "Presentation of information about comprehensive income, income, other comprehensive income, financial position, cash flows, and shareholders' equity."
       }
      }
     },
     "auth_ref": [
      "r309",
      "r310",
      "r311",
      "r349",
      "r383",
      "r543",
      "r544",
      "r546",
      "r549",
      "r890",
      "r968",
      "r1039",
      "r1047",
      "r1058",
      "r1071",
      "r1073",
      "r1074",
      "r1075",
      "r1076",
      "r1077",
      "r1080",
      "r1083",
      "r1084",
      "r1085",
      "r1086",
      "r1087",
      "r1089",
      "r1090",
      "r1091",
      "r1092",
      "r1094",
      "r1095",
      "r1096",
      "r1097",
      "r1098",
      "r1102",
      "r1103",
      "r1105",
      "r1106",
      "r1107",
      "r1108",
      "r1109",
      "r1110",
      "r1111",
      "r1112",
      "r1113",
      "r1114",
      "r1115",
      "r1116",
      "r1119",
      "r1248",
      "r1250",
      "r1399",
      "r1842"
     ]
    },
    "ecd_StkPrcOrTsrEstimationMethodTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "StkPrcOrTsrEstimationMethodTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Price or TSR Estimation Method [Text Block]",
        "terseLabel": "Stock Price or TSR Estimation Method"
       }
      }
     },
     "auth_ref": [
      "r1422",
      "r1432",
      "r1442",
      "r1474"
     ]
    },
    "us-gaap_StockAppreciationRightsSARSMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockAppreciationRightsSARSMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Appreciation Rights (SARs) [Member]",
        "terseLabel": "Stock Appreciation Rights (SARs)",
        "documentation": "Right to receive cash or shares equal to appreciation of predetermined number of grantor's shares during predetermined time period."
       }
      }
     },
     "auth_ref": [
      "r1691",
      "r1692",
      "r1693",
      "r1694",
      "r1695",
      "r1696",
      "r1697",
      "r1698",
      "r1699",
      "r1700",
      "r1701",
      "r1702",
      "r1703",
      "r1704",
      "r1705",
      "r1706",
      "r1707",
      "r1708",
      "r1709",
      "r1710",
      "r1711",
      "r1712",
      "r1713",
      "r1714",
      "r1715",
      "r1716"
     ]
    },
    "us-gaap_StockIssued1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssued1",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Issued",
        "negatedLabel": "Common stock issued due to acquisition of business",
        "terseLabel": "Common stock issued due to acquisition of business",
        "documentation": "The fair value of stock issued in noncash financing activities."
       }
      }
     },
     "auth_ref": [
      "r38",
      "r39",
      "r40"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesAcquisitions": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodSharesAcquisitions",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Issued During Period, Shares, Acquisitions",
        "terseLabel": "Issuance of common stock due to business combination ,net of issuance costs, shares",
        "documentation": "Number of shares of stock issued during the period pursuant to acquisitions."
       }
      }
     },
     "auth_ref": [
      "r76",
      "r77",
      "r105"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance of common stock in connection with employee stock purchase plan, shares",
        "label": "Stock Issued During Period, Shares, Employee Stock Purchase Plans",
        "documentation": "Number of shares issued during the period as a result of an employee stock purchase plan."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r76",
      "r77",
      "r105"
     ]
    },
    "by_StockIssuedDuringPeriodSharesRestrictedStockAwardActivityNet": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "StockIssuedDuringPeriodSharesRestrictedStockAwardActivityNet",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Issued During Period Shares Restricted Stock Award Activity, Net",
        "documentation": "Stock Issued During Period Shares Restricted Stock Award Activity, Net",
        "terseLabel": "Restricted stock activity, shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance of common stock upon exercise of stock options, net shares",
        "negatedLabel": "Number of Shares, Exercised",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period",
        "verboseLabel": "Number of options exercised",
        "documentation": "Number of share options (or share units) exercised during the current period."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r76",
      "r77",
      "r105",
      "r600"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueAcquisitions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodValueAcquisitions",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Issued During Period, Value, Acquisitions",
        "terseLabel": "Issuance of common stock due to business combination ,net of issuance costs",
        "documentation": "Value of stock issued pursuant to acquisitions during the period."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r77",
      "r81",
      "r82",
      "r105"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodValueEmployeeStockPurchasePlan",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance of common stock in connection with employee stock purchase plan",
        "label": "Stock Issued During Period, Value, Employee Stock Purchase Plan",
        "documentation": "Aggregate change in value for stock issued during the period as a result of employee stock purchase plan."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r76",
      "r77",
      "r105"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restricted stock activity, net",
        "label": "Stock Issued During Period, Value, Restricted Stock Award, Net of Forfeitures",
        "documentation": "Value of stock related to Restricted Stock Awards issued during the period, net of the stock value of such awards forfeited."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r105"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance of common stock upon exercise of stock options, net",
        "label": "Stock Issued During Period, Value, Stock Options Exercised",
        "documentation": "Value of stock issued as a result of the exercise of stock options."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r77",
      "r81",
      "r82",
      "r105"
     ]
    },
    "by_StockIssuedDuringPeriodValueStockOptionsExercised1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised1",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Issued During Period Value Stock Options Exercised 1",
        "documentation": "Stock issued during period value stock options exercised.",
        "terseLabel": "Issuance of common stock upon exercise of stock options, net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockOptionPlanExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockOptionPlanExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Stock option compensation expense",
        "label": "Stock or Unit Option Plan Expense",
        "documentation": "Amount of noncash expense for option under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "srt_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate number of shares authorized to repurchase",
        "label": "Share Repurchase Program, Authorized, Number of Shares",
        "documentation": "Number of shares authorized to be purchased under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership."
       }
      }
     },
     "auth_ref": [
      "r1686"
     ]
    },
    "by_StockRepurchaseProgramPercentOfSharesAuthorizedToBeRepurchased": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "StockRepurchaseProgramPercentOfSharesAuthorizedToBeRepurchased",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Approximate percentage of shares authorized to be repurchased",
        "label": "Stock Repurchase Program Percent Of Shares Authorized To Be Repurchased",
        "documentation": "Stock repurchase program percent of shares authorized to be repurchased."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockRepurchasedDuringPeriodShares",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repurchase of common stock, shares",
        "verboseLabel": "Number of shares purchased",
        "label": "Stock Repurchased During Period, Shares",
        "terseLabel": "Repurchase of common stock, shares",
        "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."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r76",
      "r77",
      "r105",
      "r1043",
      "r1119",
      "r1209"
     ]
    },
    "us-gaap_StockRepurchasedDuringPeriodValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockRepurchasedDuringPeriodValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repurchase of common stock",
        "label": "Stock Repurchased During Period, Value",
        "terseLabel": "Repurchase of stock, value",
        "documentation": "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r76",
      "r77",
      "r105",
      "r1046",
      "r1119",
      "r1209",
      "r1411"
     ]
    },
    "us-gaap_StockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED",
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total stockholders\u2019 equity",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "label": "Equity, Attributable to Parent",
        "documentation": "Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r77",
      "r81",
      "r82",
      "r99",
      "r1082",
      "r1099",
      "r1120",
      "r1121",
      "r1382",
      "r1412",
      "r1585",
      "r1589",
      "r1590",
      "r1630",
      "r1776",
      "r1844"
     ]
    },
    "us-gaap_StockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquityAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "STOCKHOLDERS\u2019 EQUITY",
        "label": "Equity, Attributable to Parent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Stockholders' Equity",
        "label": "Equity [Text Block]",
        "documentation": "The entire disclosure for equity."
       }
      }
     },
     "auth_ref": [
      "r102",
      "r554",
      "r556",
      "r558",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r568",
      "r570",
      "r805",
      "r824",
      "r1122",
      "r1123",
      "r1211"
     ]
    },
    "by_SubleaseContractExpirationPeriod": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SubleaseContractExpirationPeriod",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sublease contract maturity year",
        "label": "Sublease Contract Expiration Period",
        "documentation": "Sublease contract expiration period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubleaseIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubleaseIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails": {
       "parentTag": "us-gaap_LeaseCost",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Less: Sublease income",
        "terseLabel": "Sublease Income",
        "label": "Sublease Income",
        "documentation": "Amount of sublease income excluding finance and operating lease expense."
       }
      }
     },
     "auth_ref": [
      "r899",
      "r1381"
     ]
    },
    "us-gaap_SubordinatedDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubordinatedDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Subordinated Debt, Total",
        "periodStartLabel": "Subordinated Debt, Beginning Balance",
        "periodEndLabel": "Subordinated Debt, Ending Balance",
        "terseLabel": "Subordinated notes, net",
        "label": "Subordinated Debt",
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of subordinated debt (with initial maturities beyond one year or beyond the operating cycle if longer). Subordinated debt places a lender in a lien position behind debt having a higher priority of repayment in liquidation of the entity's assets."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r67",
      "r119",
      "r1804"
     ]
    },
    "by_SubordinatedDebtInstrumentMaturityYear": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SubordinatedDebtInstrumentMaturityYear",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subordinated Debt Instrument Maturity Year",
        "documentation": "Subordinated debt instrument maturity year.",
        "terseLabel": "Subordinated debt instrument maturity year"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubordinatedDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubordinatedDebtMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subordinated Notes",
        "label": "Subordinated Debt [Member]",
        "documentation": "This element represents domestic or foreign subordinated debt. Subordinated debt has a lower priority of repayment in liquidation of the entity's assets."
       }
      }
     },
     "auth_ref": []
    },
    "by_SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebentures"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subordinated Notes and Junior Subordinated Debentures",
        "label": "Subordinated Notes And Junior Subordinated Debt Owed To Unconsolidated Subsidiary Trust [Text Block]",
        "documentation": "Subordinated notes and junior subordinated debt owed to unconsolidated subsidiary trust."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event",
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r884",
      "r916"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Axis]",
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r884",
      "r916"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Domain]",
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r884",
      "r916"
     ]
    },
    "us-gaap_SubstandardMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubstandardMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Substandard",
        "label": "Substandard [Member]",
        "documentation": "A category of financing receivables that are inadequately protected by the current sound worth and paying capacity of the obligor or of the collateral pledged, if any. Loans so classified have a well-defined weakness or weaknesses that jeopardize the liquidation of the debt. They are characterized by the distinct possibility that the creditor will sustain some loss if the deficiencies are not corrected."
       }
      }
     },
     "auth_ref": [
      "r150",
      "r151",
      "r152",
      "r1645",
      "r1646"
     ]
    },
    "us-gaap_SummaryInvestmentHoldingsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SummaryInvestmentHoldingsTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Amortized Cost and Fair Values of Securities Available-for-sale, and Held to Maturity",
        "label": "Summary Investment Holdings [Table Text Block]",
        "documentation": "Tabular disclosure of the summary of investment holdings."
       }
      }
     },
     "auth_ref": []
    },
    "by_SummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary Of Balances For Each Respective Loan And Lease Category Table [Text Block]",
        "documentation": "Summary of balances for each respective loan and lease category.",
        "terseLabel": "Summary of Balances for Each Respective Loan and Lease Category"
       }
      }
     },
     "auth_ref": []
    },
    "by_SummaryOfChangeInBalanceForAllowanceForCreditLossesUnfundedCommitmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SummaryOfChangeInBalanceForAllowanceForCreditLossesUnfundedCommitmentsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of change in balance for allowance for credit losses unfunded commitments.",
        "label": "Summary of Change in Balance for Allowance for Credit Losses Unfunded Commitments [Table Text Block]",
        "terseLabel": "Summary of Change in Balance for Allowance for Credit Losses Unfunded Commitments"
       }
      }
     },
     "auth_ref": []
    },
    "by_SummaryOfCollateralDependentLoansAndLeasesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SummaryOfCollateralDependentLoansAndLeasesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of collateral dependent loans and leases.",
        "label": "Summary Of Collateral Dependent Loans And Leases [Table Text Block]",
        "terseLabel": "Summary Of Collateral Dependent Loans And Leases"
       }
      }
     },
     "auth_ref": []
    },
    "by_SummaryOfLoansWithModifiedTermsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SummaryOfLoansWithModifiedTermsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of Loans with Modified Terms [Table Text Block]",
        "label": "Summary of Loans with Modified Terms [Table Text Block]",
        "terseLabel": "Summary of Loans with Modified Terms"
       }
      }
     },
     "auth_ref": []
    },
    "by_SummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParValueAtAcquisitionTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParValueAtAcquisitionTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Reconciliation of Acquired Inland Pcd Loans Between Purchase Price and Par Value at Acquisition",
        "label": "Summary of Reconciliation of Acquired Inland Pcd Loans Between Purchase Price and Par Value at Acquisition [Table Text Block]",
        "documentation": "Summary of reconciliation of acquired inland pcd loans between purchase price and par value at acquisition."
       }
      }
     },
     "auth_ref": []
    },
    "by_SummaryOfUnpaidPrincipalBalancesOfLoansServicedForOthersTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "SummaryOfUnpaidPrincipalBalancesOfLoansServicedForOthersTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unpaid Principal Balances of Loans Serviced for Others",
        "label": "Summary Of Unpaid Principal Balances Of Loans Serviced For Others Table [Text Block]",
        "documentation": "Summary of unpaid principal balances of loans serviced for others."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SupplementalCashFlowInformationAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:",
        "label": "Supplemental Cash Flow Information [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TabularListTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TabularListTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tabular List [Table Text Block]",
        "terseLabel": "Tabular List, Table"
       }
      }
     },
     "auth_ref": [
      "r1468"
     ]
    },
    "by_TaxCutsAndJobsActOf2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefitRelatedToVestingOfRestrictedShares": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TaxCutsAndJobsActOf2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefitRelatedToVestingOfRestrictedShares",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net income tax benefit related to vesting of restricted shares",
        "label": "Tax Cuts And Jobs Act Of2017 Incomplete Accounting Provisional Income Tax Expense Benefit Related To Vesting Of Restricted Shares",
        "documentation": "Tax cuts and jobs act of 2017 incomplete accounting provisional income tax expense (benefit) related to vesting of restricted shares."
       }
      }
     },
     "auth_ref": []
    },
    "by_TermModificationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TermModificationMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Term Modification [Member]",
        "documentation": "Term modification.",
        "terseLabel": "Term Modification"
       }
      }
     },
     "auth_ref": []
    },
    "by_TerminatedSwaps": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TerminatedSwaps",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Terminated swaps.",
        "label": "Terminated Swaps",
        "terseLabel": "Terminated swaps"
       }
      }
     },
     "auth_ref": []
    },
    "by_ThirdAnniversaryOfGrantDateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ThirdAnniversaryOfGrantDateMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Third Anniversary of Grant Date",
        "label": "Third Anniversary Of Grant Date [Member]",
        "documentation": "Third anniversary of grant date."
       }
      }
     },
     "auth_ref": []
    },
    "by_ThreeMonthLondonInterbankOfferedRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ThreeMonthLondonInterbankOfferedRateMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Three-month LIBOR",
        "label": "Three Month London Interbank Offered Rate [Member]",
        "documentation": "Three-month LIBOR."
       }
      }
     },
     "auth_ref": []
    },
    "by_ThreeMonthSecuredOvernightFinancingRatePlusFiveEightyEightBasisPointsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ThreeMonthSecuredOvernightFinancingRatePlusFiveEightyEightBasisPointsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Three-Month Secured Overnight Financing Rate Plus 588 Basis Points",
        "label": "Three Month Secured Overnight Financing Rate Plus Five Eighty Eight Basis Points [Member]",
        "documentation": "Three-Month Secured Overnight Financing Rate Plus Five Eighty Eight Basis Points."
       }
      }
     },
     "auth_ref": []
    },
    "by_ThreeMonthSecuredOvernightFinancingRatePlusThreeTwentyTwoBasisPointsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "ThreeMonthSecuredOvernightFinancingRatePlusThreeTwentyTwoBasisPointsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Three Month Secured Overnight Financing Rate Plus Three Twenty Two Basis Points [Member]",
        "documentation": "Three month secured overnight financing rate plus three twenty two basis points.",
        "terseLabel": "Three-Month Secured Overnight Financing Rate Plus 322 Basis Points"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TimeDepositMaturitiesAfterYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TimeDepositMaturitiesAfterYearFive",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "parentTag": "us-gaap_InterestBearingDomesticDepositTimeDeposits",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Thereafter",
        "label": "Time Deposit Maturities, after Year Five",
        "documentation": "Amount of time deposit maturing after fifth fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "us-gaap_TimeDepositMaturitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TimeDepositMaturitiesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Maturities of Time Deposits",
        "label": "Time Deposit Maturities [Table Text Block]",
        "documentation": "Tabular disclosure of time deposit liability maturities."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "us-gaap_TimeDepositMaturitiesYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TimeDepositMaturitiesYearFive",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "parentTag": "us-gaap_InterestBearingDomesticDepositTimeDeposits",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time Deposit Maturities, Year Five",
        "terseLabel": "2030",
        "documentation": "Amount of time deposit maturing in fifth fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "us-gaap_TimeDepositMaturitiesYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TimeDepositMaturitiesYearFour",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "parentTag": "us-gaap_InterestBearingDomesticDepositTimeDeposits",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time Deposit Maturities, Year Four",
        "terseLabel": "2029",
        "documentation": "Amount of time deposit maturing in fourth fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "us-gaap_TimeDepositMaturitiesYearOne": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TimeDepositMaturitiesYearOne",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "parentTag": "us-gaap_InterestBearingDomesticDepositTimeDeposits",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time Deposit Maturities, Year One",
        "terseLabel": "Remainder of 2026",
        "documentation": "Amount of time deposit maturing in next fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "us-gaap_TimeDepositMaturitiesYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TimeDepositMaturitiesYearThree",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "parentTag": "us-gaap_InterestBearingDomesticDepositTimeDeposits",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time Deposit Maturities, Year Three",
        "terseLabel": "2028",
        "documentation": "Amount of time deposit maturing in third fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "us-gaap_TimeDepositMaturitiesYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TimeDepositMaturitiesYearTwo",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "parentTag": "us-gaap_InterestBearingDomesticDepositTimeDeposits",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time Deposit Maturities, Year Two",
        "terseLabel": "2027",
        "documentation": "Amount of time deposit maturing in second fiscal year following current fiscal year. Time deposit includes, but is not limited to, certificate of deposit. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "us-gaap_TimeDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TimeDeposits",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Time Deposits, Total",
        "label": "Time Deposits",
        "terseLabel": "Time deposits",
        "documentation": "Amount of time deposit liabilities, including certificates of deposit."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r114"
     ]
    },
    "by_TimeDeposits250000OrMore": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TimeDeposits250000OrMore",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Time deposits ($250,000 and above)",
        "label": "Time Deposits250000 Or More",
        "documentation": "Time deposits 250000 or more."
       }
      }
     },
     "auth_ref": []
    },
    "by_TimeDepositsLessThan250000": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TimeDepositsLessThan250000",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Time deposits (below $250,000)",
        "label": "Time Deposits Less Than250000",
        "documentation": "Time deposits less than 250000."
       }
      }
     },
     "auth_ref": []
    },
    "by_TimeOptionsGrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TimeOptionsGrantsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Time Options Grants",
        "label": "Time Options Grants [Member]",
        "documentation": "Time options grants."
       }
      }
     },
     "auth_ref": []
    },
    "by_TotalModifiedByClassMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TotalModifiedByClassMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Modified by Class [Member]",
        "documentation": "Total modified by class.",
        "terseLabel": "Total Modified by Class"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TotalShareholderRtnAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Amount",
        "terseLabel": "Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r1460"
     ]
    },
    "ecd_TotalShareholderRtnVsPeerGroupTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TotalShareholderRtnVsPeerGroupTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Vs Peer Group [Text Block]",
        "terseLabel": "Total Shareholder Return Vs Peer Group"
       }
      }
     },
     "auth_ref": [
      "r1467"
     ]
    },
    "ecd_TradingArrAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TradingArrAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement [Axis]",
        "terseLabel": "Trading Arrangement:"
       }
      }
     },
     "auth_ref": [
      "r1487"
     ]
    },
    "ecd_TradingArrByIndTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TradingArrByIndTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangements, by Individual [Table]",
        "terseLabel": "Trading Arrangements, by Individual"
       }
      }
     },
     "auth_ref": [
      "r1489"
     ]
    },
    "us-gaap_TradingSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TradingSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Trading securities",
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI",
        "totalLabel": "Debt Securities, Trading, and Equity Securities, FV-NI, Total",
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r250",
      "r1237"
     ]
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "TradingSymbol",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Trading Symbol",
        "label": "Trading Symbol",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "by_TransferOfLandAndPremisesToAssetsHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TransferOfLandAndPremisesToAssetsHeldForSale",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfer of Land and Premises to Assets Held for Sale",
        "documentation": "Transfer of land and premises to assets held for sale.",
        "negatedLabel": "Transfer of land and premises to assets held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransferOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransferOfOtherRealEstate",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transfer of loans to other real estate owned",
        "label": "Real Estate Owned, Transfer from Real Estate Owned",
        "documentation": "Value transferred out of real estate owned (REO) in noncash transactions."
       }
      }
     },
     "auth_ref": [
      "r38",
      "r39",
      "r40"
     ]
    },
    "us-gaap_TransfersAndServicingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransfersAndServicingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfers and Servicing [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransfersAndServicingOfFinancialAssetsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransfersAndServicingOfFinancialAssetsTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Servicing Assets",
        "label": "Transfers and Servicing of Financial Assets [Text Block]",
        "documentation": "The entire disclosure for a transferor's continuing involvement in financial assets that it has transferred in a securitization or asset-backed financing arrangement, the nature of any restrictions on assets reported by an entity in its statement of financial position that relate to a transferred financial asset (including the carrying amounts of such assets), how servicing assets and servicing liabilities are reported, and (for securitization or asset-backed financing arrangements accounted for as sales) when a transferor has continuing involvement with the transferred financial assets and transfers of financial assets accounted for as secured borrowings, how the transfer of financial assets affects an entity's financial position, financial performance, and cash flows."
       }
      }
     },
     "auth_ref": [
      "r808",
      "r917",
      "r918",
      "r919",
      "r924",
      "r928",
      "r929",
      "r930",
      "r935",
      "r936",
      "r938",
      "r939",
      "r941",
      "r946",
      "r947",
      "r948",
      "r953",
      "r954",
      "r961",
      "r963",
      "r1072",
      "r1794"
     ]
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Instruments",
        "label": "Financial Instruments [Domain]",
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r525",
      "r567",
      "r805",
      "r823",
      "r860",
      "r873",
      "r876",
      "r918",
      "r919",
      "r920",
      "r921",
      "r922",
      "r923",
      "r925",
      "r926",
      "r927",
      "r931",
      "r932",
      "r933",
      "r934",
      "r937",
      "r940",
      "r949",
      "r950",
      "r951",
      "r952",
      "r955",
      "r956",
      "r957",
      "r958",
      "r959",
      "r960",
      "r961",
      "r962",
      "r964",
      "r965",
      "r966",
      "r994",
      "r1007",
      "r1367",
      "r1370",
      "r1372",
      "r1373",
      "r1374",
      "r1375",
      "r1376",
      "r1377",
      "r1378",
      "r1383",
      "r1508",
      "r1509",
      "r1510",
      "r1511",
      "r1512",
      "r1513",
      "r1514",
      "r1625",
      "r1626",
      "r1627",
      "r1628",
      "r1757",
      "r1760",
      "r1761",
      "r1762",
      "r1769",
      "r1772",
      "r1773",
      "r1774"
     ]
    },
    "ecd_TrdArrAdoptionDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrAdoptionDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Adoption Date",
        "terseLabel": "Adoption Date"
       }
      }
     },
     "auth_ref": [
      "r1490"
     ]
    },
    "ecd_TrdArrDuration": {
     "xbrltype": "durationItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrDuration",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Duration",
        "terseLabel": "Arrangement Duration"
       }
      }
     },
     "auth_ref": [
      "r1491"
     ]
    },
    "ecd_TrdArrExpirationDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrExpirationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Expiration Date",
        "terseLabel": "Expiration Date"
       }
      }
     },
     "auth_ref": [
      "r1491"
     ]
    },
    "ecd_TrdArrIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r1489"
     ]
    },
    "ecd_TrdArrIndTitle": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrIndTitle",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Title",
        "terseLabel": "Title"
       }
      }
     },
     "auth_ref": [
      "r1489"
     ]
    },
    "ecd_TrdArrSecuritiesAggAvailAmt": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrSecuritiesAggAvailAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Securities Aggregate Available Amount",
        "terseLabel": "Aggregate Available"
       }
      }
     },
     "auth_ref": [
      "r1492"
     ]
    },
    "ecd_TrdArrTerminationDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrTerminationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Termination Date",
        "terseLabel": "Termination Date"
       }
      }
     },
     "auth_ref": [
      "r1490"
     ]
    },
    "us-gaap_TreasuryStockCommonMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TreasuryStockCommonMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Treasury Stock Common",
        "label": "Treasury Stock, Common [Member]",
        "documentation": "Previously issued common shares repurchased by the issuing entity and held in treasury."
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "us-gaap_TreasuryStockCommonShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TreasuryStockCommonShares",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Treasury Stock, Common, Shares",
        "terseLabel": "Common stock, voting treasury shares",
        "documentation": "Number of previously issued common shares repurchased by the issuing entity and held in treasury."
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "us-gaap_TreasuryStockPreferredShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TreasuryStockPreferredShares",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Treasury preferred shares",
        "label": "Treasury Stock, Preferred, Shares",
        "documentation": "Number of previously issued preferred shares repurchased by the issuing entity and held in treasury."
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "us-gaap_TreasuryStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TreasuryStockValue",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Treasury Stock, Value, Total",
        "periodStartLabel": "Treasury Stock, Value, Beginning Balance",
        "periodEndLabel": "Treasury Stock, Value, Ending Balance",
        "negatedLabel": "Treasury stock, at cost",
        "label": "Treasury Stock, Value",
        "documentation": "The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury."
       }
      }
     },
     "auth_ref": [
      "r56",
      "r57",
      "r77",
      "r81"
     ]
    },
    "us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Modified [Table Text Block]",
        "terseLabel": "Summary of Loans with Modified Terms",
        "documentation": "Tabular disclosure of financing receivable modified for debtor experiencing financial difficulty."
       }
      }
     },
     "auth_ref": [
      "r153",
      "r154",
      "r1268",
      "r1609",
      "r1610"
     ]
    },
    "by_TwoThousandSeventeenOmnibusPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TwoThousandSeventeenOmnibusPlanMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two Thousand Seventeen Omnibus Plan [Member]",
        "documentation": "Two thousand seventeen omnibus plan.",
        "terseLabel": "Two Thousand Seventeen Omnibus Plan"
       }
      }
     },
     "auth_ref": []
    },
    "by_TwoThousandTwentyFiveSubordinateNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TwoThousandTwentyFiveSubordinateNotesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subordinate Notes 2025",
        "label": "Two Thousand Twenty Five Subordinate Notes [Member]",
        "documentation": "Two thousand twenty five subordinate notes member."
       }
      }
     },
     "auth_ref": []
    },
    "by_TwoThousandTwentySixOmnibusPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TwoThousandTwentySixOmnibusPlanMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Two Thousand Twenty Six Omnibus Plan",
        "label": "Two Thousand Twenty Six Omnibus Plan [Member]",
        "documentation": "Two Thousand Twenty Six Omnibus Plan."
       }
      }
     },
     "auth_ref": []
    },
    "by_TwoThousandTwentySubordinateNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "TwoThousandTwentySubordinateNotesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subordinate Notes 2020",
        "label": "Two Thousand Twenty Subordinate Notes [Member]",
        "documentation": "Two thousand twenty subordinate notes member"
       }
      }
     },
     "auth_ref": []
    },
    "by_USDAGuaranteedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "USDAGuaranteedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "USDA guaranteed loans",
        "label": "U S D A Guaranteed Loans [Member]",
        "documentation": "USDA guaranteed loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_USGovernmentAgenciesDebtSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "USGovernmentAgenciesDebtSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "U.S. Government Agencies",
        "label": "US Government Agencies Debt Securities [Member]",
        "documentation": "Debentures, notes, and other debt securities issued by US government agencies, for example, but not limited to, Government National Mortgage Association (GNMA or Ginnie Mae). Excludes US treasury securities and debt issued by government-sponsored Enterprises (GSEs), for example, but is not limited to, Federal Home Loan Mortgage Corporation (FHLMC or Freddie Mac), Federal National Mortgage Association (FNMA or Fannie Mae), and the Federal Home Loan Bank (FHLB)."
       }
      }
     },
     "auth_ref": [
      "r1251",
      "r1252",
      "r1304",
      "r1306",
      "r1801"
     ]
    },
    "us-gaap_USStatesAndPoliticalSubdivisionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "USStatesAndPoliticalSubdivisionsMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Obligations of States, Municipalities, and Political Subdivisions",
        "label": "US States and Political Subdivisions Debt Securities [Member]",
        "documentation": "Bonds or similar securities issued by state, city, or local US governments or the agencies operated by state, city, or local governments. Debt securities issued by state governments may include bond issuances of US state authorities including, for example, but not limited to, housing authorities, dormitory authorities, and general obligations while debt securities issued by political subdivisions of US states would include, for example, debt issuances by county, borough, city, or municipal governments."
       }
      }
     },
     "auth_ref": [
      "r1304",
      "r1306",
      "r1383",
      "r1394",
      "r1836"
     ]
    },
    "us-gaap_USTreasuryNotesSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "USTreasuryNotesSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "U.S. treasury notes",
        "label": "US Treasury Notes Securities [Member]",
        "documentation": "This category includes information about negotiable debt securities issued by the United States Department of the Treasury which generally have maturities of one to ten years, are interest bearing, and are backed by the full faith and credit of the United States government."
       }
      }
     },
     "auth_ref": [
      "r1801"
     ]
    },
    "us-gaap_USTreasurySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "USTreasurySecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "U.S. Treasury Notes",
        "label": "US Treasury Securities [Member]",
        "documentation": "This category includes information about debt securities issued by the United States Department of the Treasury and backed by the United States government. Such securities primarily consist of treasury bills (short-term maturities - one year or less), treasury notes (intermediate term maturities - two to ten years), and treasury bonds (long-term maturities - ten to thirty years)."
       }
      }
     },
     "auth_ref": [
      "r1251",
      "r1252",
      "r1304",
      "r1306",
      "r1308",
      "r1367",
      "r1801"
     ]
    },
    "by_UnamortizedAccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "UnamortizedAccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unamortized accumulated other comprehensive income loss cumulative changes in net gain loss from cash flow hedges effect net of tax.",
        "label": "Unamortized Accumulated Other Comprehensive Income Loss Cumulative Changes in Net Gain Loss From Cash Flow Hedges Effect Net Of Tax",
        "terseLabel": "Remaining unamortized balance"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnamortizedDebtIssuanceExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unamortized debt issuance costs",
        "label": "Unamortized Debt Issuance Expense",
        "documentation": "The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnderlyingAssetClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnderlyingAssetClassAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underlying Asset Class [Axis]",
        "terseLabel": "Underlying Asset Class",
        "documentation": "Information by underlying asset class."
       }
      }
     },
     "auth_ref": [
      "r1359"
     ]
    },
    "us-gaap_UnderlyingAssetClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnderlyingAssetClassDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underlying Asset Class [Domain]",
        "terseLabel": "Underlying Asset Class",
        "documentation": "Major types of referenced/underlying asset classes (for example, corporate debt, sovereign debt, and structured finance)."
       }
      }
     },
     "auth_ref": [
      "r1359"
     ]
    },
    "ecd_UndrlygSecurityMktPriceChngPct": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "UndrlygSecurityMktPriceChngPct",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underlying Security Market Price Change, Percent",
        "terseLabel": "Underlying Security Market Price Change"
       }
      }
     },
     "auth_ref": [
      "r1486"
     ]
    },
    "by_UnpaidPrincipalBalanceOfPurchasedCreditDeteriorationLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "UnpaidPrincipalBalanceOfPurchasedCreditDeteriorationLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unpaid Principal Balance",
        "label": "Unpaid Principal Balance of Purchased Credit Deterioration Loans",
        "documentation": "Unpaid principal balance of purchased credit deterioration loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnrealizedGainLossOnInvestmentsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized Gain (Loss) on Investments [Table Text Block]",
        "terseLabel": "Summary of Gross Unrealized Losses and Fair Values, Aggregated by Investment Category and Length of Individual Securities Continuous Unrealized Loss Position Available-for-sale and Held to Maturity",
        "documentation": "Tabular disclosure of unrealized gains and losses on investments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_VariableLeaseCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableLeaseCost",
     "crdr": "debit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails": {
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable lease cost",
        "label": "Variable Lease, Cost",
        "documentation": "Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases."
       }
      }
     },
     "auth_ref": [
      "r898",
      "r1381"
     ]
    },
    "us-gaap_VariableRateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableRateAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable Rate",
        "label": "Variable Rate [Axis]",
        "documentation": "Information by type of variable rate."
       }
      }
     },
     "auth_ref": [
      "r1527",
      "r1675",
      "r1753"
     ]
    },
    "us-gaap_VariableRateDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableRateDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable Rate",
        "label": "Variable Rate [Domain]",
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index."
       }
      }
     },
     "auth_ref": [
      "r1527",
      "r1675",
      "r1753"
     ]
    },
    "by_VariableRateLoanCommitmentsMaturitiesEndingYear": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "VariableRateLoanCommitmentsMaturitiesEndingYear",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable rate loan commitments maturity year",
        "label": "Variable Rate Loan Commitments Maturities Ending Year",
        "documentation": "Variable rate loan commitments maturities ending year."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_VestingAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VestingAxis",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vesting",
        "label": "Vesting [Axis]",
        "documentation": "Information by vesting schedule of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1691",
      "r1692",
      "r1693",
      "r1694",
      "r1695",
      "r1696",
      "r1697",
      "r1698",
      "r1699",
      "r1700",
      "r1701",
      "r1702",
      "r1703",
      "r1704",
      "r1705",
      "r1706",
      "r1707",
      "r1708",
      "r1709",
      "r1710",
      "r1711",
      "r1712",
      "r1713",
      "r1714",
      "r1715",
      "r1716"
     ]
    },
    "us-gaap_VestingDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VestingDomain",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vesting",
        "label": "Vesting [Domain]",
        "documentation": "Vesting schedule of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1691",
      "r1692",
      "r1693",
      "r1694",
      "r1695",
      "r1696",
      "r1697",
      "r1698",
      "r1699",
      "r1700",
      "r1701",
      "r1702",
      "r1703",
      "r1704",
      "r1705",
      "r1706",
      "r1707",
      "r1708",
      "r1709",
      "r1710",
      "r1711",
      "r1712",
      "r1713",
      "r1714",
      "r1715",
      "r1716"
     ]
    },
    "ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year [Member]",
        "terseLabel": "Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year"
       }
      }
     },
     "auth_ref": [
      "r1456"
     ]
    },
    "by_WatchMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "WatchMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Watch",
        "label": "Watch [Member]",
        "documentation": "Watch."
       }
      }
     },
     "auth_ref": []
    },
    "by_WealthManagementAndTrustIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "WealthManagementAndTrustIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Wealth management and trust income",
        "label": "Wealth Management And Trust Income",
        "documentation": "Wealth management and trust income"
       }
      }
     },
     "auth_ref": []
    },
    "by_WeightedAverageExtendedMaturityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "WeightedAverageExtendedMaturityMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Extended Maturity [Member]",
        "documentation": "Weighted Aaerage extended maturity.",
        "terseLabel": "Weighted Average Term Modification"
       }
      }
     },
     "auth_ref": []
    },
    "srt_WeightedAverageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "WeightedAverageMember",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average",
        "label": "Weighted Average [Member]",
        "documentation": "Average of a range of values, calculated with consideration of proportional relevance."
       }
      }
     },
     "auth_ref": [
      "r615",
      "r616",
      "r842",
      "r942",
      "r1230",
      "r1231",
      "r1372",
      "r1787",
      "r1789",
      "r1792"
     ]
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Weighted-average common stock outstanding (dilutive)",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "verboseLabel": "Weighted-average common stock outstanding (dilutive)",
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period."
       }
      }
     },
     "auth_ref": [
      "r333",
      "r342"
     ]
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted-average common stock outstanding:",
        "label": "Weighted Average Number of Shares Outstanding, Diluted [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "calculation": {
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20260630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Weighted-average common stock outstanding (basic)",
        "terseLabel": "Shares outstanding",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total",
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period."
       }
      }
     },
     "auth_ref": [
      "r332",
      "r342"
     ]
    },
    "by_WeightedAveragePrincipalForgiveness": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20260630",
     "localname": "WeightedAveragePrincipalForgiveness",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20260630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Principal Forgiveness",
        "documentation": "Weighted average principal forgiveness.",
        "terseLabel": "Weighted average principal forgiveness"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested [Member]",
        "terseLabel": "Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested"
       }
      }
     },
     "auth_ref": [
      "r1454"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "230",
   "Topic": "830",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477401/830-230-45-1"
  },
  "r1": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10A",
   "SubTopic": "10",
   "Topic": "220",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-10A"
  },
  "r2": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482130/360-10-45-14"
  },
  "r3": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-14"
  },
  "r4": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "SubTopic": "10",
   "Topic": "220",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-15"
  },
  "r5": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "SubTopic": "10",
   "Topic": "810",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-20"
  },
  "r6": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "21C",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-21C"
  },
  "r7": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r8": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r9": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r10": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "470",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-1"
  },
  "r11": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "405",
   "Topic": "942",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478353/942-405-50-1"
  },
  "r12": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "SubTopic": "405",
   "Topic": "942",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478353/942-405-50-1"
  },
  "r13": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)(3)",
   "SubTopic": "10",
   "Topic": "810",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-1A"
  },
  "r14": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "SubTopic": "10",
   "Topic": "505",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r15": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "SubTopic": "10",
   "Topic": "718",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r16": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "SubTopic": "10",
   "Topic": "718",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r17": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "718",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2A"
  },
  "r18": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-3"
  },
  "r19": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(c)(2)",
   "SubTopic": "20",
   "Topic": "860",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4D"
  },
  "r20": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "SubTopic": "10",
   "Topic": "320",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-8"
  },
  "r21": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Subparagraph": "(a)",
   "Paragraph": "4",
   "SubTopic": "20",
   "Topic": "860",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r22": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r23": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r24": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-14"
  },
  "r25": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-14A"
  },
  "r26": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-5"
  },
  "r27": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-12"
  },
  "r28": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-12"
  },
  "r29": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-12"
  },
  "r30": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-13"
  },
  "r31": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-13"
  },
  "r32": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-14"
  },
  "r33": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r34": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-4"
  },
  "r35": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-8"
  },
  "r36": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-9"
  },
  "r37": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-2"
  },
  "r38": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-3"
  },
  "r39": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-4"
  },
  "r40": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-5"
  },
  "r41": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r42": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-25"
  },
  "r43": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r44": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "320",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/320/tableOfContent"
  },
  "r45": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482130/360-10-45-4"
  },
  "r46": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r47": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-5"
  },
  "r48": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "50",
   "Section": "40",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481303/470-50-40-2"
  },
  "r49": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "50",
   "Section": "40",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481303/470-50-40-4"
  },
  "r50": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481142/505-10-45-2"
  },
  "r51": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-10"
  },
  "r52": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-3"
  },
  "r53": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-4"
  },
  "r54": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-5"
  },
  "r55": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-8"
  },
  "r56": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481549/505-30-45-1"
  },
  "r57": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481520/505-30-50-4"
  },
  "r58": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r59": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r60": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477263/942-210-45-4"
  },
  "r61": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-1"
  },
  "r62": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r63": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "825",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478898/942-825-50-1"
  },
  "r64": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "825",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478898/942-825-50-2"
  },
  "r65": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r66": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r67": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r68": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r69": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r70": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r71": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r72": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r73": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r74": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r75": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(26))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r76": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r77": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r78": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r79": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r80": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r81": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r82": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(31))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r83": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(32))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r84": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r85": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/220/tableOfContent"
  },
  "r86": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-11"
  },
  "r87": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r88": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r89": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r90": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(7)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r91": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r92": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(9)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r93": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-13"
  },
  "r94": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r95": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r96": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-24"
  },
  "r97": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r98": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r99": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 4.E)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480418/310-10-S99-2"
  },
  "r100": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482130/360-10-45-15"
  },
  "r101": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "440",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/440/tableOfContent"
  },
  "r102": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/505/tableOfContent"
  },
  "r103": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-6"
  },
  "r104": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-7"
  },
  "r105": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r106": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r107": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "718",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Section": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r108": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "718",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Section": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r109": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-19"
  },
  "r110": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-1A"
  },
  "r111": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r112": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(10)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r113": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r114": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r115": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(13)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r116": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(13)(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r117": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r118": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(15)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r119": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r120": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r121": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r122": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r123": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r124": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r125": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r126": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r127": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(13)(h))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r128": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r129": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(14)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r130": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r131": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r132": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r133": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r134": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r135": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r136": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r137": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r138": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r139": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "230",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479024/942-230-45-1"
  },
  "r140": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/942-320/tableOfContent"
  },
  "r141": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "470",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478878/942-470-45-1"
  },
  "r142": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "470",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r143": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r144": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r145": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r146": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r147": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-11B"
  },
  "r148": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-11B"
  },
  "r149": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-11B"
  },
  "r150": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-29"
  },
  "r151": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-29"
  },
  "r152": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-29"
  },
  "r153": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "33",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-33"
  },
  "r154": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "34",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-34"
  },
  "r155": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "34",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-34"
  },
  "r156": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-4"
  },
  "r157": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-7"
  },
  "r158": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-7"
  },
  "r159": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-7A"
  },
  "r160": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481696/310-30-50-2"
  },
  "r161": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "40",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481774/310-40-40-7A"
  },
  "r162": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(aa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r163": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r164": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r165": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r166": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-6"
  },
  "r167": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-6"
  },
  "r168": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-6"
  },
  "r169": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-7"
  },
  "r170": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-8B"
  },
  "r171": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "840",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481501/840-20-50-2"
  },
  "r172": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477268/942-320-50-3"
  },
  "r173": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "321",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479567/321-10-45-1"
  },
  "r174": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "SubTopic": "20",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482659/740-20-45-2"
  },
  "r175": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "270",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1"
  },
  "r176": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "718",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2A"
  },
  "r177": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(1)(ii)",
   "SubTopic": "20",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r178": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-9"
  },
  "r179": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h))",
   "SubTopic": "10",
   "Topic": "235",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r180": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/250/tableOfContent"
  },
  "r181": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r182": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(1)(Instruction 4)",
   "Publisher": "SEC"
  },
  "r183": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1403",
   "Paragraph": "b",
   "Publisher": "SEC"
  },
  "r184": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1404",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r185": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1404",
   "Paragraph": "b",
   "Publisher": "SEC"
  },
  "r186": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "a",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r187": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "a",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r188": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "a",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r189": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "a",
   "Subparagraph": "(4)",
   "Publisher": "SEC"
  },
  "r190": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "c",
   "Publisher": "SEC"
  },
  "r191": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1406",
   "Paragraph": "e",
   "Publisher": "SEC"
  },
  "r192": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1406",
   "Publisher": "SEC"
  },
  "r193": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "04",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r194": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r195": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12A",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r196": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12B",
   "Paragraph": "Column A",
   "Subparagraph": "(a)",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r197": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12B",
   "Paragraph": "Column A",
   "Subparagraph": "(b)",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r198": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "14",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r199": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column A",
   "Publisher": "SEC"
  },
  "r200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column B",
   "Publisher": "SEC"
  },
  "r201": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column C",
   "Publisher": "SEC"
  },
  "r202": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column D",
   "Publisher": "SEC"
  },
  "r203": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column E",
   "Publisher": "SEC"
  },
  "r204": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column F",
   "Publisher": "SEC"
  },
  "r205": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r206": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column B",
   "Publisher": "SEC"
  },
  "r207": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column C",
   "Publisher": "SEC"
  },
  "r208": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column D",
   "Publisher": "SEC"
  },
  "r209": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column E",
   "Publisher": "SEC"
  },
  "r210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column F",
   "Publisher": "SEC"
  },
  "r211": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column G",
   "Publisher": "SEC"
  },
  "r212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column H",
   "Publisher": "SEC"
  },
  "r213": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column I",
   "Publisher": "SEC"
  },
  "r214": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column A",
   "Footnote": "3",
   "Publisher": "SEC"
  },
  "r215": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column A",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r216": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column B",
   "Publisher": "SEC"
  },
  "r217": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column C",
   "Publisher": "SEC"
  },
  "r218": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(i)",
   "Publisher": "SEC"
  },
  "r219": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)(A)",
   "Publisher": "SEC"
  },
  "r220": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)(B)",
   "Publisher": "SEC"
  },
  "r221": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r222": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(i)",
   "Publisher": "SEC"
  },
  "r223": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)(A)",
   "Publisher": "SEC"
  },
  "r224": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)(B)",
   "Publisher": "SEC"
  },
  "r225": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)(C)",
   "Publisher": "SEC"
  },
  "r226": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r227": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 11",
   "Section": "L",
   "Publisher": "SEC"
  },
  "r228": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 11",
   "Section": "M",
   "Paragraph": "Question 2",
   "Publisher": "SEC"
  },
  "r229": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 5",
   "Section": "Y",
   "Paragraph": "Question 2",
   "Publisher": "SEC"
  },
  "r230": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 5",
   "Section": "Y",
   "Paragraph": "Question 4",
   "Publisher": "SEC"
  },
  "r231": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r232": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r233": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r234": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r235": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r236": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-7"
  },
  "r237": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r238": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r239": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r240": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r241": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r242": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481003/205-10-S50-2"
  },
  "r243": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SAB Topic 1.B.2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480922/205-10-S99-7"
  },
  "r244": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5C",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-5C"
  },
  "r245": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-7"
  },
  "r246": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r247": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r248": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r249": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r250": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r251": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r252": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r253": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r254": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r255": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r256": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r257": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r258": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r259": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r260": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r261": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r262": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-10"
  },
  "r263": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-12"
  },
  "r264": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-10A"
  },
  "r265": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-10A"
  },
  "r266": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-10A"
  },
  "r267": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-11"
  },
  "r268": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-12"
  },
  "r269": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-14A"
  },
  "r270": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-15"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-17A"
  },
  "r272": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1A"
  },
  "r273": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1A"
  },
  "r274": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1A"
  },
  "r275": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1B"
  },
  "r276": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1B"
  },
  "r277": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-4"
  },
  "r278": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-5"
  },
  "r279": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-6"
  },
  "r280": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r282": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r283": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r284": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r285": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-6"
  },
  "r286": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476151/220-40-65-1"
  },
  "r287": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476151/220-40-65-1"
  },
  "r288": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476151/220-40-65-1"
  },
  "r289": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-11"
  },
  "r290": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-12"
  },
  "r291": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r292": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-17"
  },
  "r293": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-19"
  },
  "r294": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-24"
  },
  "r295": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r296": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-2"
  },
  "r297": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-2A"
  },
  "r298": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-8"
  },
  "r299": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-1"
  },
  "r300": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-4"
  },
  "r301": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r302": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r303": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r304": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r305": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r306": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r307": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r308": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-3"
  },
  "r309": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-23"
  },
  "r310": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-24"
  },
  "r311": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-5"
  },
  "r312": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-6"
  },
  "r313": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r314": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r315": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r316": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r317": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r318": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r319": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r320": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-11"
  },
  "r321": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-11"
  },
  "r322": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-3"
  },
  "r323": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-4"
  },
  "r324": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-6"
  },
  "r325": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r326": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r327": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-8"
  },
  "r328": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-9"
  },
  "r329": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-5"
  },
  "r330": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-6"
  },
  "r331": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/260/tableOfContent"
  },
  "r332": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-10"
  },
  "r333": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-16"
  },
  "r334": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-2"
  },
  "r335": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-22"
  },
  "r336": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-23"
  },
  "r337": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-28A"
  },
  "r338": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-3"
  },
  "r339": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r340": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r341": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-7"
  },
  "r342": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r343": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r344": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-2"
  },
  "r345": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-3"
  },
  "r346": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482635/260-10-55-15"
  },
  "r347": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1"
  },
  "r348": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-6A"
  },
  "r349": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483014/272-10-45-1"
  },
  "r350": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482987/272-10-50-1"
  },
  "r351": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482987/272-10-50-3"
  },
  "r352": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-9"
  },
  "r353": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/280/tableOfContent"
  },
  "r354": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-15"
  },
  "r355": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-21"
  },
  "r356": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-21"
  },
  "r357": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-21"
  },
  "r358": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r359": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r360": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r361": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r362": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r363": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-24"
  },
  "r364": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26"
  },
  "r365": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26B"
  },
  "r366": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26C"
  },
  "r367": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r368": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r369": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r370": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r371": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r372": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-31"
  },
  "r373": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r374": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(ee)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r375": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r376": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "34",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-34"
  },
  "r377": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "40",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-40"
  },
  "r378": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-41"
  },
  "r379": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-41"
  },
  "r380": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-42"
  },
  "r381": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476173/280-10-65-1"
  },
  "r382": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476173/280-10-65-1"
  },
  "r383": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-13"
  },
  "r384": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-2"
  },
  "r385": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-3"
  },
  "r386": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-11"
  },
  "r387": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11C",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-11C"
  },
  "r388": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11C",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-11C"
  },
  "r389": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "35",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-35"
  },
  "r390": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-4"
  },
  "r391": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-42"
  },
  "r392": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-42"
  },
  "r393": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-42"
  },
  "r394": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "44",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-44"
  },
  "r395": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/320/tableOfContent"
  },
  "r396": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481830/320-10-45-11"
  },
  "r397": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-10"
  },
  "r398": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r399": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r400": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(aa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r401": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(aaa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r402": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r403": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r404": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r405": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r406": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r407": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r408": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r409": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r410": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r411": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r412": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(aaa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r413": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r414": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r415": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r416": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r417": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r418": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r419": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r420": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5A"
  },
  "r421": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5A"
  },
  "r422": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5A"
  },
  "r423": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r424": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r425": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r426": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r427": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r428": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-9"
  },
  "r429": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-9"
  },
  "r430": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r431": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r432": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r433": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r434": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r435": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r436": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-5"
  },
  "r437": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479344/326-20-45-2"
  },
  "r438": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479344/326-20-45-5"
  },
  "r439": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-11"
  },
  "r440": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r441": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r442": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r443": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r444": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r445": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r446": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r447": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-14"
  },
  "r448": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-16"
  },
  "r449": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-16"
  },
  "r450": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-16"
  },
  "r451": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-19"
  },
  "r452": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-19"
  },
  "r453": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-19"
  },
  "r454": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-19"
  },
  "r455": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-3A"
  },
  "r456": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-5"
  },
  "r457": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-5"
  },
  "r458": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-6"
  },
  "r459": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-6A"
  },
  "r460": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479130/326-30-45-1"
  },
  "r461": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-4"
  },
  "r462": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-4"
  },
  "r463": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-4"
  },
  "r464": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-4"
  },
  "r465": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-5"
  },
  "r466": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-7"
  },
  "r467": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-9"
  },
  "r468": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480265/350-10-S45-1"
  },
  "r469": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482598/350-20-45-1"
  },
  "r470": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r471": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-4"
  },
  "r472": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482686/350-30-45-1"
  },
  "r473": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482686/350-30-45-2"
  },
  "r474": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r475": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r476": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r477": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r478": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r479": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-2"
  },
  "r480": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-2"
  },
  "r481": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-2"
  },
  "r482": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-2"
  },
  "r483": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-2"
  },
  "r484": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476166/350-60-65-1"
  },
  "r485": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476166/350-60-65-1"
  },
  "r486": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-3"
  },
  "r487": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r488": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "405",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477123/405-50-65-1"
  },
  "r489": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482017/420-10-50-1"
  },
  "r490": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482648/440-10-50-4"
  },
  "r491": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482648/440-10-50-4"
  },
  "r492": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-4"
  },
  "r493": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-9"
  },
  "r494": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r495": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r496": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482454/460-10-45-1"
  },
  "r497": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-6"
  },
  "r498": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r499": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r500": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r501": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r502": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r503": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r504": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r505": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r506": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r507": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r508": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r509": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r510": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r511": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r512": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r513": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r514": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r515": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r516": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r517": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r518": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r519": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r520": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r521": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r522": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r523": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r524": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r525": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1I"
  },
  "r526": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-4"
  },
  "r527": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-6"
  },
  "r528": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r529": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r530": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r531": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r532": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r533": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(f)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r534": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481648/480-10-50-2"
  },
  "r535": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481648/480-10-50-2"
  },
  "r536": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481648/480-10-50-2"
  },
  "r537": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481648/480-10-50-2"
  },
  "r538": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481648/480-10-50-2"
  },
  "r539": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481648/480-10-50-2"
  },
  "r540": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481648/480-10-50-2"
  },
  "r541": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481648/480-10-50-2"
  },
  "r542": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481648/480-10-50-4"
  },
  "r543": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479887/480-10-S45-1"
  },
  "r544": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479887/480-10-S45-2"
  },
  "r545": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479887/480-10-S45-3"
  },
  "r546": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479857/480-10-S50-1"
  },
  "r547": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479857/480-10-S50-2"
  },
  "r548": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479857/480-10-S50-3"
  },
  "r549": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r550": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(01)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r551": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(01)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r552": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r553": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3A",
   "Subparagraph": "(24)(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-3A"
  },
  "r554": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r555": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r556": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r557": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r558": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r559": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r560": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r561": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r562": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r563": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r564": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-16"
  },
  "r565": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r566": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r567": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r568": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r569": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r570": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r571": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-4"
  },
  "r572": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-5"
  },
  "r573": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-7"
  },
  "r574": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r575": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r576": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r577": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r578": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r579": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r580": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r581": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r582": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r583": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r584": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480576/715-80-50-5"
  },
  "r585": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480576/715-80-50-5"
  },
  "r586": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/718/tableOfContent"
  },
  "r587": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480483/718-10-35-1D"
  },
  "r588": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480483/718-10-35-2"
  },
  "r589": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480483/718-10-35-3"
  },
  "r590": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480454/718-10-45-1"
  },
  "r591": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r592": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r593": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r594": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r595": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r596": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r597": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r598": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r599": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r600": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r601": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r602": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r603": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r604": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r605": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r606": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r607": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r608": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r609": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r610": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r611": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r612": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r613": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r614": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r615": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r616": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r617": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r618": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(v)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r619": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r620": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r621": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r622": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r623": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(l)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r624": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "17",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480336/718-10-65-17"
  },
  "r625": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "17",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480336/718-10-65-17"
  },
  "r626": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "17",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480336/718-10-65-17"
  },
  "r627": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "17",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480336/718-10-65-17"
  },
  "r628": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479983/718-10-S45-1"
  },
  "r629": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 14.F)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479830/718-10-S99-1"
  },
  "r630": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "720",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483359/720-20-50-1"
  },
  "r631": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/740/tableOfContent"
  },
  "r632": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482525/740-10-45-4"
  },
  "r633": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482525/740-10-45-6"
  },
  "r634": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-10"
  },
  "r635": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12"
  },
  "r636": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12B"
  },
  "r637": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12C"
  },
  "r638": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-14"
  },
  "r639": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-15"
  },
  "r640": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-17"
  },
  "r641": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-21"
  },
  "r642": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-22"
  },
  "r643": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-23"
  },
  "r644": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-3"
  },
  "r645": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-8"
  },
  "r646": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-8"
  },
  "r647": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-9"
  },
  "r648": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-9"
  },
  "r649": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-9"
  },
  "r650": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 6.I.5.Q1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-1"
  },
  "r651": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-1"
  },
  "r652": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 11.C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-2"
  },
  "r653": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "270",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477891/740-270-50-1"
  },
  "r654": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482603/740-30-50-2"
  },
  "r655": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r656": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r657": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r658": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r659": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r660": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r661": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r662": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r663": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r664": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r665": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/805-10/tableOfContent"
  },
  "r666": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r667": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r668": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r669": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r670": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r671": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r672": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r673": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r674": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r675": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r676": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r677": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r678": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r679": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r680": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r681": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r682": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r683": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r684": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-3"
  },
  "r685": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-4"
  },
  "r686": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-5"
  },
  "r687": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-7"
  },
  "r688": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/805-20/tableOfContent"
  },
  "r689": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r690": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r691": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r692": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r693": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r694": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r695": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r696": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r697": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r698": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r699": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r700": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-2"
  },
  "r701": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-3"
  },
  "r702": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-4"
  },
  "r703": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-4A"
  },
  "r704": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-4A"
  },
  "r705": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-4A"
  },
  "r706": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-5"
  },
  "r707": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-5"
  },
  "r708": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479845/805-20-65-3"
  },
  "r709": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479845/805-20-65-3"
  },
  "r710": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479845/805-20-65-3"
  },
  "r711": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/805-30/tableOfContent"
  },
  "r712": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r713": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r714": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r715": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r716": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r717": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r718": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r719": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r720": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r721": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r722": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r723": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r724": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r725": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-2"
  },
  "r726": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-3"
  },
  "r727": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-4"
  },
  "r728": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-4"
  },
  "r729": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-4"
  },
  "r730": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479326/805-40-45-1"
  },
  "r731": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r732": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r733": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r734": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r735": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r736": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-25"
  },
  "r737": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-25"
  },
  "r738": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-1A"
  },
  "r739": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r740": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r741": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/815/tableOfContent"
  },
  "r742": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r743": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r744": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r745": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r746": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1B"
  },
  "r747": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-2"
  },
  "r748": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-2"
  },
  "r749": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-2"
  },
  "r750": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-2"
  },
  "r751": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-2"
  },
  "r752": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r753": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r754": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r755": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r756": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r757": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r758": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r759": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r760": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r761": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r762": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r763": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r764": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r765": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r766": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4CC",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4CC"
  },
  "r767": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4CCC",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC"
  },
  "r768": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4CCC",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC"
  },
  "r769": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4CCC",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC"
  },
  "r770": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r771": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r772": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r773": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r774": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r775": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r776": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r777": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4EE",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4EE"
  },
  "r778": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4EE",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4EE"
  },
  "r779": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4EE",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4EE"
  },
  "r780": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4EE",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4EE"
  },
  "r781": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4EEE",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4EEE"
  },
  "r782": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4EEE",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4EEE"
  },
  "r783": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4EEE",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4EEE"
  },
  "r784": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4F"
  },
  "r785": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4F"
  },
  "r786": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4H",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4H"
  },
  "r787": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4H",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4H"
  },
  "r788": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4H",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4H"
  },
  "r789": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4I"
  },
  "r790": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r791": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r792": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r793": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r794": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r795": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r796": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r797": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r798": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r799": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r800": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r801": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r802": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4L",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4L"
  },
  "r803": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5C",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-5C"
  },
  "r804": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-7A"
  },
  "r805": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8A"
  },
  "r806": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "15",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480960/815-15-50-3"
  },
  "r807": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480627/815-20-45-3"
  },
  "r808": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480591/815-20-50-1"
  },
  "r809": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r810": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r811": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r812": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r813": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r814": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r815": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r816": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(i)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r817": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(i)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r818": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(i)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r819": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r820": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r821": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r822": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r823": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480237/815-40-50-5"
  },
  "r824": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480237/815-40-50-6"
  },
  "r825": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r826": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r827": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r828": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r829": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r830": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r831": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r832": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r833": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r834": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r835": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r836": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r837": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482134/820-10-35-54B"
  },
  "r838": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r839": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r840": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r841": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r842": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r843": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r844": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r845": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r846": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r847": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r848": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r849": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r850": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r851": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2E"
  },
  "r852": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2G",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2G"
  },
  "r853": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r854": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r855": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r856": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r857": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r858": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r859": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r860": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6B"
  },
  "r861": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6B"
  },
  "r862": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6B"
  },
  "r863": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482477/820-10-65-13"
  },
  "r864": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482477/820-10-65-13"
  },
  "r865": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482736/825-10-45-1A"
  },
  "r866": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482736/825-10-45-2"
  },
  "r867": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-10"
  },
  "r868": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r869": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r870": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r871": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-12"
  },
  "r872": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r873": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r874": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r875": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-30"
  },
  "r876": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-32"
  },
  "r877": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482804/825-20-50-1"
  },
  "r878": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-17"
  },
  "r879": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r880": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r881": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r882": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r883": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481674/830-30-50-1"
  },
  "r884": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481674/830-30-50-2"
  },
  "r885": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483013/835-20-50-1"
  },
  "r886": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-2"
  },
  "r887": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482900/835-30-50-1"
  },
  "r888": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479832/842-10-65-8"
  },
  "r889": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/842-20/tableOfContent"
  },
  "r890": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "12A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479165/842-20-35-12A"
  },
  "r891": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-1"
  },
  "r892": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-1"
  },
  "r893": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-2"
  },
  "r894": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-3"
  },
  "r895": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r896": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r897": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r898": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r899": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r900": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r901": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r902": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r903": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-6"
  },
  "r904": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-7A"
  },
  "r905": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-7A"
  },
  "r906": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479773/842-30-50-5"
  },
  "r907": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-1"
  },
  "r908": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-1"
  },
  "r909": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r910": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r911": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r912": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r913": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r914": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r915": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r916": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-2"
  },
  "r917": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/860/tableOfContent"
  },
  "r918": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r919": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r920": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r921": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r922": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r923": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r924": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r925": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r926": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r927": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r928": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(cc)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r929": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(5)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r930": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r931": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r932": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r933": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r934": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r935": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r936": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4D"
  },
  "r937": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481444/860-30-45-1"
  },
  "r938": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-1A"
  },
  "r939": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-1A"
  },
  "r940": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-7"
  },
  "r941": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-7"
  },
  "r942": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-7"
  },
  "r943": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481260/860-50-45-1"
  },
  "r944": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481260/860-50-45-2"
  },
  "r945": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481260/860-50-45-2"
  },
  "r946": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-2"
  },
  "r947": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-2"
  },
  "r948": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r949": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r950": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r951": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r952": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(4)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r953": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(4)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r954": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r955": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r956": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r957": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r958": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r959": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r960": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r961": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r962": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r963": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r964": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r965": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r966": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r967": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "910",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482546/910-10-50-6"
  },
  "r968": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "924",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 11.L)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479941/924-10-S99-1"
  },
  "r969": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "926",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483154/926-20-50-5"
  },
  "r970": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "928",
   "SubTopic": "340",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478859/928-340-50-1"
  },
  "r971": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "940",
   "SubTopic": "820",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478119/940-820-50-1"
  },
  "r972": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r973": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r974": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r975": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r976": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(14)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r977": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r978": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(26))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r979": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(27))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r980": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r981": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "230",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479024/942-230-45-1"
  },
  "r982": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478671/942-235-S50-1"
  },
  "r983": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-1"
  },
  "r984": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-1"
  },
  "r985": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-2"
  },
  "r986": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477268/942-320-50-3"
  },
  "r987": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477268/942-320-50-3A"
  },
  "r988": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477268/942-320-50-3A"
  },
  "r989": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477268/942-320-50-3A"
  },
  "r990": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477268/942-320-50-3A"
  },
  "r991": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477268/942-320-50-3A"
  },
  "r992": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478451/942-360-50-1"
  },
  "r993": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "740",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477617/942-740-50-1"
  },
  "r994": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "825",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478898/942-825-50-1"
  },
  "r995": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r996": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r997": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r998": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r999": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1000": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1001": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1002": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1003": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1004": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r1005": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r1006": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r1007": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r1008": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r1009": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r1010": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r1011": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(3)(d)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r1012": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r1013": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r1014": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r1015": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r1016": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r1017": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r1018": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r1019": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4E"
  },
  "r1020": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1021": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1022": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1023": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-9"
  },
  "r1024": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1025": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1026": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1027": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1028": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1029": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1030": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1031": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1032": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1033": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1034": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1035": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r1036": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.W.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479583/944-40-S99-1"
  },
  "r1037": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "740",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478822/944-740-50-1"
  },
  "r1038": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "805",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478072/944-805-50-1"
  },
  "r1039": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r1040": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r1041": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r1042": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r1043": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r1044": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-11"
  },
  "r1045": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-13"
  },
  "r1046": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-4"
  },
  "r1047": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-6"
  },
  "r1048": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-2"
  },
  "r1049": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "27",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-27"
  },
  "r1050": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r1051": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r1052": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r1053": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r1054": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r1055": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r1056": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r1057": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r1058": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477796/946-210-45-4"
  },
  "r1059": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r1060": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r1061": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r1062": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r1063": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r1064": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-12"
  },
  "r1065": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1066": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1067": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1068": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1069": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1070": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1071": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1072": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1073": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1074": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1075": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1076": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1077": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1078": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1079": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1080": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(16)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1081": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1082": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1083": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1084": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1085": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1086": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1087": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1088": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(5)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1089": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1090": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1091": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1092": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1093": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1094": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1095": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1096": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1097": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1098": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-2"
  },
  "r1099": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-2"
  },
  "r1100": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-7"
  },
  "r1101": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478297/946-220-50-3"
  },
  "r1102": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1103": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1104": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(g)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1105": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1106": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1107": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1108": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1109": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1110": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1111": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1112": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1113": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1114": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1115": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1116": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1117": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1118": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r1119": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r1120": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r1121": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r1122": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r1123": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r1124": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1125": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1126": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1127": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1128": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1129": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1130": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column B)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1131": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1132": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1133": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1134": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1135": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1136": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1137": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1138": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1139": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1140": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1141": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1142": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1143": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1144": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "19",
   "Subparagraph": "(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-19"
  },
  "r1145": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "19",
   "Subparagraph": "(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-19"
  },
  "r1146": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r1147": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r1148": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column C)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r1149": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1150": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1151": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1152": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1153": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1154": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1155": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1156": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1157": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1158": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1159": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1160": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1161": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1162": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1163": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1164": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1165": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1166": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1167": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1168": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1169": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1170": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1171": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1172": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1173": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SX 210.12-13(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5"
  },
  "r1174": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SX 210.12-13(Column G)(Footnote 8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5"
  },
  "r1175": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SX 210.12-13(Column G))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5"
  },
  "r1176": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5A",
   "Subparagraph": "(SX 210.12-13A(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5A"
  },
  "r1177": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5B",
   "Subparagraph": "(SX 210.12-13B(Column E)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5B"
  },
  "r1178": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5B",
   "Subparagraph": "(SX 210.12-13B(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5B"
  },
  "r1179": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5C",
   "Subparagraph": "(SX 210.12-13C(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5C"
  },
  "r1180": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5C",
   "Subparagraph": "(SX 210.12-13C(Column H)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5C"
  },
  "r1181": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5C",
   "Subparagraph": "(SX 210.12-13C(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5C"
  },
  "r1182": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5D",
   "Subparagraph": "(SX 210.12-13D(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5D"
  },
  "r1183": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1184": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1185": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1186": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1187": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1188": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1189": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1190": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1191": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1192": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1193": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1194": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1195": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1196": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1197": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 5)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1198": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1199": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1201": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1202": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1203": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1204": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1205": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1206": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-1"
  },
  "r1207": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r1208": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r1209": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r1210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r1211": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-6"
  },
  "r1212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477011/948-310-45-1"
  },
  "r1213": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478322/948-310-S50-2"
  },
  "r1214": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1215": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1216": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1217": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1218": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477220/954-210-45-4"
  },
  "r1219": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478600/954-210-50-2"
  },
  "r1220": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "440",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478522/954-440-50-1"
  },
  "r1221": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1222": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1223": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1224": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1225": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1226": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1227": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1228": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1229": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1230": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "976",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477332/976-310-50-1"
  },
  "r1231": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "978",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479230/978-310-50-1"
  },
  "r1232": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "985",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481283/985-20-50-2"
  },
  "r1233": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "SubTopic": "10",
   "Topic": "825",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482881/825-10-55-10"
  },
  "r1234": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(a)",
   "SubTopic": "40",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-13H"
  },
  "r1235": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "40",
   "SubTopic": "30",
   "Topic": "350",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482640/350-30-55-40"
  },
  "r1236": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-1"
  },
  "r1237": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483467/210-10-45-1"
  },
  "r1238": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-15"
  },
  "r1239": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-16"
  },
  "r1240": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-20"
  },
  "r1241": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-21"
  },
  "r1242": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-22"
  },
  "r1243": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482739/220-10-55-15"
  },
  "r1244": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-12"
  },
  "r1245": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-11"
  },
  "r1246": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-14"
  },
  "r1247": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-18"
  },
  "r1248": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-21"
  },
  "r1249": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-24"
  },
  "r1250": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-4"
  },
  "r1251": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-1"
  },
  "r1252": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1253": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "52",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482635/260-10-55-52"
  },
  "r1254": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r1255": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-31"
  },
  "r1256": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r1257": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r1258": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r1259": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r1260": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r1261": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "48",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-48"
  },
  "r1262": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "49",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-49"
  },
  "r1263": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r1264": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r1265": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r1266": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r1267": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r1268": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481933/310-10-55-12A"
  },
  "r1269": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "4",
   "Subparagraph": "(SAB Topic 6.L.5.a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480418/310-10-S99-4"
  },
  "r1270": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-10"
  },
  "r1271": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1272": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1273": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1274": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1275": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1276": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1277": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1278": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1279": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1280": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1281": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1282": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(d)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1283": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(d)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1284": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1285": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1286": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-15"
  },
  "r1287": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-15"
  },
  "r1288": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-15"
  },
  "r1289": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-15"
  },
  "r1290": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "79",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-79"
  },
  "r1291": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "80",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-80"
  },
  "r1292": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479081/326-30-55-8"
  },
  "r1293": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482548/350-20-55-24"
  },
  "r1294": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481639/420-10-35-4"
  },
  "r1295": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r1296": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69B"
  },
  "r1297": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69C"
  },
  "r1298": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69E"
  },
  "r1299": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69F"
  },
  "r1300": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "64",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481620/480-10-55-64"
  },
  "r1301": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r1302": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-5"
  },
  "r1303": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r1304": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r1305": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r1306": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r1307": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r1308": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480482/715-20-55-17"
  },
  "r1309": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480576/715-80-50-11"
  },
  "r1310": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480576/715-80-50-6"
  },
  "r1311": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480547/715-80-55-8"
  },
  "r1312": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1313": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1314": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "231",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482663/740-10-55-231"
  },
  "r1315": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-8"
  },
  "r1316": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-29"
  },
  "r1317": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-29"
  },
  "r1318": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "38",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-38"
  },
  "r1319": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "39",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-39"
  },
  "r1320": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "41",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-41"
  },
  "r1321": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "42",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-42"
  },
  "r1322": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "43",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-43"
  },
  "r1323": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "45",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-45"
  },
  "r1324": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "46",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-46"
  },
  "r1325": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-47"
  },
  "r1326": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "49",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-49"
  },
  "r1327": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-50"
  },
  "r1328": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-14"
  },
  "r1329": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-14"
  },
  "r1330": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-14"
  },
  "r1331": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-14"
  },
  "r1332": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-14"
  },
  "r1333": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-20"
  },
  "r1334": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-20"
  },
  "r1335": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-20"
  },
  "r1336": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "20",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-20"
  },
  "r1337": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-29"
  },
  "r1338": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-29"
  },
  "r1339": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-31"
  },
  "r1340": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "31",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-31"
  },
  "r1341": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "31",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-31"
  },
  "r1342": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "31",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-31"
  },
  "r1343": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "31",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-31"
  },
  "r1344": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "31",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-31"
  },
  "r1345": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "31",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-31"
  },
  "r1346": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "31",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-31"
  },
  "r1347": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "31",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-31"
  },
  "r1348": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "31",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-31"
  },
  "r1349": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "38",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-38"
  },
  "r1350": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "38",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-38"
  },
  "r1351": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "38",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-38"
  },
  "r1352": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "38",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-38"
  },
  "r1353": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "38",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-38"
  },
  "r1354": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "38",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479876/805-20-55-38"
  },
  "r1355": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r1356": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-2"
  },
  "r1357": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479299/805-40-55-10"
  },
  "r1358": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "740",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478064/805-740-55-13"
  },
  "r1359": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4L",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4L"
  },
  "r1360": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "181",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480401/815-10-55-181"
  },
  "r1361": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "181",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480401/815-10-55-181"
  },
  "r1362": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "182",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480401/815-10-55-182"
  },
  "r1363": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "183",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480401/815-10-55-183"
  },
  "r1364": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "184",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480401/815-10-55-184"
  },
  "r1365": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "185",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480401/815-10-55-185"
  },
  "r1366": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480682/815-20-25-6A"
  },
  "r1367": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "100",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-100"
  },
  "r1368": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "100",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-100"
  },
  "r1369": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "100",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-100"
  },
  "r1370": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "101",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-101"
  },
  "r1371": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "102",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-102"
  },
  "r1372": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "103",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-103"
  },
  "r1373": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1374": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1375": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1376": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1377": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1378": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1379": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482881/825-10-55-12"
  },
  "r1380": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482949/835-30-55-8"
  },
  "r1381": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "53",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479589/842-20-55-53"
  },
  "r1382": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481372/852-10-55-10"
  },
  "r1383": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481395/860-30-55-4"
  },
  "r1384": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "942",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480095/942-10-S50-1"
  },
  "r1385": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "942",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480035/942-10-S99-6"
  },
  "r1386": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "942",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479255/942-310-S50-4"
  },
  "r1387": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "942",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 11.H.2.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478116/942-310-S99-2"
  },
  "r1388": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479401/944-30-55-2"
  },
  "r1389": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-29F"
  },
  "r1390": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9C",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9C"
  },
  "r1391": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9E"
  },
  "r1392": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "605",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477548/944-605-55-11"
  },
  "r1393": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "605",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477548/944-605-55-14"
  },
  "r1394": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480078/944-80-55-17"
  },
  "r1395": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480078/944-80-55-18"
  },
  "r1396": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r1397": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1398": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477439/946-210-55-1"
  },
  "r1399": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r1400": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1401": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r1402": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1403": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5C",
   "Subparagraph": "(SX 210.12-13C(Column A)(Footnote 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5C"
  },
  "r1404": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5C",
   "Subparagraph": "(SX 210.12-13C(Column B)(Footnote 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5C"
  },
  "r1405": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1406": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1407": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1408": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1409": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "405",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478790/946-405-45-2"
  },
  "r1410": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-10"
  },
  "r1411": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-11"
  },
  "r1412": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-12"
  },
  "r1413": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b"
  },
  "r1414": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r1415": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r1416": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-Q",
   "Number": "240",
   "Section": "308",
   "Subsection": "a"
  },
  "r1417": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16",
   "Subsection": "J",
   "Paragraph": "a"
  },
  "r1418": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1"
  },
  "r1419": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r1420": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "A"
  },
  "r1421": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "B"
  },
  "r1422": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "C"
  },
  "r1423": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "D"
  },
  "r1424": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "E"
  },
  "r1425": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r1426": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r1427": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "2"
  },
  "r1428": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a"
  },
  "r1429": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r1430": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r1431": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r1432": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r1433": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r1434": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r1435": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r1436": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r1437": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "b"
  },
  "r1438": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a"
  },
  "r1439": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r1440": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r1441": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r1442": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r1443": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r1444": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r1445": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r1446": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r1447": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "b"
  },
  "r1448": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r1449": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v"
  },
  "r1450": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "1"
  },
  "r1451": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r1452": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r1453": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Subclause": "ii"
  },
  "r1454": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "i"
  },
  "r1455": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "ii"
  },
  "r1456": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "iii"
  },
  "r1457": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "iv"
  },
  "r1458": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "v"
  },
  "r1459": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "vi"
  },
  "r1460": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iv"
  },
  "r1461": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "vi"
  },
  "r1462": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "3"
  },
  "r1463": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "4"
  },
  "r1464": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "i"
  },
  "r1465": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "ii"
  },
  "r1466": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iii"
  },
  "r1467": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iv"
  },
  "r1468": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6"
  },
  "r1469": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6",
   "Subparagraph": "i"
  },
  "r1470": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1"
  },
  "r1471": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r1472": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "A"
  },
  "r1473": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "B"
  },
  "r1474": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "C"
  },
  "r1475": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "D"
  },
  "r1476": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "E"
  },
  "r1477": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r1478": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r1479": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "2"
  },
  "r1480": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "1"
  },
  "r1481": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2"
  },
  "r1482": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "A"
  },
  "r1483": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "C"
  },
  "r1484": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "D"
  },
  "r1485": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "E"
  },
  "r1486": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "F"
  },
  "r1487": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a"
  },
  "r1488": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r1489": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "A"
  },
  "r1490": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "B"
  },
  "r1491": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "C"
  },
  "r1492": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "D"
  },
  "r1493": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r1494": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Number": "229",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1"
  },
  "r1495": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "A",
   "Number": "229"
  },
  "r1496": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Number": "229"
  },
  "r1497": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Subclause": "i",
   "Number": "229"
  },
  "r1498": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r1499": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "7A",
   "Section": "B",
   "Subsection": "2"
  },
  "r1500": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "SubTopic": "20",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481569/310-20-50-3"
  },
  "r1501": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483014/272-10-45-3"
  },
  "r1502": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-10"
  },
  "r1503": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-3"
  },
  "r1504": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "SubTopic": "10",
   "Topic": "805",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r1505": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(3)",
   "SubTopic": "10",
   "Topic": "805",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r1506": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(a)",
   "SubTopic": "40",
   "Topic": "220",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1507": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "SubTopic": "310",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477363/944-310-50-3"
  },
  "r1508": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r1509": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r1510": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r1511": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r1512": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(i)",
   "Publisher": "SEC"
  },
  "r1513": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(ii)",
   "Publisher": "SEC"
  },
  "r1514": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(iii)",
   "Publisher": "SEC"
  },
  "r1515": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1404",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r1516": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "a",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r1517": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "a",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r1518": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "a",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r1519": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "11",
   "Subsection": "03",
   "Publisher": "SEC"
  },
  "r1520": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(ii)",
   "Publisher": "SEC"
  },
  "r1521": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)",
   "Publisher": "SEC"
  },
  "r1522": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 5",
   "Section": "Y",
   "Paragraph": "Question 2",
   "Publisher": "SEC"
  },
  "r1523": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "205",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/205/tableOfContent"
  },
  "r1524": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1525": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1526": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1527": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX210.5-02(22)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1528": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1529": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1530": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1531": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1532": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1533": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1534": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1535": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-10"
  },
  "r1536": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-12"
  },
  "r1537": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-4"
  },
  "r1538": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-5"
  },
  "r1539": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-6"
  },
  "r1540": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r1541": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r1542": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1543": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1544": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1545": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1546": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1547": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1548": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1549": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1550": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1551": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1552": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1553": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(l)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1554": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(m)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1555": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1556": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1557": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1558": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1559": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1560": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1561": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1562": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1563": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1564": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1565": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(l)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1566": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(m)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1567": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(n)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1568": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(o)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1569": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(p)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1570": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(q)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1571": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(r)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1572": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(s)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1573": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(t)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1574": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(u)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1575": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-30"
  },
  "r1576": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-31"
  },
  "r1577": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-32"
  },
  "r1578": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "33",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-33"
  },
  "r1579": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-6"
  },
  "r1580": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-6"
  },
  "r1581": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-6"
  },
  "r1582": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-6"
  },
  "r1583": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r1584": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483426/235-10-50-4"
  },
  "r1585": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-1"
  },
  "r1586": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-4"
  },
  "r1587": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1588": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(f))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1589": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1590": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1591": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1592": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-3"
  },
  "r1593": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-23"
  },
  "r1594": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-24"
  },
  "r1595": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-5"
  },
  "r1596": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-6"
  },
  "r1597": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "55",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-55"
  },
  "r1598": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r1599": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r1600": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1"
  },
  "r1601": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-18"
  },
  "r1602": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r1603": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r1604": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(ee)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r1605": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r1606": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/310-10/tableOfContent"
  },
  "r1607": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-2"
  },
  "r1608": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-3"
  },
  "r1609": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-42"
  },
  "r1610": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-42"
  },
  "r1611": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "40",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481628/310-20-40-7"
  },
  "r1612": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481598/310-20-45-1"
  },
  "r1613": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481830/320-10-45-1"
  },
  "r1614": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481830/320-10-45-11"
  },
  "r1615": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r1616": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r1617": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r1618": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r1619": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r1620": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r1621": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r1622": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r1623": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r1624": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r1625": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-9"
  },
  "r1626": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-3"
  },
  "r1627": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-3"
  },
  "r1628": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-3"
  },
  "r1629": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-4"
  },
  "r1630": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r1631": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "325",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481551/325-30-35-2"
  },
  "r1632": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479344/326-20-45-1"
  },
  "r1633": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-11"
  },
  "r1634": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r1635": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r1636": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r1637": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r1638": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r1639": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r1640": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r1641": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-14"
  },
  "r1642": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-16"
  },
  "r1643": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-5"
  },
  "r1644": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-5"
  },
  "r1645": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-5"
  },
  "r1646": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-15"
  },
  "r1647": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-15"
  },
  "r1648": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480265/350-10-S45-1"
  },
  "r1649": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/350-20/tableOfContent"
  },
  "r1650": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r1651": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r1652": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/350-30/tableOfContent"
  },
  "r1653": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482686/350-30-45-1"
  },
  "r1654": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r1655": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r1656": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r1657": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r1658": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-2"
  },
  "r1659": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-2"
  },
  "r1660": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-2"
  },
  "r1661": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-2"
  },
  "r1662": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-2"
  },
  "r1663": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/405/tableOfContent"
  },
  "r1664": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/405-30/tableOfContent"
  },
  "r1665": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r1666": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r1667": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r1668": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "410",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481931/410-30-50-10"
  },
  "r1669": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482017/420-10-50-1"
  },
  "r1670": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/450/tableOfContent"
  },
  "r1671": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-9"
  },
  "r1672": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r1673": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-6"
  },
  "r1674": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-6"
  },
  "r1675": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480190/470-10-S50-1"
  },
  "r1676": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r1677": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r1678": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r1679": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r1680": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481648/480-10-50-1"
  },
  "r1681": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479857/480-10-S50-1"
  },
  "r1682": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r1683": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-15"
  },
  "r1684": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r1685": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r1686": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481520/505-30-50-4"
  },
  "r1687": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-5"
  },
  "r1688": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r1689": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r1690": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r1691": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1692": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1693": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1694": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1695": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1696": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1697": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1698": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1699": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1700": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1701": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1702": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1703": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1704": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1705": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1706": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1707": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1708": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1709": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1710": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1711": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1712": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1713": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1714": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1715": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1716": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(v)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1717": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1718": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-4"
  },
  "r1719": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-3"
  },
  "r1720": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479405/805-10-25-23"
  },
  "r1721": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479405/805-10-25-7"
  },
  "r1722": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r1723": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r1724": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r1725": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-3"
  },
  "r1726": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-7"
  },
  "r1727": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-8"
  },
  "r1728": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "42",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-42"
  },
  "r1729": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r1730": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r1731": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r1732": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-1"
  },
  "r1733": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479907/805-20-50-2"
  },
  "r1734": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r1735": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r1736": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-2"
  },
  "r1737": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-4"
  },
  "r1738": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r1739": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1B"
  },
  "r1740": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r1741": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r1742": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r1743": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r1744": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4CC",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4CC"
  },
  "r1745": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r1746": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4E"
  },
  "r1747": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r1748": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r1749": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-7A"
  },
  "r1750": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8"
  },
  "r1751": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8"
  },
  "r1752": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8"
  },
  "r1753": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480682/815-20-25-6A"
  },
  "r1754": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-1"
  },
  "r1755": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r1756": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r1757": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482134/820-10-35-54B"
  },
  "r1758": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1759": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1760": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1761": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1762": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1763": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1764": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1765": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1766": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1767": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1768": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1769": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2E"
  },
  "r1770": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r1771": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r1772": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r1773": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-10"
  },
  "r1774": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r1775": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-13"
  },
  "r1776": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r1777": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r1778": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481674/830-30-50-1"
  },
  "r1779": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-1A"
  },
  "r1780": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-2"
  },
  "r1781": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-3"
  },
  "r1782": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482900/835-30-50-1"
  },
  "r1783": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r1784": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-6"
  },
  "r1785": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481404/852-10-50-7"
  },
  "r1786": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481404/852-10-50-7"
  },
  "r1787": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r1788": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r1789": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r1790": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r1791": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r1792": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r1793": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481444/860-30-45-1"
  },
  "r1794": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-2"
  },
  "r1795": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r1796": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(4)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r1797": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "940",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/940-320/tableOfContent"
  },
  "r1798": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r1799": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r1800": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-2"
  },
  "r1801": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477268/942-320-50-2"
  },
  "r1802": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(15)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1803": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1804": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1805": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1806": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1807": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479432/944-30-50-2B"
  },
  "r1808": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477363/944-310-50-3"
  },
  "r1809": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477363/944-310-50-3"
  },
  "r1810": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4B"
  },
  "r1811": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4B"
  },
  "r1812": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4C"
  },
  "r1813": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4D"
  },
  "r1814": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4G",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4G"
  },
  "r1815": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1816": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1817": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1818": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1819": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1820": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1821": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1822": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1823": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1824": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1825": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1826": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1827": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1828": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1829": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1830": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1831": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1832": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1833": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r1834": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r1835": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r1836": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-1"
  },
  "r1837": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-2"
  },
  "r1838": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-2"
  },
  "r1839": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-4"
  },
  "r1840": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1841": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1842": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r1843": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r1844": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r1845": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r1846": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r1847": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1848": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "39",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477346/946-830-45-39"
  },
  "r1849": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "985",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481283/985-20-50-2"
  }
 }
}
